7#include <aws/aiops/AIOpsRequest.h>
8#include <aws/aiops/AIOps_EXPORTS.h>
9#include <aws/aiops/model/CrossAccountConfiguration.h>
10#include <aws/aiops/model/EncryptionConfiguration.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>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
65 template <
typename RoleArnT = Aws::String>
67 m_roleArnHasBeenSet =
true;
68 m_roleArn = std::forward<RoleArnT>(value);
70 template <
typename RoleArnT = Aws::String>
88 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
90 m_encryptionConfigurationHasBeenSet =
true;
91 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
93 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
111 m_retentionInDaysHasBeenSet =
true;
112 m_retentionInDays = value;
132 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 m_tagsHasBeenSet =
true;
135 m_tags = std::forward<TagsT>(value);
137 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 SetTags(std::forward<TagsT>(value));
142 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
144 m_tagsHasBeenSet =
true;
145 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
166 template <
typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
168 m_tagKeyBoundariesHasBeenSet =
true;
169 m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value);
171 template <
typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
176 template <
typename TagKeyBoundariesT = Aws::String>
178 m_tagKeyBoundariesHasBeenSet =
true;
179 m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value));
197 return m_chatbotNotificationChannel;
200 template <
typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
202 m_chatbotNotificationChannelHasBeenSet =
true;
203 m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value);
205 template <
typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
210 template <
typename ChatbotNotificationChannelKeyT = Aws::String,
typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
212 ChatbotNotificationChannelValueT&& value) {
213 m_chatbotNotificationChannelHasBeenSet =
true;
214 m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key),
215 std::forward<ChatbotNotificationChannelValueT>(value));
229 m_isCloudTrailEventHistoryEnabledHasBeenSet =
true;
230 m_isCloudTrailEventHistoryEnabled = value;
245 template <
typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
247 m_crossAccountConfigurationsHasBeenSet =
true;
248 m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value);
250 template <
typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
255 template <
typename CrossAccountConfigurationsT = CrossAccountConfiguration>
257 m_crossAccountConfigurationsHasBeenSet =
true;
258 m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value));
269 long long m_retentionInDays{0};
277 bool m_isCloudTrailEventHistoryEnabled{
false};
280 bool m_nameHasBeenSet =
false;
281 bool m_roleArnHasBeenSet =
false;
282 bool m_encryptionConfigurationHasBeenSet =
false;
283 bool m_retentionInDaysHasBeenSet =
false;
284 bool m_tagsHasBeenSet =
false;
285 bool m_tagKeyBoundariesHasBeenSet =
false;
286 bool m_chatbotNotificationChannelHasBeenSet =
false;
287 bool m_isCloudTrailEventHistoryEnabledHasBeenSet =
false;
288 bool m_crossAccountConfigurationsHasBeenSet =
false;
void SetRetentionInDays(long long value)
const Aws::Vector< Aws::String > & GetTagKeyBoundaries() const
void SetName(NameT &&value)
bool TagsHasBeenSet() const
AWS_AIOPS_API CreateInvestigationGroupRequest()=default
CreateInvestigationGroupRequest & AddTagKeyBoundaries(TagKeyBoundariesT &&value)
CreateInvestigationGroupRequest & WithTagKeyBoundaries(TagKeyBoundariesT &&value)
void SetIsCloudTrailEventHistoryEnabled(bool value)
CreateInvestigationGroupRequest & WithChatbotNotificationChannel(ChatbotNotificationChannelT &&value)
bool RetentionInDaysHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateInvestigationGroupRequest & WithRetentionInDays(long long value)
bool TagKeyBoundariesHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetChatbotNotificationChannel() const
void SetTags(TagsT &&value)
bool GetIsCloudTrailEventHistoryEnabled() const
const Aws::Vector< CrossAccountConfiguration > & GetCrossAccountConfigurations() const
CreateInvestigationGroupRequest & WithName(NameT &&value)
const Aws::String & GetRoleArn() const
void SetRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
bool IsCloudTrailEventHistoryEnabledHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool EncryptionConfigurationHasBeenSet() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateInvestigationGroupRequest & WithIsCloudTrailEventHistoryEnabled(bool value)
CreateInvestigationGroupRequest & AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT &&key, ChatbotNotificationChannelValueT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetChatbotNotificationChannel(ChatbotNotificationChannelT &&value)
CreateInvestigationGroupRequest & WithTags(TagsT &&value)
long long GetRetentionInDays() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateInvestigationGroupRequest & WithCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
CreateInvestigationGroupRequest & WithRoleArn(RoleArnT &&value)
void SetTagKeyBoundaries(TagKeyBoundariesT &&value)
CreateInvestigationGroupRequest & AddCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
void SetCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
AWS_AIOPS_API Aws::String SerializePayload() const override
CreateInvestigationGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ChatbotNotificationChannelHasBeenSet() const
CreateInvestigationGroupRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
bool CrossAccountConfigurationsHasBeenSet() const
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