AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
36
40 inline const Aws::String& GetClientToken() const { return m_clientToken; }
41 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
42 template <typename ClientTokenT = Aws::String>
43 void SetClientToken(ClientTokenT&& value) {
44 m_clientTokenHasBeenSet = true;
45 m_clientToken = std::forward<ClientTokenT>(value);
46 }
47 template <typename ClientTokenT = Aws::String>
49 SetClientToken(std::forward<ClientTokenT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
59 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
60 template <typename ProfileArnT = Aws::String>
61 void SetProfileArn(ProfileArnT&& value) {
62 m_profileArnHasBeenSet = true;
63 m_profileArn = std::forward<ProfileArnT>(value);
64 }
65 template <typename ProfileArnT = Aws::String>
67 SetProfileArn(std::forward<ProfileArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDisplayName() const { return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 template <typename DisplayNameT = Aws::String>
79 void SetDisplayName(DisplayNameT&& value) {
80 m_displayNameHasBeenSet = true;
81 m_displayName = std::forward<DisplayNameT>(value);
82 }
83 template <typename DisplayNameT = Aws::String>
85 SetDisplayName(std::forward<DisplayNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
113 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
114 template <typename ExecutionRoleArnT = Aws::String>
115 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
116 m_executionRoleArnHasBeenSet = true;
117 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
118 }
119 template <typename ExecutionRoleArnT = Aws::String>
121 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Vector<AggregationConfiguration>& GetAggregationConfiguration() const { return m_aggregationConfiguration; }
131 inline bool AggregationConfigurationHasBeenSet() const { return m_aggregationConfigurationHasBeenSet; }
132 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
133 void SetAggregationConfiguration(AggregationConfigurationT&& value) {
134 m_aggregationConfigurationHasBeenSet = true;
135 m_aggregationConfiguration = std::forward<AggregationConfigurationT>(value);
136 }
137 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
138 UpdateAgentProfileRequest& WithAggregationConfiguration(AggregationConfigurationT&& value) {
139 SetAggregationConfiguration(std::forward<AggregationConfigurationT>(value));
140 return *this;
141 }
142 template <typename AggregationConfigurationT = AggregationConfiguration>
143 UpdateAgentProfileRequest& AddAggregationConfiguration(AggregationConfigurationT&& value) {
144 m_aggregationConfigurationHasBeenSet = true;
145 m_aggregationConfiguration.emplace_back(std::forward<AggregationConfigurationT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetBusinessOverview() const { return m_businessOverview; }
155 inline bool BusinessOverviewHasBeenSet() const { return m_businessOverviewHasBeenSet; }
156 template <typename BusinessOverviewT = Aws::String>
157 void SetBusinessOverview(BusinessOverviewT&& value) {
158 m_businessOverviewHasBeenSet = true;
159 m_businessOverview = std::forward<BusinessOverviewT>(value);
160 }
161 template <typename BusinessOverviewT = Aws::String>
163 SetBusinessOverview(std::forward<BusinessOverviewT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
173 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
174 template <typename PillarsT = Aws::Vector<Pillar>>
175 void SetPillars(PillarsT&& value) {
176 m_pillarsHasBeenSet = true;
177 m_pillars = std::forward<PillarsT>(value);
178 }
179 template <typename PillarsT = Aws::Vector<Pillar>>
181 SetPillars(std::forward<PillarsT>(value));
182 return *this;
183 }
185 m_pillarsHasBeenSet = true;
186 m_pillars.push_back(value);
187 return *this;
188 }
190
192
195 inline bool GetDeletionProtection() const { return m_deletionProtection; }
196 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
197 inline void SetDeletionProtection(bool value) {
198 m_deletionProtectionHasBeenSet = true;
199 m_deletionProtection = value;
200 }
203 return *this;
204 }
206 private:
208
209 Aws::String m_profileArn;
210
211 Aws::String m_displayName;
212
213 Aws::String m_description;
214
215 Aws::String m_executionRoleArn;
216
217 Aws::Vector<AggregationConfiguration> m_aggregationConfiguration;
218
219 Aws::String m_businessOverview;
220
221 Aws::Vector<Pillar> m_pillars;
222
223 bool m_deletionProtection{false};
224 bool m_clientTokenHasBeenSet = true;
225 bool m_profileArnHasBeenSet = false;
226 bool m_displayNameHasBeenSet = false;
227 bool m_descriptionHasBeenSet = false;
228 bool m_executionRoleArnHasBeenSet = false;
229 bool m_aggregationConfigurationHasBeenSet = false;
230 bool m_businessOverviewHasBeenSet = false;
231 bool m_pillarsHasBeenSet = false;
232 bool m_deletionProtectionHasBeenSet = false;
233};
234
235} // namespace Model
236} // namespace WellArchitected
237} // 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)
UpdateAgentProfileRequest & WithDisplayName(DisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector