/**
 * 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/HostedZoneLimit.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 {
/**
 * <p>A complex type that contains the requested limit. </p><p><h3>See Also:</h3>
 * <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitResponse">AWS
 * API Reference</a></p>
 */
class GetHostedZoneLimitResult {
 public:
  AWS_ROUTE53_API GetHostedZoneLimitResult() = default;
  AWS_ROUTE53_API GetHostedZoneLimitResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
  AWS_ROUTE53_API GetHostedZoneLimitResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);

  ///@{
  /**
   * <p>The current setting for the specified limit. For example, if you specified
   * <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the
   * request, the value of <code>Limit</code> is the maximum number of records that
   * you can create in the specified hosted zone.</p>
   */
  inline const HostedZoneLimit& GetLimit() const { return m_limit; }
  template <typename LimitT = HostedZoneLimit>
  void SetLimit(LimitT&& value) {
    m_limitHasBeenSet = true;
    m_limit = std::forward<LimitT>(value);
  }
  template <typename LimitT = HostedZoneLimit>
  GetHostedZoneLimitResult& WithLimit(LimitT&& value) {
    SetLimit(std::forward<LimitT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The current number of entities that you have created of the specified type.
   * For example, if you specified <code>MAX_RRSETS_BY_ZONE</code> for the value of
   * <code>Type</code> in the request, the value of <code>Count</code> is the current
   * number of records that you have created in the specified hosted zone.</p>
   */
  inline long long GetCount() const { return m_count; }
  inline void SetCount(long long value) {
    m_countHasBeenSet = true;
    m_count = value;
  }
  inline GetHostedZoneLimitResult& WithCount(long long value) {
    SetCount(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>
  GetHostedZoneLimitResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  HostedZoneLimit m_limit;

  long long m_count{0};

  Aws::String m_requestId;
  bool m_limitHasBeenSet = false;
  bool m_countHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

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