AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
KeyValueStore.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudFront {
20namespace Model {
21
31 public:
32 AWS_CLOUDFRONT_API KeyValueStore() = default;
33 AWS_CLOUDFRONT_API KeyValueStore(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_CLOUDFRONT_API KeyValueStore& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 KeyValueStore& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template <typename IdT = Aws::String>
63 void SetId(IdT&& value) {
64 m_idHasBeenSet = true;
65 m_id = std::forward<IdT>(value);
66 }
67 template <typename IdT = Aws::String>
68 KeyValueStore& WithId(IdT&& value) {
69 SetId(std::forward<IdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetComment() const { return m_comment; }
79 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
80 template <typename CommentT = Aws::String>
81 void SetComment(CommentT&& value) {
82 m_commentHasBeenSet = true;
83 m_comment = std::forward<CommentT>(value);
84 }
85 template <typename CommentT = Aws::String>
86 KeyValueStore& WithComment(CommentT&& value) {
87 SetComment(std::forward<CommentT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetARN() const { return m_aRN; }
97 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
98 template <typename ARNT = Aws::String>
99 void SetARN(ARNT&& value) {
100 m_aRNHasBeenSet = true;
101 m_aRN = std::forward<ARNT>(value);
102 }
103 template <typename ARNT = Aws::String>
104 KeyValueStore& WithARN(ARNT&& value) {
105 SetARN(std::forward<ARNT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetStatus() const { return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 template <typename StatusT = Aws::String>
117 void SetStatus(StatusT&& value) {
118 m_statusHasBeenSet = true;
119 m_status = std::forward<StatusT>(value);
120 }
121 template <typename StatusT = Aws::String>
122 KeyValueStore& WithStatus(StatusT&& value) {
123 SetStatus(std::forward<StatusT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
133 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
134 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
135 void SetLastModifiedTime(LastModifiedTimeT&& value) {
136 m_lastModifiedTimeHasBeenSet = true;
137 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
138 }
139 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
140 KeyValueStore& WithLastModifiedTime(LastModifiedTimeT&& value) {
141 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_name;
147
148 Aws::String m_id;
149
150 Aws::String m_comment;
151
152 Aws::String m_aRN;
153
154 Aws::String m_status;
155
156 Aws::Utils::DateTime m_lastModifiedTime{};
157 bool m_nameHasBeenSet = false;
158 bool m_idHasBeenSet = false;
159 bool m_commentHasBeenSet = false;
160 bool m_aRNHasBeenSet = false;
161 bool m_statusHasBeenSet = false;
162 bool m_lastModifiedTimeHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace CloudFront
167} // namespace Aws
AWS_CLOUDFRONT_API KeyValueStore(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
KeyValueStore & WithId(IdT &&value)
const Aws::String & GetName() const
KeyValueStore & WithARN(ARNT &&value)
const Aws::String & GetComment() const
KeyValueStore & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetStatus() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Utils::DateTime & GetLastModifiedTime() const
KeyValueStore & WithComment(CommentT &&value)
const Aws::String & GetARN() const
AWS_CLOUDFRONT_API KeyValueStore & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API KeyValueStore()=default
KeyValueStore & WithStatus(StatusT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
KeyValueStore & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String