/**
 * 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/DelegationSet.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Xml {
class XmlDocument;
}  // namespace Xml
}  // namespace Utils
namespace Route53 {
namespace Model {
class CreateReusableDelegationSetResult {
 public:
  AWS_ROUTE53_API CreateReusableDelegationSetResult() = default;
  AWS_ROUTE53_API CreateReusableDelegationSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
  AWS_ROUTE53_API CreateReusableDelegationSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);

  ///@{
  /**
   * <p>A complex type that contains name server information.</p>
   */
  inline const DelegationSet& GetDelegationSet() const { return m_delegationSet; }
  template <typename DelegationSetT = DelegationSet>
  void SetDelegationSet(DelegationSetT&& value) {
    m_delegationSetHasBeenSet = true;
    m_delegationSet = std::forward<DelegationSetT>(value);
  }
  template <typename DelegationSetT = DelegationSet>
  CreateReusableDelegationSetResult& WithDelegationSet(DelegationSetT&& value) {
    SetDelegationSet(std::forward<DelegationSetT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The unique URL representing the new reusable delegation set.</p>
   */
  inline const Aws::String& GetLocation() const { return m_location; }
  template <typename LocationT = Aws::String>
  void SetLocation(LocationT&& value) {
    m_locationHasBeenSet = true;
    m_location = std::forward<LocationT>(value);
  }
  template <typename LocationT = Aws::String>
  CreateReusableDelegationSetResult& WithLocation(LocationT&& value) {
    SetLocation(std::forward<LocationT>(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>
  CreateReusableDelegationSetResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  DelegationSet m_delegationSet;

  Aws::String m_location;

  Aws::String m_requestId;
  bool m_delegationSetHasBeenSet = false;
  bool m_locationHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace Route53
}  // namespace Aws
