AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
34
38 inline const Aws::String& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
57 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
58 template <typename ProfileArnT = Aws::String>
59 void SetProfileArn(ProfileArnT&& value) {
60 m_profileArnHasBeenSet = true;
61 m_profileArn = std::forward<ProfileArnT>(value);
62 }
63 template <typename ProfileArnT = Aws::String>
65 SetProfileArn(std::forward<ProfileArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
76 template <typename IdT = Aws::String>
77 void SetId(IdT&& value) {
78 m_idHasBeenSet = true;
79 m_id = std::forward<IdT>(value);
80 }
81 template <typename IdT = Aws::String>
83 SetId(std::forward<IdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTitle() const { return m_title; }
93 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
94 template <typename TitleT = Aws::String>
95 void SetTitle(TitleT&& value) {
96 m_titleHasBeenSet = true;
97 m_title = std::forward<TitleT>(value);
98 }
99 template <typename TitleT = Aws::String>
101 SetTitle(std::forward<TitleT>(value));
102 return *this;
103 }
105
107
112 inline const ContextContent& GetContent() const { return m_content; }
113 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
114 template <typename ContentT = ContextContent>
115 void SetContent(ContentT&& value) {
116 m_contentHasBeenSet = true;
117 m_content = std::forward<ContentT>(value);
118 }
119 template <typename ContentT = ContextContent>
121 SetContent(std::forward<ContentT>(value));
122 return *this;
123 }
125 private:
127
128 Aws::String m_profileArn;
129
130 Aws::String m_id;
131
132 Aws::String m_title;
133
134 ContextContent m_content;
135 bool m_clientTokenHasBeenSet = true;
136 bool m_profileArnHasBeenSet = false;
137 bool m_idHasBeenSet = false;
138 bool m_titleHasBeenSet = false;
139 bool m_contentHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace WellArchitected
144} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API UpdateAgentContextRequest()=default
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateAgentContextRequest & WithTitle(TitleT &&value)
UpdateAgentContextRequest & WithClientToken(ClientTokenT &&value)
UpdateAgentContextRequest & WithProfileArn(ProfileArnT &&value)
UpdateAgentContextRequest & WithContent(ContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String