AWS SDK for C++

AWS SDK for C++ Version 1.11.641

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/aiops/model/EncryptionConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/aiops/model/CrossAccountConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace AIOps
28{
29namespace Model
30{
32 {
33 public:
34 AWS_AIOPS_API GetInvestigationGroupResult() = default;
37
38
40
43 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
44 template<typename CreatedByT = Aws::String>
45 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
46 template<typename CreatedByT = Aws::String>
47 GetInvestigationGroupResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
49
51
54 inline long long GetCreatedAt() const { return m_createdAt; }
55 inline void SetCreatedAt(long long value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
56 inline GetInvestigationGroupResult& WithCreatedAt(long long value) { SetCreatedAt(value); return *this;}
58
60
63 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
64 template<typename LastModifiedByT = Aws::String>
65 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
66 template<typename LastModifiedByT = Aws::String>
67 GetInvestigationGroupResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
69
71
75 inline long long GetLastModifiedAt() const { return m_lastModifiedAt; }
76 inline void SetLastModifiedAt(long long value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
77 inline GetInvestigationGroupResult& WithLastModifiedAt(long long value) { SetLastModifiedAt(value); return *this;}
79
81
84 inline const Aws::String& GetName() const { return m_name; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 GetInvestigationGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetArn() const { return m_arn; }
96 template<typename ArnT = Aws::String>
97 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
98 template<typename ArnT = Aws::String>
99 GetInvestigationGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
101
103
107 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
108 template<typename RoleArnT = Aws::String>
109 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
110 template<typename RoleArnT = Aws::String>
111 GetInvestigationGroupResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
113
115
120 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
121 template<typename EncryptionConfigurationT = EncryptionConfiguration>
122 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
123 template<typename EncryptionConfigurationT = EncryptionConfiguration>
124 GetInvestigationGroupResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
126
128
131 inline long long GetRetentionInDays() const { return m_retentionInDays; }
132 inline void SetRetentionInDays(long long value) { m_retentionInDaysHasBeenSet = true; m_retentionInDays = value; }
133 inline GetInvestigationGroupResult& WithRetentionInDays(long long value) { SetRetentionInDays(value); return *this;}
135
137
147 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetChatbotNotificationChannel() const { return m_chatbotNotificationChannel; }
148 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
149 void SetChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value); }
150 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
151 GetInvestigationGroupResult& WithChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { SetChatbotNotificationChannel(std::forward<ChatbotNotificationChannelT>(value)); return *this;}
152 template<typename ChatbotNotificationChannelKeyT = Aws::String, typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
153 GetInvestigationGroupResult& AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT&& key, ChatbotNotificationChannelValueT&& value) {
154 m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key), std::forward<ChatbotNotificationChannelValueT>(value)); return *this;
155 }
157
159
165 inline const Aws::Vector<Aws::String>& GetTagKeyBoundaries() const { return m_tagKeyBoundaries; }
166 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
167 void SetTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value); }
168 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
169 GetInvestigationGroupResult& WithTagKeyBoundaries(TagKeyBoundariesT&& value) { SetTagKeyBoundaries(std::forward<TagKeyBoundariesT>(value)); return *this;}
170 template<typename TagKeyBoundariesT = Aws::String>
171 GetInvestigationGroupResult& AddTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value)); return *this; }
173
175
179 inline bool GetIsCloudTrailEventHistoryEnabled() const { return m_isCloudTrailEventHistoryEnabled; }
180 inline void SetIsCloudTrailEventHistoryEnabled(bool value) { m_isCloudTrailEventHistoryEnabledHasBeenSet = true; m_isCloudTrailEventHistoryEnabled = value; }
183
185
190 inline const Aws::Vector<CrossAccountConfiguration>& GetCrossAccountConfigurations() const { return m_crossAccountConfigurations; }
191 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
192 void SetCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value); }
193 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
194 GetInvestigationGroupResult& WithCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { SetCrossAccountConfigurations(std::forward<CrossAccountConfigurationsT>(value)); return *this;}
195 template<typename CrossAccountConfigurationsT = CrossAccountConfiguration>
196 GetInvestigationGroupResult& AddCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value)); return *this; }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template<typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
204 template<typename RequestIdT = Aws::String>
205 GetInvestigationGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
207 private:
208
209 Aws::String m_createdBy;
210 bool m_createdByHasBeenSet = false;
211
212 long long m_createdAt{0};
213 bool m_createdAtHasBeenSet = false;
214
215 Aws::String m_lastModifiedBy;
216 bool m_lastModifiedByHasBeenSet = false;
217
218 long long m_lastModifiedAt{0};
219 bool m_lastModifiedAtHasBeenSet = false;
220
221 Aws::String m_name;
222 bool m_nameHasBeenSet = false;
223
224 Aws::String m_arn;
225 bool m_arnHasBeenSet = false;
226
227 Aws::String m_roleArn;
228 bool m_roleArnHasBeenSet = false;
229
230 EncryptionConfiguration m_encryptionConfiguration;
231 bool m_encryptionConfigurationHasBeenSet = false;
232
233 long long m_retentionInDays{0};
234 bool m_retentionInDaysHasBeenSet = false;
235
236 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_chatbotNotificationChannel;
237 bool m_chatbotNotificationChannelHasBeenSet = false;
238
239 Aws::Vector<Aws::String> m_tagKeyBoundaries;
240 bool m_tagKeyBoundariesHasBeenSet = false;
241
242 bool m_isCloudTrailEventHistoryEnabled{false};
243 bool m_isCloudTrailEventHistoryEnabledHasBeenSet = false;
244
245 Aws::Vector<CrossAccountConfiguration> m_crossAccountConfigurations;
246 bool m_crossAccountConfigurationsHasBeenSet = false;
247
248 Aws::String m_requestId;
249 bool m_requestIdHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace AIOps
254} // 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