AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
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 CreateAgentGoalRequest& WithClientToken(ClientTokenT&& value) {
48 SetClientToken(std::forward<ClientTokenT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
58 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
59 template <typename ProfileArnT = Aws::String>
60 void SetProfileArn(ProfileArnT&& value) {
61 m_profileArnHasBeenSet = true;
62 m_profileArn = std::forward<ProfileArnT>(value);
63 }
64 template <typename ProfileArnT = Aws::String>
65 CreateAgentGoalRequest& WithProfileArn(ProfileArnT&& value) {
66 SetProfileArn(std::forward<ProfileArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
76 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
77 template <typename PillarsT = Aws::Vector<Pillar>>
78 void SetPillars(PillarsT&& value) {
79 m_pillarsHasBeenSet = true;
80 m_pillars = std::forward<PillarsT>(value);
81 }
82 template <typename PillarsT = Aws::Vector<Pillar>>
84 SetPillars(std::forward<PillarsT>(value));
85 return *this;
86 }
88 m_pillarsHasBeenSet = true;
89 m_pillars.push_back(value);
90 return *this;
91 }
93
95
98 inline const Aws::String& GetTitle() const { return m_title; }
99 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
100 template <typename TitleT = Aws::String>
101 void SetTitle(TitleT&& value) {
102 m_titleHasBeenSet = true;
103 m_title = std::forward<TitleT>(value);
104 }
105 template <typename TitleT = Aws::String>
107 SetTitle(std::forward<TitleT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetDescription() const { return m_description; }
117 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
118 template <typename DescriptionT = Aws::String>
119 void SetDescription(DescriptionT&& value) {
120 m_descriptionHasBeenSet = true;
121 m_description = std::forward<DescriptionT>(value);
122 }
123 template <typename DescriptionT = Aws::String>
125 SetDescription(std::forward<DescriptionT>(value));
126 return *this;
127 }
129 private:
131
132 Aws::String m_profileArn;
133
134 Aws::Vector<Pillar> m_pillars;
135
136 Aws::String m_title;
137
138 Aws::String m_description;
139 bool m_clientTokenHasBeenSet = true;
140 bool m_profileArnHasBeenSet = false;
141 bool m_pillarsHasBeenSet = false;
142 bool m_titleHasBeenSet = false;
143 bool m_descriptionHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace WellArchitected
148} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateAgentGoalRequest & WithProfileArn(ProfileArnT &&value)
CreateAgentGoalRequest & WithPillars(PillarsT &&value)
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector