AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mq/MQ_EXPORTS.h>
11#include <aws/mq/model/ConfigurationRevision.h>
12#include <aws/mq/model/SanitizationWarning.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MQ {
26namespace Model {
28 public:
29 AWS_MQ_API UpdateConfigurationResult() = default;
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
55 template <typename CreatedT = Aws::Utils::DateTime>
56 void SetCreated(CreatedT&& value) {
57 m_createdHasBeenSet = true;
58 m_created = std::forward<CreatedT>(value);
59 }
60 template <typename CreatedT = Aws::Utils::DateTime>
62 SetCreated(std::forward<CreatedT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetId() const { return m_id; }
72 template <typename IdT = Aws::String>
73 void SetId(IdT&& value) {
74 m_idHasBeenSet = true;
75 m_id = std::forward<IdT>(value);
76 }
77 template <typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
80 return *this;
81 }
83
85
88 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
89 template <typename LatestRevisionT = ConfigurationRevision>
90 void SetLatestRevision(LatestRevisionT&& value) {
91 m_latestRevisionHasBeenSet = true;
92 m_latestRevision = std::forward<LatestRevisionT>(value);
93 }
94 template <typename LatestRevisionT = ConfigurationRevision>
96 SetLatestRevision(std::forward<LatestRevisionT>(value));
97 return *this;
98 }
100
102
107 inline const Aws::String& GetName() const { return m_name; }
108 template <typename NameT = Aws::String>
109 void SetName(NameT&& value) {
110 m_nameHasBeenSet = true;
111 m_name = std::forward<NameT>(value);
112 }
113 template <typename NameT = Aws::String>
115 SetName(std::forward<NameT>(value));
116 return *this;
117 }
119
121
125 inline const Aws::Vector<SanitizationWarning>& GetWarnings() const { return m_warnings; }
126 template <typename WarningsT = Aws::Vector<SanitizationWarning>>
127 void SetWarnings(WarningsT&& value) {
128 m_warningsHasBeenSet = true;
129 m_warnings = std::forward<WarningsT>(value);
130 }
131 template <typename WarningsT = Aws::Vector<SanitizationWarning>>
133 SetWarnings(std::forward<WarningsT>(value));
134 return *this;
135 }
136 template <typename WarningsT = SanitizationWarning>
138 m_warningsHasBeenSet = true;
139 m_warnings.emplace_back(std::forward<WarningsT>(value));
140 return *this;
141 }
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template <typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) {
149 m_requestIdHasBeenSet = true;
150 m_requestId = std::forward<RequestIdT>(value);
151 }
152 template <typename RequestIdT = Aws::String>
154 SetRequestId(std::forward<RequestIdT>(value));
155 return *this;
156 }
158 private:
159 Aws::String m_arn;
160
161 Aws::Utils::DateTime m_created{};
162
163 Aws::String m_id;
164
165 ConfigurationRevision m_latestRevision;
166
167 Aws::String m_name;
168
170
171 Aws::String m_requestId;
172 bool m_arnHasBeenSet = false;
173 bool m_createdHasBeenSet = false;
174 bool m_idHasBeenSet = false;
175 bool m_latestRevisionHasBeenSet = false;
176 bool m_nameHasBeenSet = false;
177 bool m_warningsHasBeenSet = false;
178 bool m_requestIdHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace MQ
183} // namespace Aws
UpdateConfigurationResult & WithCreated(CreatedT &&value)
const ConfigurationRevision & GetLatestRevision() const
UpdateConfigurationResult & WithId(IdT &&value)
UpdateConfigurationResult & AddWarnings(WarningsT &&value)
UpdateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
UpdateConfigurationResult & WithArn(ArnT &&value)
UpdateConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_MQ_API UpdateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MQ_API UpdateConfigurationResult()=default
UpdateConfigurationResult & WithWarnings(WarningsT &&value)
const Aws::Vector< SanitizationWarning > & GetWarnings() const
UpdateConfigurationResult & WithName(NameT &&value)
AWS_MQ_API UpdateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreated() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue