AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
ConnectionFunctionSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/FunctionConfig.h>
9#include <aws/cloudfront/model/FunctionStage.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront {
22namespace Model {
23
30 public:
31 AWS_CLOUDFRONT_API ConnectionFunctionSummary() = default;
32 AWS_CLOUDFRONT_API ConnectionFunctionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
75 inline const FunctionConfig& GetConnectionFunctionConfig() const { return m_connectionFunctionConfig; }
76 inline bool ConnectionFunctionConfigHasBeenSet() const { return m_connectionFunctionConfigHasBeenSet; }
77 template <typename ConnectionFunctionConfigT = FunctionConfig>
78 void SetConnectionFunctionConfig(ConnectionFunctionConfigT&& value) {
79 m_connectionFunctionConfigHasBeenSet = true;
80 m_connectionFunctionConfig = std::forward<ConnectionFunctionConfigT>(value);
81 }
82 template <typename ConnectionFunctionConfigT = FunctionConfig>
83 ConnectionFunctionSummary& WithConnectionFunctionConfig(ConnectionFunctionConfigT&& value) {
84 SetConnectionFunctionConfig(std::forward<ConnectionFunctionConfigT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetConnectionFunctionArn() const { return m_connectionFunctionArn; }
94 inline bool ConnectionFunctionArnHasBeenSet() const { return m_connectionFunctionArnHasBeenSet; }
95 template <typename ConnectionFunctionArnT = Aws::String>
96 void SetConnectionFunctionArn(ConnectionFunctionArnT&& value) {
97 m_connectionFunctionArnHasBeenSet = true;
98 m_connectionFunctionArn = std::forward<ConnectionFunctionArnT>(value);
99 }
100 template <typename ConnectionFunctionArnT = Aws::String>
101 ConnectionFunctionSummary& WithConnectionFunctionArn(ConnectionFunctionArnT&& value) {
102 SetConnectionFunctionArn(std::forward<ConnectionFunctionArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetStatus() const { return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 template <typename StatusT = Aws::String>
114 void SetStatus(StatusT&& value) {
115 m_statusHasBeenSet = true;
116 m_status = std::forward<StatusT>(value);
117 }
118 template <typename StatusT = Aws::String>
120 SetStatus(std::forward<StatusT>(value));
121 return *this;
122 }
124
126
129 inline FunctionStage GetStage() const { return m_stage; }
130 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
131 inline void SetStage(FunctionStage value) {
132 m_stageHasBeenSet = true;
133 m_stage = value;
134 }
136 SetStage(value);
137 return *this;
138 }
140
142
145 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
146 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
147 template <typename CreatedTimeT = Aws::Utils::DateTime>
148 void SetCreatedTime(CreatedTimeT&& value) {
149 m_createdTimeHasBeenSet = true;
150 m_createdTime = std::forward<CreatedTimeT>(value);
151 }
152 template <typename CreatedTimeT = Aws::Utils::DateTime>
154 SetCreatedTime(std::forward<CreatedTimeT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
164 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
165 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
166 void SetLastModifiedTime(LastModifiedTimeT&& value) {
167 m_lastModifiedTimeHasBeenSet = true;
168 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
169 }
170 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
172 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_name;
178
179 Aws::String m_id;
180
181 FunctionConfig m_connectionFunctionConfig;
182
183 Aws::String m_connectionFunctionArn;
184
185 Aws::String m_status;
186
188
189 Aws::Utils::DateTime m_createdTime{};
190
191 Aws::Utils::DateTime m_lastModifiedTime{};
192 bool m_nameHasBeenSet = false;
193 bool m_idHasBeenSet = false;
194 bool m_connectionFunctionConfigHasBeenSet = false;
195 bool m_connectionFunctionArnHasBeenSet = false;
196 bool m_statusHasBeenSet = false;
197 bool m_stageHasBeenSet = false;
198 bool m_createdTimeHasBeenSet = false;
199 bool m_lastModifiedTimeHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace CloudFront
204} // namespace Aws
ConnectionFunctionSummary & WithCreatedTime(CreatedTimeT &&value)
ConnectionFunctionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ConnectionFunctionSummary & WithConnectionFunctionArn(ConnectionFunctionArnT &&value)
ConnectionFunctionSummary & WithConnectionFunctionConfig(ConnectionFunctionConfigT &&value)
ConnectionFunctionSummary & WithStatus(StatusT &&value)
void SetConnectionFunctionConfig(ConnectionFunctionConfigT &&value)
AWS_CLOUDFRONT_API ConnectionFunctionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionFunctionSummary & WithName(NameT &&value)
ConnectionFunctionSummary & WithStage(FunctionStage value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ConnectionFunctionSummary & WithId(IdT &&value)
AWS_CLOUDFRONT_API ConnectionFunctionSummary()=default
void SetConnectionFunctionArn(ConnectionFunctionArnT &&value)
AWS_CLOUDFRONT_API ConnectionFunctionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String