AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetInvestigationGroupResult.h
1
6#pragma once
7#include <aws/aiops/AIOps_EXPORTS.h>
8#include <aws/aiops/model/CrossAccountConfiguration.h>
9#include <aws/aiops/model/EncryptionConfiguration.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.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 AIOps {
27namespace Model {
29 public:
30 AWS_AIOPS_API GetInvestigationGroupResult() = default;
33
35
38 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
39 template <typename CreatedByT = Aws::String>
40 void SetCreatedBy(CreatedByT&& value) {
41 m_createdByHasBeenSet = true;
42 m_createdBy = std::forward<CreatedByT>(value);
43 }
44 template <typename CreatedByT = Aws::String>
46 SetCreatedBy(std::forward<CreatedByT>(value));
47 return *this;
48 }
50
52
55 inline long long GetCreatedAt() const { return m_createdAt; }
56 inline void SetCreatedAt(long long value) {
57 m_createdAtHasBeenSet = true;
58 m_createdAt = value;
59 }
60 inline GetInvestigationGroupResult& WithCreatedAt(long long value) {
61 SetCreatedAt(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
71 template <typename LastModifiedByT = Aws::String>
72 void SetLastModifiedBy(LastModifiedByT&& value) {
73 m_lastModifiedByHasBeenSet = true;
74 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
75 }
76 template <typename LastModifiedByT = Aws::String>
78 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
79 return *this;
80 }
82
84
88 inline long long GetLastModifiedAt() const { return m_lastModifiedAt; }
89 inline void SetLastModifiedAt(long long value) {
90 m_lastModifiedAtHasBeenSet = true;
91 m_lastModifiedAt = value;
92 }
94 SetLastModifiedAt(value);
95 return *this;
96 }
98
100
103 inline const Aws::String& GetName() const { return m_name; }
104 template <typename NameT = Aws::String>
105 void SetName(NameT&& value) {
106 m_nameHasBeenSet = true;
107 m_name = std::forward<NameT>(value);
108 }
109 template <typename NameT = Aws::String>
111 SetName(std::forward<NameT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetArn() const { return m_arn; }
121 template <typename ArnT = Aws::String>
122 void SetArn(ArnT&& value) {
123 m_arnHasBeenSet = true;
124 m_arn = std::forward<ArnT>(value);
125 }
126 template <typename ArnT = Aws::String>
128 SetArn(std::forward<ArnT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
139 template <typename RoleArnT = Aws::String>
140 void SetRoleArn(RoleArnT&& value) {
141 m_roleArnHasBeenSet = true;
142 m_roleArn = std::forward<RoleArnT>(value);
143 }
144 template <typename RoleArnT = Aws::String>
146 SetRoleArn(std::forward<RoleArnT>(value));
147 return *this;
148 }
150
152
157 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
158 template <typename EncryptionConfigurationT = EncryptionConfiguration>
159 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
160 m_encryptionConfigurationHasBeenSet = true;
161 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
162 }
163 template <typename EncryptionConfigurationT = EncryptionConfiguration>
164 GetInvestigationGroupResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
165 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
166 return *this;
167 }
169
171
174 inline long long GetRetentionInDays() const { return m_retentionInDays; }
175 inline void SetRetentionInDays(long long value) {
176 m_retentionInDaysHasBeenSet = true;
177 m_retentionInDays = value;
178 }
180 SetRetentionInDays(value);
181 return *this;
182 }
184
186
197 return m_chatbotNotificationChannel;
198 }
199 template <typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
200 void SetChatbotNotificationChannel(ChatbotNotificationChannelT&& value) {
201 m_chatbotNotificationChannelHasBeenSet = true;
202 m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value);
203 }
204 template <typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
205 GetInvestigationGroupResult& WithChatbotNotificationChannel(ChatbotNotificationChannelT&& value) {
206 SetChatbotNotificationChannel(std::forward<ChatbotNotificationChannelT>(value));
207 return *this;
208 }
209 template <typename ChatbotNotificationChannelKeyT = Aws::String, typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
210 GetInvestigationGroupResult& AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT&& key,
211 ChatbotNotificationChannelValueT&& value) {
212 m_chatbotNotificationChannelHasBeenSet = true;
213 m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key),
214 std::forward<ChatbotNotificationChannelValueT>(value));
215 return *this;
216 }
218
220
226 inline const Aws::Vector<Aws::String>& GetTagKeyBoundaries() const { return m_tagKeyBoundaries; }
227 template <typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
228 void SetTagKeyBoundaries(TagKeyBoundariesT&& value) {
229 m_tagKeyBoundariesHasBeenSet = true;
230 m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value);
231 }
232 template <typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
234 SetTagKeyBoundaries(std::forward<TagKeyBoundariesT>(value));
235 return *this;
236 }
237 template <typename TagKeyBoundariesT = Aws::String>
239 m_tagKeyBoundariesHasBeenSet = true;
240 m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value));
241 return *this;
242 }
244
246
250 inline bool GetIsCloudTrailEventHistoryEnabled() const { return m_isCloudTrailEventHistoryEnabled; }
251 inline void SetIsCloudTrailEventHistoryEnabled(bool value) {
252 m_isCloudTrailEventHistoryEnabledHasBeenSet = true;
253 m_isCloudTrailEventHistoryEnabled = value;
254 }
257 return *this;
258 }
260
262
267 inline const Aws::Vector<CrossAccountConfiguration>& GetCrossAccountConfigurations() const { return m_crossAccountConfigurations; }
268 template <typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
269 void SetCrossAccountConfigurations(CrossAccountConfigurationsT&& value) {
270 m_crossAccountConfigurationsHasBeenSet = true;
271 m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value);
272 }
273 template <typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
274 GetInvestigationGroupResult& WithCrossAccountConfigurations(CrossAccountConfigurationsT&& value) {
275 SetCrossAccountConfigurations(std::forward<CrossAccountConfigurationsT>(value));
276 return *this;
277 }
278 template <typename CrossAccountConfigurationsT = CrossAccountConfiguration>
279 GetInvestigationGroupResult& AddCrossAccountConfigurations(CrossAccountConfigurationsT&& value) {
280 m_crossAccountConfigurationsHasBeenSet = true;
281 m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value));
282 return *this;
283 }
285
287
288 inline const Aws::String& GetRequestId() const { return m_requestId; }
289 template <typename RequestIdT = Aws::String>
290 void SetRequestId(RequestIdT&& value) {
291 m_requestIdHasBeenSet = true;
292 m_requestId = std::forward<RequestIdT>(value);
293 }
294 template <typename RequestIdT = Aws::String>
296 SetRequestId(std::forward<RequestIdT>(value));
297 return *this;
298 }
300 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
301
302 private:
303 Aws::String m_createdBy;
304
305 long long m_createdAt{0};
306
307 Aws::String m_lastModifiedBy;
308
309 long long m_lastModifiedAt{0};
310
311 Aws::String m_name;
312
313 Aws::String m_arn;
314
315 Aws::String m_roleArn;
316
317 EncryptionConfiguration m_encryptionConfiguration;
318
319 long long m_retentionInDays{0};
320
321 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_chatbotNotificationChannel;
322
323 Aws::Vector<Aws::String> m_tagKeyBoundaries;
324
325 bool m_isCloudTrailEventHistoryEnabled{false};
326
327 Aws::Vector<CrossAccountConfiguration> m_crossAccountConfigurations;
328
329 Aws::String m_requestId;
330 Aws::Http::HttpResponseCode m_HttpResponseCode;
331 bool m_createdByHasBeenSet = false;
332 bool m_createdAtHasBeenSet = false;
333 bool m_lastModifiedByHasBeenSet = false;
334 bool m_lastModifiedAtHasBeenSet = false;
335 bool m_nameHasBeenSet = false;
336 bool m_arnHasBeenSet = false;
337 bool m_roleArnHasBeenSet = false;
338 bool m_encryptionConfigurationHasBeenSet = false;
339 bool m_retentionInDaysHasBeenSet = false;
340 bool m_chatbotNotificationChannelHasBeenSet = false;
341 bool m_tagKeyBoundariesHasBeenSet = false;
342 bool m_isCloudTrailEventHistoryEnabledHasBeenSet = false;
343 bool m_crossAccountConfigurationsHasBeenSet = false;
344 bool m_requestIdHasBeenSet = false;
345};
346
347} // namespace Model
348} // namespace AIOps
349} // namespace Aws
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetChatbotNotificationChannel() const
GetInvestigationGroupResult & WithCreatedAt(long long value)
GetInvestigationGroupResult & WithLastModifiedAt(long long value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_AIOPS_API GetInvestigationGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
GetInvestigationGroupResult & AddTagKeyBoundaries(TagKeyBoundariesT &&value)
GetInvestigationGroupResult & AddCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
GetInvestigationGroupResult & WithName(NameT &&value)
GetInvestigationGroupResult & WithRoleArn(RoleArnT &&value)
GetInvestigationGroupResult & WithIsCloudTrailEventHistoryEnabled(bool value)
GetInvestigationGroupResult & WithRequestId(RequestIdT &&value)
GetInvestigationGroupResult & AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT &&key, ChatbotNotificationChannelValueT &&value)
GetInvestigationGroupResult & WithCreatedBy(CreatedByT &&value)
GetInvestigationGroupResult & WithRetentionInDays(long long value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
GetInvestigationGroupResult & WithChatbotNotificationChannel(ChatbotNotificationChannelT &&value)
GetInvestigationGroupResult & WithTagKeyBoundaries(TagKeyBoundariesT &&value)
GetInvestigationGroupResult & WithArn(ArnT &&value)
AWS_AIOPS_API GetInvestigationGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AIOPS_API GetInvestigationGroupResult()=default
const Aws::Vector< Aws::String > & GetTagKeyBoundaries() const
GetInvestigationGroupResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::Vector< CrossAccountConfiguration > & GetCrossAccountConfigurations() const
GetInvestigationGroupResult & WithLastModifiedBy(LastModifiedByT &&value)
void SetChatbotNotificationChannel(ChatbotNotificationChannelT &&value)
GetInvestigationGroupResult & WithCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue