/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
#include <aws/route53profiles/model/ProfileAssociation.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Json {
class JsonValue;
}  // namespace Json
}  // namespace Utils
namespace Route53Profiles {
namespace Model {
class DisassociateProfileResult {
 public:
  AWS_ROUTE53PROFILES_API DisassociateProfileResult() = default;
  AWS_ROUTE53PROFILES_API DisassociateProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  AWS_ROUTE53PROFILES_API DisassociateProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);

  ///@{
  /**
   * <p> Information about the <code>DisassociateProfile</code> request. </p>
   */
  inline const ProfileAssociation& GetProfileAssociation() const { return m_profileAssociation; }
  template <typename ProfileAssociationT = ProfileAssociation>
  void SetProfileAssociation(ProfileAssociationT&& value) {
    m_profileAssociationHasBeenSet = true;
    m_profileAssociation = std::forward<ProfileAssociationT>(value);
  }
  template <typename ProfileAssociationT = ProfileAssociation>
  DisassociateProfileResult& WithProfileAssociation(ProfileAssociationT&& value) {
    SetProfileAssociation(std::forward<ProfileAssociationT>(value));
    return *this;
  }
  ///@}

  ///@{

  inline const Aws::String& GetRequestId() const { return m_requestId; }
  template <typename RequestIdT = Aws::String>
  void SetRequestId(RequestIdT&& value) {
    m_requestIdHasBeenSet = true;
    m_requestId = std::forward<RequestIdT>(value);
  }
  template <typename RequestIdT = Aws::String>
  DisassociateProfileResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  ProfileAssociation m_profileAssociation;

  Aws::String m_requestId;
  bool m_profileAssociationHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace Route53Profiles
}  // namespace Aws
