AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
CreateAgentGoalRequest.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 CreateAgentGoalRequest() = 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 "CreateAgentGoal"; }
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 CreateAgentGoalRequest& WithClientToken(ClientTokenT&& value) {
53 SetClientToken(std::forward<ClientTokenT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
63 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
64 template <typename ProfileArnT = Aws::String>
65 void SetProfileArn(ProfileArnT&& value) {
66 m_profileArnHasBeenSet = true;
67 m_profileArn = std::forward<ProfileArnT>(value);
68 }
69 template <typename ProfileArnT = Aws::String>
70 CreateAgentGoalRequest& WithProfileArn(ProfileArnT&& value) {
71 SetProfileArn(std::forward<ProfileArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
81 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
82 template <typename PillarsT = Aws::Vector<Pillar>>
83 void SetPillars(PillarsT&& value) {
84 m_pillarsHasBeenSet = true;
85 m_pillars = std::forward<PillarsT>(value);
86 }
87 template <typename PillarsT = Aws::Vector<Pillar>>
89 SetPillars(std::forward<PillarsT>(value));
90 return *this;
91 }
93 m_pillarsHasBeenSet = true;
94 m_pillars.push_back(value);
95 return *this;
96 }
98
100
103 inline const Aws::String& GetTitle() const { return m_title; }
104 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
105 template <typename TitleT = Aws::String>
106 void SetTitle(TitleT&& value) {
107 m_titleHasBeenSet = true;
108 m_title = std::forward<TitleT>(value);
109 }
110 template <typename TitleT = Aws::String>
112 SetTitle(std::forward<TitleT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 template <typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) {
125 m_descriptionHasBeenSet = true;
126 m_description = std::forward<DescriptionT>(value);
127 }
128 template <typename DescriptionT = Aws::String>
130 SetDescription(std::forward<DescriptionT>(value));
131 return *this;
132 }
134 private:
136
137 Aws::String m_profileArn;
138
139 Aws::Vector<Pillar> m_pillars;
140
141 Aws::String m_title;
142
143 Aws::String m_description;
144 bool m_clientTokenHasBeenSet = true;
145 bool m_profileArnHasBeenSet = false;
146 bool m_pillarsHasBeenSet = false;
147 bool m_titleHasBeenSet = false;
148 bool m_descriptionHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace WellArchitected
153} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateAgentGoalRequest & WithProfileArn(ProfileArnT &&value)
CreateAgentGoalRequest & WithPillars(PillarsT &&value)
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
CreateAgentGoalRequest & WithTitle(TitleT &&value)
CreateAgentGoalRequest & WithDescription(DescriptionT &&value)
AWS_WELLARCHITECTED_API CreateAgentGoalRequest()=default
CreateAgentGoalRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
CreateAgentGoalRequest & AddPillars(Pillar 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