AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
ChangeBatchSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/ChangeHistoryOperation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53 {
21namespace Model {
22
30 public:
31 AWS_ROUTE53_API ChangeBatchSummary() = default;
32 AWS_ROUTE53_API ChangeBatchSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_ROUTE53_API ChangeBatchSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
43 inline const Aws::String& GetChangeId() const { return m_changeId; }
44 inline bool ChangeIdHasBeenSet() const { return m_changeIdHasBeenSet; }
45 template <typename ChangeIdT = Aws::String>
46 void SetChangeId(ChangeIdT&& value) {
47 m_changeIdHasBeenSet = true;
48 m_changeId = std::forward<ChangeIdT>(value);
49 }
50 template <typename ChangeIdT = Aws::String>
51 ChangeBatchSummary& WithChangeId(ChangeIdT&& value) {
52 SetChangeId(std::forward<ChangeIdT>(value));
53 return *this;
54 }
56
58
63 inline ChangeHistoryOperation GetOperation() const { return m_operation; }
64 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
66 m_operationHasBeenSet = true;
67 m_operation = value;
68 }
70 SetOperation(value);
71 return *this;
72 }
74
76
79 inline const Aws::Utils::DateTime& GetSubmittedAt() const { return m_submittedAt; }
80 inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; }
81 template <typename SubmittedAtT = Aws::Utils::DateTime>
82 void SetSubmittedAt(SubmittedAtT&& value) {
83 m_submittedAtHasBeenSet = true;
84 m_submittedAt = std::forward<SubmittedAtT>(value);
85 }
86 template <typename SubmittedAtT = Aws::Utils::DateTime>
87 ChangeBatchSummary& WithSubmittedAt(SubmittedAtT&& value) {
88 SetSubmittedAt(std::forward<SubmittedAtT>(value));
89 return *this;
90 }
92
94
100 inline const Aws::String& GetSubmittedBy() const { return m_submittedBy; }
101 inline bool SubmittedByHasBeenSet() const { return m_submittedByHasBeenSet; }
102 template <typename SubmittedByT = Aws::String>
103 void SetSubmittedBy(SubmittedByT&& value) {
104 m_submittedByHasBeenSet = true;
105 m_submittedBy = std::forward<SubmittedByT>(value);
106 }
107 template <typename SubmittedByT = Aws::String>
108 ChangeBatchSummary& WithSubmittedBy(SubmittedByT&& value) {
109 SetSubmittedBy(std::forward<SubmittedByT>(value));
110 return *this;
111 }
113
115
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
129 ChangeBatchSummary& WithRequestId(RequestIdT&& value) {
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetComment() const { return m_comment; }
140 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
141 template <typename CommentT = Aws::String>
142 void SetComment(CommentT&& value) {
143 m_commentHasBeenSet = true;
144 m_comment = std::forward<CommentT>(value);
145 }
146 template <typename CommentT = Aws::String>
147 ChangeBatchSummary& WithComment(CommentT&& value) {
148 SetComment(std::forward<CommentT>(value));
149 return *this;
150 }
152
154
158 inline long long GetChangeCount() const { return m_changeCount; }
159 inline bool ChangeCountHasBeenSet() const { return m_changeCountHasBeenSet; }
160 inline void SetChangeCount(long long value) {
161 m_changeCountHasBeenSet = true;
162 m_changeCount = value;
163 }
164 inline ChangeBatchSummary& WithChangeCount(long long value) {
165 SetChangeCount(value);
166 return *this;
167 }
169 private:
170 Aws::String m_changeId;
171
173
174 Aws::Utils::DateTime m_submittedAt{};
175
176 Aws::String m_submittedBy;
177
178 Aws::String m_requestId;
179
180 Aws::String m_comment;
181
182 long long m_changeCount{0};
183 bool m_changeIdHasBeenSet = false;
184 bool m_operationHasBeenSet = false;
185 bool m_submittedAtHasBeenSet = false;
186 bool m_submittedByHasBeenSet = false;
187 bool m_requestIdHasBeenSet = false;
188 bool m_commentHasBeenSet = false;
189 bool m_changeCountHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace Route53
194} // namespace Aws
AWS_ROUTE53_API ChangeBatchSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSubmittedBy() const
ChangeBatchSummary & WithSubmittedBy(SubmittedByT &&value)
ChangeBatchSummary & WithOperation(ChangeHistoryOperation value)
AWS_ROUTE53_API ChangeBatchSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOperation(ChangeHistoryOperation value)
ChangeBatchSummary & WithChangeId(ChangeIdT &&value)
void SetSubmittedAt(SubmittedAtT &&value)
ChangeBatchSummary & WithRequestId(RequestIdT &&value)
ChangeBatchSummary & WithChangeCount(long long value)
ChangeHistoryOperation GetOperation() const
const Aws::Utils::DateTime & GetSubmittedAt() const
ChangeBatchSummary & WithSubmittedAt(SubmittedAtT &&value)
ChangeBatchSummary & WithComment(CommentT &&value)
const Aws::String & GetChangeId() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API ChangeBatchSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String