AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ChangeInfo.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/ChangeStatus.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 ChangeInfo() = default;
32 AWS_ROUTE53_API ChangeInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_ROUTE53_API ChangeInfo& 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& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
51 ChangeInfo& WithId(IdT&& value) {
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
62 inline ChangeStatus GetStatus() const { return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(ChangeStatus value) {
65 m_statusHasBeenSet = true;
66 m_status = value;
67 }
69 SetStatus(value);
70 return *this;
71 }
73
75
82 inline const Aws::Utils::DateTime& GetSubmittedAt() const { return m_submittedAt; }
83 inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; }
84 template <typename SubmittedAtT = Aws::Utils::DateTime>
85 void SetSubmittedAt(SubmittedAtT&& value) {
86 m_submittedAtHasBeenSet = true;
87 m_submittedAt = std::forward<SubmittedAtT>(value);
88 }
89 template <typename SubmittedAtT = Aws::Utils::DateTime>
90 ChangeInfo& WithSubmittedAt(SubmittedAtT&& value) {
91 SetSubmittedAt(std::forward<SubmittedAtT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetComment() const { return m_comment; }
101 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
102 template <typename CommentT = Aws::String>
103 void SetComment(CommentT&& value) {
104 m_commentHasBeenSet = true;
105 m_comment = std::forward<CommentT>(value);
106 }
107 template <typename CommentT = Aws::String>
108 ChangeInfo& WithComment(CommentT&& value) {
109 SetComment(std::forward<CommentT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_id;
115
117
118 Aws::Utils::DateTime m_submittedAt{};
119
120 Aws::String m_comment;
121 bool m_idHasBeenSet = false;
122 bool m_statusHasBeenSet = false;
123 bool m_submittedAtHasBeenSet = false;
124 bool m_commentHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Route53
129} // namespace Aws
ChangeStatus GetStatus() const
Definition ChangeInfo.h:62
const Aws::String & GetId() const
Definition ChangeInfo.h:43
const Aws::Utils::DateTime & GetSubmittedAt() const
Definition ChangeInfo.h:82
const Aws::String & GetComment() const
Definition ChangeInfo.h:100
ChangeInfo & WithId(IdT &&value)
Definition ChangeInfo.h:51
AWS_ROUTE53_API ChangeInfo()=default
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ChangeInfo & WithStatus(ChangeStatus value)
Definition ChangeInfo.h:68
AWS_ROUTE53_API ChangeInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(ChangeStatus value)
Definition ChangeInfo.h:64
AWS_ROUTE53_API ChangeInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
ChangeInfo & WithComment(CommentT &&value)
Definition ChangeInfo.h:108
void SetSubmittedAt(SubmittedAtT &&value)
Definition ChangeInfo.h:85
ChangeInfo & WithSubmittedAt(SubmittedAtT &&value)
Definition ChangeInfo.h:90
void SetComment(CommentT &&value)
Definition ChangeInfo.h:103
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String