266 lines
10 KiB
C
266 lines
10 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/route53/Route53_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/route53/model/ChangeStatus.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Xml
|
|||
|
|
{
|
|||
|
|
class XmlNode;
|
|||
|
|
} // namespace Xml
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Route53
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeInfo">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_ROUTE53_API ChangeInfo
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
ChangeInfo();
|
|||
|
|
ChangeInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|||
|
|
ChangeInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|||
|
|
|
|||
|
|
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetId() const{ return m_id; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithId(const Aws::String& value) { SetId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithId(const char* value) { SetId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current state of the request. <code>PENDING</code> indicates that this
|
|||
|
|
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
|
|||
|
|
*/
|
|||
|
|
inline const ChangeStatus& GetStatus() const{ return m_status; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current state of the request. <code>PENDING</code> indicates that this
|
|||
|
|
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current state of the request. <code>PENDING</code> indicates that this
|
|||
|
|
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetStatus(const ChangeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current state of the request. <code>PENDING</code> indicates that this
|
|||
|
|
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetStatus(ChangeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current state of the request. <code>PENDING</code> indicates that this
|
|||
|
|
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithStatus(const ChangeStatus& value) { SetStatus(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current state of the request. <code>PENDING</code> indicates that this
|
|||
|
|
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithStatus(ChangeStatus&& value) { SetStatus(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that the change request was submitted in <a
|
|||
|
|
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
|
|||
|
|
* Coordinated Universal Time (UTC). For example, the value
|
|||
|
|
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
|
|||
|
|
* UTC.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetSubmittedAt() const{ return m_submittedAt; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that the change request was submitted in <a
|
|||
|
|
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
|
|||
|
|
* Coordinated Universal Time (UTC). For example, the value
|
|||
|
|
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
|
|||
|
|
* UTC.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that the change request was submitted in <a
|
|||
|
|
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
|
|||
|
|
* Coordinated Universal Time (UTC). For example, the value
|
|||
|
|
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
|
|||
|
|
* UTC.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubmittedAt(const Aws::Utils::DateTime& value) { m_submittedAtHasBeenSet = true; m_submittedAt = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that the change request was submitted in <a
|
|||
|
|
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
|
|||
|
|
* Coordinated Universal Time (UTC). For example, the value
|
|||
|
|
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
|
|||
|
|
* UTC.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubmittedAt(Aws::Utils::DateTime&& value) { m_submittedAtHasBeenSet = true; m_submittedAt = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that the change request was submitted in <a
|
|||
|
|
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
|
|||
|
|
* Coordinated Universal Time (UTC). For example, the value
|
|||
|
|
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
|
|||
|
|
* UTC.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithSubmittedAt(const Aws::Utils::DateTime& value) { SetSubmittedAt(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that the change request was submitted in <a
|
|||
|
|
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
|
|||
|
|
* Coordinated Universal Time (UTC). For example, the value
|
|||
|
|
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
|
|||
|
|
* UTC.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithSubmittedAt(Aws::Utils::DateTime&& value) { SetSubmittedAt(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetComment() const{ return m_comment; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithComment(const Aws::String& value) { SetComment(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A complex type that describes change information about changes made to your
|
|||
|
|
* hosted zone.</p> <p>This element contains an ID that you use when performing a
|
|||
|
|
* <a
|
|||
|
|
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
|
|||
|
|
* action to get detailed information about the change.</p>
|
|||
|
|
*/
|
|||
|
|
inline ChangeInfo& WithComment(const char* value) { SetComment(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_id;
|
|||
|
|
bool m_idHasBeenSet;
|
|||
|
|
|
|||
|
|
ChangeStatus m_status;
|
|||
|
|
bool m_statusHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_submittedAt;
|
|||
|
|
bool m_submittedAtHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_comment;
|
|||
|
|
bool m_commentHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Route53
|
|||
|
|
} // namespace Aws
|