AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
UpdateAgentContextRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitectedRequest.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/ContextContent.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WellArchitected {
17namespace Model {
18
22 public:
23 AWS_WELLARCHITECTED_API UpdateAgentContextRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentContext"; }
30
31 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
32
36 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
37
39
43 inline const Aws::String& GetClientToken() const { return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 template <typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) {
47 m_clientTokenHasBeenSet = true;
48 m_clientToken = std::forward<ClientTokenT>(value);
49 }
50 template <typename ClientTokenT = Aws::String>
52 SetClientToken(std::forward<ClientTokenT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
62 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
63 template <typename ProfileArnT = Aws::String>
64 void SetProfileArn(ProfileArnT&& value) {
65 m_profileArnHasBeenSet = true;
66 m_profileArn = std::forward<ProfileArnT>(value);
67 }
68 template <typename ProfileArnT = Aws::String>
70 SetProfileArn(std::forward<ProfileArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetId() const { return m_id; }
80 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
81 template <typename IdT = Aws::String>
82 void SetId(IdT&& value) {
83 m_idHasBeenSet = true;
84 m_id = std::forward<IdT>(value);
85 }
86 template <typename IdT = Aws::String>
88 SetId(std::forward<IdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetTitle() const { return m_title; }
98 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
99 template <typename TitleT = Aws::String>
100 void SetTitle(TitleT&& value) {
101 m_titleHasBeenSet = true;
102 m_title = std::forward<TitleT>(value);
103 }
104 template <typename TitleT = Aws::String>
106 SetTitle(std::forward<TitleT>(value));
107 return *this;
108 }
110
112
117 inline const ContextContent& GetContent() const { return m_content; }
118 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
119 template <typename ContentT = ContextContent>
120 void SetContent(ContentT&& value) {
121 m_contentHasBeenSet = true;
122 m_content = std::forward<ContentT>(value);
123 }
124 template <typename ContentT = ContextContent>
126 SetContent(std::forward<ContentT>(value));
127 return *this;
128 }
130 private:
132
133 Aws::String m_profileArn;
134
135 Aws::String m_id;
136
137 Aws::String m_title;
138
139 ContextContent m_content;
140 bool m_clientTokenHasBeenSet = true;
141 bool m_profileArnHasBeenSet = false;
142 bool m_idHasBeenSet = false;
143 bool m_titleHasBeenSet = false;
144 bool m_contentHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace WellArchitected
149} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API UpdateAgentContextRequest()=default
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateAgentContextRequest & WithTitle(TitleT &&value)
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
UpdateAgentContextRequest & WithClientToken(ClientTokenT &&value)
UpdateAgentContextRequest & WithProfileArn(ProfileArnT &&value)
UpdateAgentContextRequest & WithContent(ContentT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String