AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateExtensionResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/Action.h>
9#include <aws/appconfig/model/ActionPoint.h>
10#include <aws/appconfig/model/Parameter.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace AppConfig {
27namespace Model {
29 public:
30 AWS_APPCONFIG_API UpdateExtensionResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline int GetVersionNumber() const { return m_versionNumber; }
73 inline void SetVersionNumber(int value) {
74 m_versionNumberHasBeenSet = true;
75 m_versionNumber = value;
76 }
78 SetVersionNumber(value);
79 return *this;
80 }
82
84
87 inline const Aws::String& GetArn() const { return m_arn; }
88 template <typename ArnT = Aws::String>
89 void SetArn(ArnT&& value) {
90 m_arnHasBeenSet = true;
91 m_arn = std::forward<ArnT>(value);
92 }
93 template <typename ArnT = Aws::String>
95 SetArn(std::forward<ArnT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
111 UpdateExtensionResult& WithDescription(DescriptionT&& value) {
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Map<ActionPoint, Aws::Vector<Action>>& GetActions() const { return m_actions; }
122 template <typename ActionsT = Aws::Map<ActionPoint, Aws::Vector<Action>>>
123 void SetActions(ActionsT&& value) {
124 m_actionsHasBeenSet = true;
125 m_actions = std::forward<ActionsT>(value);
126 }
127 template <typename ActionsT = Aws::Map<ActionPoint, Aws::Vector<Action>>>
129 SetActions(std::forward<ActionsT>(value));
130 return *this;
131 }
133 m_actionsHasBeenSet = true;
134 m_actions.emplace(key, value);
135 return *this;
136 }
138
140
146 inline const Aws::Map<Aws::String, Parameter>& GetParameters() const { return m_parameters; }
147 template <typename ParametersT = Aws::Map<Aws::String, Parameter>>
148 void SetParameters(ParametersT&& value) {
149 m_parametersHasBeenSet = true;
150 m_parameters = std::forward<ParametersT>(value);
151 }
152 template <typename ParametersT = Aws::Map<Aws::String, Parameter>>
153 UpdateExtensionResult& WithParameters(ParametersT&& value) {
154 SetParameters(std::forward<ParametersT>(value));
155 return *this;
156 }
157 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Parameter>
158 UpdateExtensionResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
159 m_parametersHasBeenSet = true;
160 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_id;
181
182 Aws::String m_name;
183
184 int m_versionNumber{0};
185
186 Aws::String m_arn;
187
188 Aws::String m_description;
189
191
193
194 Aws::String m_requestId;
195 bool m_idHasBeenSet = false;
196 bool m_nameHasBeenSet = false;
197 bool m_versionNumberHasBeenSet = false;
198 bool m_arnHasBeenSet = false;
199 bool m_descriptionHasBeenSet = false;
200 bool m_actionsHasBeenSet = false;
201 bool m_parametersHasBeenSet = false;
202 bool m_requestIdHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace AppConfig
207} // namespace Aws
AWS_APPCONFIG_API UpdateExtensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateExtensionResult & WithRequestId(RequestIdT &&value)
UpdateExtensionResult & WithParameters(ParametersT &&value)
UpdateExtensionResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_APPCONFIG_API UpdateExtensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateExtensionResult & WithActions(ActionsT &&value)
const Aws::Map< Aws::String, Parameter > & GetParameters() const
UpdateExtensionResult & WithDescription(DescriptionT &&value)
UpdateExtensionResult & WithArn(ArnT &&value)
UpdateExtensionResult & WithVersionNumber(int value)
AWS_APPCONFIG_API UpdateExtensionResult()=default
UpdateExtensionResult & AddActions(ActionPoint key, Aws::Vector< Action > value)
const Aws::Map< ActionPoint, Aws::Vector< Action > > & GetActions() const
UpdateExtensionResult & WithName(NameT &&value)
UpdateExtensionResult & WithId(IdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue