AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
35
39 inline const Aws::String& GetClientToken() const { return m_clientToken; }
40 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
41 template <typename ClientTokenT = Aws::String>
42 void SetClientToken(ClientTokenT&& value) {
43 m_clientTokenHasBeenSet = true;
44 m_clientToken = std::forward<ClientTokenT>(value);
45 }
46 template <typename ClientTokenT = Aws::String>
47 UpdateAgentGoalRequest& WithClientToken(ClientTokenT&& value) {
48 SetClientToken(std::forward<ClientTokenT>(value));
49 return *this;
50 }
52
54
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>
66 UpdateAgentGoalRequest& WithProfileArn(ProfileArnT&& value) {
67 SetProfileArn(std::forward<ProfileArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetId() const { return m_id; }
77 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
78 template <typename IdT = Aws::String>
79 void SetId(IdT&& value) {
80 m_idHasBeenSet = true;
81 m_id = std::forward<IdT>(value);
82 }
83 template <typename IdT = Aws::String>
85 SetId(std::forward<IdT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
96 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
97 template <typename PillarsT = Aws::Vector<Pillar>>
98 void SetPillars(PillarsT&& value) {
99 m_pillarsHasBeenSet = true;
100 m_pillars = std::forward<PillarsT>(value);
101 }
102 template <typename PillarsT = Aws::Vector<Pillar>>
104 SetPillars(std::forward<PillarsT>(value));
105 return *this;
106 }
108 m_pillarsHasBeenSet = true;
109 m_pillars.push_back(value);
110 return *this;
111 }
113
115
118 inline const Aws::String& GetTitle() const { return m_title; }
119 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
120 template <typename TitleT = Aws::String>
121 void SetTitle(TitleT&& value) {
122 m_titleHasBeenSet = true;
123 m_title = std::forward<TitleT>(value);
124 }
125 template <typename TitleT = Aws::String>
127 SetTitle(std::forward<TitleT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetDescription() const { return m_description; }
137 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 template <typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) {
140 m_descriptionHasBeenSet = true;
141 m_description = std::forward<DescriptionT>(value);
142 }
143 template <typename DescriptionT = Aws::String>
145 SetDescription(std::forward<DescriptionT>(value));
146 return *this;
147 }
149 private:
151
152 Aws::String m_profileArn;
153
154 Aws::String m_id;
155
156 Aws::Vector<Pillar> m_pillars;
157
158 Aws::String m_title;
159
160 Aws::String m_description;
161 bool m_clientTokenHasBeenSet = true;
162 bool m_profileArnHasBeenSet = false;
163 bool m_idHasBeenSet = false;
164 bool m_pillarsHasBeenSet = false;
165 bool m_titleHasBeenSet = false;
166 bool m_descriptionHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace WellArchitected
171} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateAgentGoalRequest & WithPillars(PillarsT &&value)
UpdateAgentGoalRequest & WithTitle(TitleT &&value)
virtual const char * GetServiceRequestName() 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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector