AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetInvestigationGroupResult.h
1
6#pragma once
7#include <aws/aiops/AIOps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/aiops/model/EncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/aiops/model/CrossAccountConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace AIOps
29{
30namespace Model
31{
33 {
34 public:
35 AWS_AIOPS_API GetInvestigationGroupResult() = default;
38
39
41
44 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
45 template<typename CreatedByT = Aws::String>
46 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
47 template<typename CreatedByT = Aws::String>
48 GetInvestigationGroupResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
56 template<typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<typename CreatedAtT = Aws::Utils::DateTime>
59 GetInvestigationGroupResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
61
63
66 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
67 template<typename LastModifiedByT = Aws::String>
68 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
69 template<typename LastModifiedByT = Aws::String>
70 GetInvestigationGroupResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
79 template<typename LastModifiedAtT = Aws::Utils::DateTime>
80 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
81 template<typename LastModifiedAtT = Aws::Utils::DateTime>
82 GetInvestigationGroupResult& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
84
86
89 inline const Aws::String& GetName() const { return m_name; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 GetInvestigationGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95
97
100 inline const Aws::String& GetArn() const { return m_arn; }
101 template<typename ArnT = Aws::String>
102 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
103 template<typename ArnT = Aws::String>
104 GetInvestigationGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
106
108
112 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
113 template<typename RoleArnT = Aws::String>
114 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
115 template<typename RoleArnT = Aws::String>
116 GetInvestigationGroupResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
118
120
125 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
126 template<typename EncryptionConfigurationT = EncryptionConfiguration>
127 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
128 template<typename EncryptionConfigurationT = EncryptionConfiguration>
129 GetInvestigationGroupResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
131
133
136 inline long long GetRetentionInDays() const { return m_retentionInDays; }
137 inline void SetRetentionInDays(long long value) { m_retentionInDaysHasBeenSet = true; m_retentionInDays = value; }
138 inline GetInvestigationGroupResult& WithRetentionInDays(long long value) { SetRetentionInDays(value); return *this;}
140
142
152 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetChatbotNotificationChannel() const { return m_chatbotNotificationChannel; }
153 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
154 void SetChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value); }
155 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
156 GetInvestigationGroupResult& WithChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { SetChatbotNotificationChannel(std::forward<ChatbotNotificationChannelT>(value)); return *this;}
157 template<typename ChatbotNotificationChannelKeyT = Aws::String, typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
158 GetInvestigationGroupResult& AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT&& key, ChatbotNotificationChannelValueT&& value) {
159 m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key), std::forward<ChatbotNotificationChannelValueT>(value)); return *this;
160 }
162
164
170 inline const Aws::Vector<Aws::String>& GetTagKeyBoundaries() const { return m_tagKeyBoundaries; }
171 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
172 void SetTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value); }
173 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
174 GetInvestigationGroupResult& WithTagKeyBoundaries(TagKeyBoundariesT&& value) { SetTagKeyBoundaries(std::forward<TagKeyBoundariesT>(value)); return *this;}
175 template<typename TagKeyBoundariesT = Aws::String>
176 GetInvestigationGroupResult& AddTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value)); return *this; }
178
180
184 inline bool GetIsCloudTrailEventHistoryEnabled() const { return m_isCloudTrailEventHistoryEnabled; }
185 inline void SetIsCloudTrailEventHistoryEnabled(bool value) { m_isCloudTrailEventHistoryEnabledHasBeenSet = true; m_isCloudTrailEventHistoryEnabled = value; }
188
190
195 inline const Aws::Vector<CrossAccountConfiguration>& GetCrossAccountConfigurations() const { return m_crossAccountConfigurations; }
196 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
197 void SetCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value); }
198 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
199 GetInvestigationGroupResult& WithCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { SetCrossAccountConfigurations(std::forward<CrossAccountConfigurationsT>(value)); return *this;}
200 template<typename CrossAccountConfigurationsT = CrossAccountConfiguration>
201 GetInvestigationGroupResult& AddCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value)); return *this; }
203
205
206 inline const Aws::String& GetRequestId() const { return m_requestId; }
207 template<typename RequestIdT = Aws::String>
208 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
209 template<typename RequestIdT = Aws::String>
210 GetInvestigationGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
212 private:
213
214 Aws::String m_createdBy;
215 bool m_createdByHasBeenSet = false;
216
217 Aws::Utils::DateTime m_createdAt{};
218 bool m_createdAtHasBeenSet = false;
219
220 Aws::String m_lastModifiedBy;
221 bool m_lastModifiedByHasBeenSet = false;
222
223 Aws::Utils::DateTime m_lastModifiedAt{};
224 bool m_lastModifiedAtHasBeenSet = false;
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
229 Aws::String m_arn;
230 bool m_arnHasBeenSet = false;
231
232 Aws::String m_roleArn;
233 bool m_roleArnHasBeenSet = false;
234
235 EncryptionConfiguration m_encryptionConfiguration;
236 bool m_encryptionConfigurationHasBeenSet = false;
237
238 long long m_retentionInDays{0};
239 bool m_retentionInDaysHasBeenSet = false;
240
241 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_chatbotNotificationChannel;
242 bool m_chatbotNotificationChannelHasBeenSet = false;
243
244 Aws::Vector<Aws::String> m_tagKeyBoundaries;
245 bool m_tagKeyBoundariesHasBeenSet = false;
246
247 bool m_isCloudTrailEventHistoryEnabled{false};
248 bool m_isCloudTrailEventHistoryEnabledHasBeenSet = false;
249
250 Aws::Vector<CrossAccountConfiguration> m_crossAccountConfigurations;
251 bool m_crossAccountConfigurationsHasBeenSet = false;
252
253 Aws::String m_requestId;
254 bool m_requestIdHasBeenSet = false;
255 };
256
257} // namespace Model
258} // namespace AIOps
259} // namespace Aws
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetChatbotNotificationChannel() const
GetInvestigationGroupResult & WithCreatedAt(CreatedAtT &&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)
const Aws::Utils::DateTime & GetLastModifiedAt() const
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)
GetInvestigationGroupResult & WithLastModifiedAt(LastModifiedAtT &&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