AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateAgentSpaceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityagent/SecurityAgent_EXPORTS.h>
12#include <aws/securityagent/model/AWSResources.h>
13#include <aws/securityagent/model/CodeReviewSettings.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SecurityAgent {
27namespace Model {
34 public:
35 AWS_SECURITYAGENT_API UpdateAgentSpaceResult() = default;
38
40
43 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
44 template <typename AgentSpaceIdT = Aws::String>
45 void SetAgentSpaceId(AgentSpaceIdT&& value) {
46 m_agentSpaceIdHasBeenSet = true;
47 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
48 }
49 template <typename AgentSpaceIdT = Aws::String>
50 UpdateAgentSpaceResult& WithAgentSpaceId(AgentSpaceIdT&& value) {
51 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 UpdateAgentSpaceResult& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const AWSResources& GetAwsResources() const { return m_awsResources; }
95 template <typename AwsResourcesT = AWSResources>
96 void SetAwsResources(AwsResourcesT&& value) {
97 m_awsResourcesHasBeenSet = true;
98 m_awsResources = std::forward<AwsResourcesT>(value);
99 }
100 template <typename AwsResourcesT = AWSResources>
101 UpdateAgentSpaceResult& WithAwsResources(AwsResourcesT&& value) {
102 SetAwsResources(std::forward<AwsResourcesT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Vector<Aws::String>& GetTargetDomainIds() const { return m_targetDomainIds; }
112 template <typename TargetDomainIdsT = Aws::Vector<Aws::String>>
113 void SetTargetDomainIds(TargetDomainIdsT&& value) {
114 m_targetDomainIdsHasBeenSet = true;
115 m_targetDomainIds = std::forward<TargetDomainIdsT>(value);
116 }
117 template <typename TargetDomainIdsT = Aws::Vector<Aws::String>>
118 UpdateAgentSpaceResult& WithTargetDomainIds(TargetDomainIdsT&& value) {
119 SetTargetDomainIds(std::forward<TargetDomainIdsT>(value));
120 return *this;
121 }
122 template <typename TargetDomainIdsT = Aws::String>
123 UpdateAgentSpaceResult& AddTargetDomainIds(TargetDomainIdsT&& value) {
124 m_targetDomainIdsHasBeenSet = true;
125 m_targetDomainIds.emplace_back(std::forward<TargetDomainIdsT>(value));
126 return *this;
127 }
129
131
135 inline const CodeReviewSettings& GetCodeReviewSettings() const { return m_codeReviewSettings; }
136 template <typename CodeReviewSettingsT = CodeReviewSettings>
137 void SetCodeReviewSettings(CodeReviewSettingsT&& value) {
138 m_codeReviewSettingsHasBeenSet = true;
139 m_codeReviewSettings = std::forward<CodeReviewSettingsT>(value);
140 }
141 template <typename CodeReviewSettingsT = CodeReviewSettings>
142 UpdateAgentSpaceResult& WithCodeReviewSettings(CodeReviewSettingsT&& value) {
143 SetCodeReviewSettings(std::forward<CodeReviewSettingsT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
153 template <typename CreatedAtT = Aws::Utils::DateTime>
154 void SetCreatedAt(CreatedAtT&& value) {
155 m_createdAtHasBeenSet = true;
156 m_createdAt = std::forward<CreatedAtT>(value);
157 }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
160 SetCreatedAt(std::forward<CreatedAtT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
170 template <typename UpdatedAtT = Aws::Utils::DateTime>
171 void SetUpdatedAt(UpdatedAtT&& value) {
172 m_updatedAtHasBeenSet = true;
173 m_updatedAt = std::forward<UpdatedAtT>(value);
174 }
175 template <typename UpdatedAtT = Aws::Utils::DateTime>
177 SetUpdatedAt(std::forward<UpdatedAtT>(value));
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
197
198 private:
199 Aws::String m_agentSpaceId;
200
201 Aws::String m_name;
202
203 Aws::String m_description;
204
205 AWSResources m_awsResources;
206
207 Aws::Vector<Aws::String> m_targetDomainIds;
208
209 CodeReviewSettings m_codeReviewSettings;
210
211 Aws::Utils::DateTime m_createdAt{};
212
213 Aws::Utils::DateTime m_updatedAt{};
214
215 Aws::String m_requestId;
216 Aws::Http::HttpResponseCode m_HttpResponseCode;
217 bool m_agentSpaceIdHasBeenSet = false;
218 bool m_nameHasBeenSet = false;
219 bool m_descriptionHasBeenSet = false;
220 bool m_awsResourcesHasBeenSet = false;
221 bool m_targetDomainIdsHasBeenSet = false;
222 bool m_codeReviewSettingsHasBeenSet = false;
223 bool m_createdAtHasBeenSet = false;
224 bool m_updatedAtHasBeenSet = false;
225 bool m_requestIdHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace SecurityAgent
230} // namespace Aws
UpdateAgentSpaceResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYAGENT_API UpdateAgentSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYAGENT_API UpdateAgentSpaceResult()=default
const CodeReviewSettings & GetCodeReviewSettings() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateAgentSpaceResult & WithCodeReviewSettings(CodeReviewSettingsT &&value)
UpdateAgentSpaceResult & WithName(NameT &&value)
UpdateAgentSpaceResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateAgentSpaceResult & WithAgentSpaceId(AgentSpaceIdT &&value)
UpdateAgentSpaceResult & WithAwsResources(AwsResourcesT &&value)
UpdateAgentSpaceResult & AddTargetDomainIds(TargetDomainIdsT &&value)
UpdateAgentSpaceResult & WithDescription(DescriptionT &&value)
UpdateAgentSpaceResult & WithTargetDomainIds(TargetDomainIdsT &&value)
const Aws::Vector< Aws::String > & GetTargetDomainIds() const
AWS_SECURITYAGENT_API UpdateAgentSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAgentSpaceResult & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue