AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
UpdateAgentProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/WellArchitectedRequest.h>
11#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
12#include <aws/wellarchitected/model/AggregationConfiguration.h>
13#include <aws/wellarchitected/model/Pillar.h>
14
15#include <utility>
16
17namespace Aws {
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API UpdateAgentProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentProfile"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
38 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
39
41
45 inline const Aws::String& GetClientToken() const { return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 template <typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) {
49 m_clientTokenHasBeenSet = true;
50 m_clientToken = std::forward<ClientTokenT>(value);
51 }
52 template <typename ClientTokenT = Aws::String>
54 SetClientToken(std::forward<ClientTokenT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
64 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
65 template <typename ProfileArnT = Aws::String>
66 void SetProfileArn(ProfileArnT&& value) {
67 m_profileArnHasBeenSet = true;
68 m_profileArn = std::forward<ProfileArnT>(value);
69 }
70 template <typename ProfileArnT = Aws::String>
72 SetProfileArn(std::forward<ProfileArnT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDisplayName() const { return m_displayName; }
82 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
83 template <typename DisplayNameT = Aws::String>
84 void SetDisplayName(DisplayNameT&& value) {
85 m_displayNameHasBeenSet = true;
86 m_displayName = std::forward<DisplayNameT>(value);
87 }
88 template <typename DisplayNameT = Aws::String>
90 SetDisplayName(std::forward<DisplayNameT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 template <typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) {
103 m_descriptionHasBeenSet = true;
104 m_description = std::forward<DescriptionT>(value);
105 }
106 template <typename DescriptionT = Aws::String>
108 SetDescription(std::forward<DescriptionT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
118 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
119 template <typename ExecutionRoleArnT = Aws::String>
120 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
121 m_executionRoleArnHasBeenSet = true;
122 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
123 }
124 template <typename ExecutionRoleArnT = Aws::String>
126 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Vector<AggregationConfiguration>& GetAggregationConfiguration() const { return m_aggregationConfiguration; }
136 inline bool AggregationConfigurationHasBeenSet() const { return m_aggregationConfigurationHasBeenSet; }
137 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
138 void SetAggregationConfiguration(AggregationConfigurationT&& value) {
139 m_aggregationConfigurationHasBeenSet = true;
140 m_aggregationConfiguration = std::forward<AggregationConfigurationT>(value);
141 }
142 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
143 UpdateAgentProfileRequest& WithAggregationConfiguration(AggregationConfigurationT&& value) {
144 SetAggregationConfiguration(std::forward<AggregationConfigurationT>(value));
145 return *this;
146 }
147 template <typename AggregationConfigurationT = AggregationConfiguration>
148 UpdateAgentProfileRequest& AddAggregationConfiguration(AggregationConfigurationT&& value) {
149 m_aggregationConfigurationHasBeenSet = true;
150 m_aggregationConfiguration.emplace_back(std::forward<AggregationConfigurationT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetBusinessOverview() const { return m_businessOverview; }
160 inline bool BusinessOverviewHasBeenSet() const { return m_businessOverviewHasBeenSet; }
161 template <typename BusinessOverviewT = Aws::String>
162 void SetBusinessOverview(BusinessOverviewT&& value) {
163 m_businessOverviewHasBeenSet = true;
164 m_businessOverview = std::forward<BusinessOverviewT>(value);
165 }
166 template <typename BusinessOverviewT = Aws::String>
168 SetBusinessOverview(std::forward<BusinessOverviewT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
178 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
179 template <typename PillarsT = Aws::Vector<Pillar>>
180 void SetPillars(PillarsT&& value) {
181 m_pillarsHasBeenSet = true;
182 m_pillars = std::forward<PillarsT>(value);
183 }
184 template <typename PillarsT = Aws::Vector<Pillar>>
186 SetPillars(std::forward<PillarsT>(value));
187 return *this;
188 }
190 m_pillarsHasBeenSet = true;
191 m_pillars.push_back(value);
192 return *this;
193 }
195
197
200 inline bool GetDeletionProtection() const { return m_deletionProtection; }
201 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
202 inline void SetDeletionProtection(bool value) {
203 m_deletionProtectionHasBeenSet = true;
204 m_deletionProtection = value;
205 }
208 return *this;
209 }
211 private:
213
214 Aws::String m_profileArn;
215
216 Aws::String m_displayName;
217
218 Aws::String m_description;
219
220 Aws::String m_executionRoleArn;
221
222 Aws::Vector<AggregationConfiguration> m_aggregationConfiguration;
223
224 Aws::String m_businessOverview;
225
226 Aws::Vector<Pillar> m_pillars;
227
228 bool m_deletionProtection{false};
229 bool m_clientTokenHasBeenSet = true;
230 bool m_profileArnHasBeenSet = false;
231 bool m_displayNameHasBeenSet = false;
232 bool m_descriptionHasBeenSet = false;
233 bool m_executionRoleArnHasBeenSet = false;
234 bool m_aggregationConfigurationHasBeenSet = false;
235 bool m_businessOverviewHasBeenSet = false;
236 bool m_pillarsHasBeenSet = false;
237 bool m_deletionProtectionHasBeenSet = false;
238};
239
240} // namespace Model
241} // namespace WellArchitected
242} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateAgentProfileRequest & WithClientToken(ClientTokenT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API UpdateAgentProfileRequest()=default
UpdateAgentProfileRequest & WithDescription(DescriptionT &&value)
UpdateAgentProfileRequest & WithBusinessOverview(BusinessOverviewT &&value)
UpdateAgentProfileRequest & WithProfileArn(ProfileArnT &&value)
void SetAggregationConfiguration(AggregationConfigurationT &&value)
UpdateAgentProfileRequest & WithAggregationConfiguration(AggregationConfigurationT &&value)
UpdateAgentProfileRequest & AddAggregationConfiguration(AggregationConfigurationT &&value)
UpdateAgentProfileRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfiguration() const
UpdateAgentProfileRequest & WithDeletionProtection(bool value)
UpdateAgentProfileRequest & WithPillars(PillarsT &&value)
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
UpdateAgentProfileRequest & WithDisplayName(DisplayNameT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector