AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
UpdateAgentGoalRequest.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/Pillar.h>
13
14#include <utility>
15
16namespace Aws {
17namespace WellArchitected {
18namespace Model {
19
23 public:
24 AWS_WELLARCHITECTED_API UpdateAgentGoalRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentGoal"; }
31
32 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
33
37 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
38
40
44 inline const Aws::String& GetClientToken() const { return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 template <typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) {
48 m_clientTokenHasBeenSet = true;
49 m_clientToken = std::forward<ClientTokenT>(value);
50 }
51 template <typename ClientTokenT = Aws::String>
52 UpdateAgentGoalRequest& WithClientToken(ClientTokenT&& value) {
53 SetClientToken(std::forward<ClientTokenT>(value));
54 return *this;
55 }
57
59
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>
71 UpdateAgentGoalRequest& WithProfileArn(ProfileArnT&& value) {
72 SetProfileArn(std::forward<ProfileArnT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetId() const { return m_id; }
82 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
83 template <typename IdT = Aws::String>
84 void SetId(IdT&& value) {
85 m_idHasBeenSet = true;
86 m_id = std::forward<IdT>(value);
87 }
88 template <typename IdT = Aws::String>
90 SetId(std::forward<IdT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
101 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
102 template <typename PillarsT = Aws::Vector<Pillar>>
103 void SetPillars(PillarsT&& value) {
104 m_pillarsHasBeenSet = true;
105 m_pillars = std::forward<PillarsT>(value);
106 }
107 template <typename PillarsT = Aws::Vector<Pillar>>
109 SetPillars(std::forward<PillarsT>(value));
110 return *this;
111 }
113 m_pillarsHasBeenSet = true;
114 m_pillars.push_back(value);
115 return *this;
116 }
118
120
123 inline const Aws::String& GetTitle() const { return m_title; }
124 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
125 template <typename TitleT = Aws::String>
126 void SetTitle(TitleT&& value) {
127 m_titleHasBeenSet = true;
128 m_title = std::forward<TitleT>(value);
129 }
130 template <typename TitleT = Aws::String>
132 SetTitle(std::forward<TitleT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetDescription() const { return m_description; }
142 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 template <typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) {
145 m_descriptionHasBeenSet = true;
146 m_description = std::forward<DescriptionT>(value);
147 }
148 template <typename DescriptionT = Aws::String>
150 SetDescription(std::forward<DescriptionT>(value));
151 return *this;
152 }
154 private:
156
157 Aws::String m_profileArn;
158
159 Aws::String m_id;
160
161 Aws::Vector<Pillar> m_pillars;
162
163 Aws::String m_title;
164
165 Aws::String m_description;
166 bool m_clientTokenHasBeenSet = true;
167 bool m_profileArnHasBeenSet = false;
168 bool m_idHasBeenSet = false;
169 bool m_pillarsHasBeenSet = false;
170 bool m_titleHasBeenSet = false;
171 bool m_descriptionHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace WellArchitected
176} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateAgentGoalRequest & WithPillars(PillarsT &&value)
UpdateAgentGoalRequest & WithTitle(TitleT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
UpdateAgentGoalRequest & WithProfileArn(ProfileArnT &&value)
UpdateAgentGoalRequest & WithDescription(DescriptionT &&value)
AWS_WELLARCHITECTED_API UpdateAgentGoalRequest()=default
UpdateAgentGoalRequest & WithClientToken(ClientTokenT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector