AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateInvestigationGroupRequest.h
1
6#pragma once
7#include <aws/aiops/AIOps_EXPORTS.h>
8#include <aws/aiops/AIOpsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/aiops/model/EncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/aiops/model/CrossAccountConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace AIOps
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_AIOPS_API UpdateInvestigationGroupRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateInvestigationGroup"; }
35
36 AWS_AIOPS_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetIdentifier() const { return m_identifier; }
45 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
46 template<typename IdentifierT = Aws::String>
47 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
48 template<typename IdentifierT = Aws::String>
49 UpdateInvestigationGroupRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
51
53
62 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
63 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
64 template<typename RoleArnT = Aws::String>
65 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
66 template<typename RoleArnT = Aws::String>
67 UpdateInvestigationGroupRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
69
71
79 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
80 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
81 template<typename EncryptionConfigurationT = EncryptionConfiguration>
82 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
83 template<typename EncryptionConfigurationT = EncryptionConfiguration>
84 UpdateInvestigationGroupRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
86
88
100 inline const Aws::Vector<Aws::String>& GetTagKeyBoundaries() const { return m_tagKeyBoundaries; }
101 inline bool TagKeyBoundariesHasBeenSet() const { return m_tagKeyBoundariesHasBeenSet; }
102 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
103 void SetTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value); }
104 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
105 UpdateInvestigationGroupRequest& WithTagKeyBoundaries(TagKeyBoundariesT&& value) { SetTagKeyBoundaries(std::forward<TagKeyBoundariesT>(value)); return *this;}
106 template<typename TagKeyBoundariesT = Aws::String>
107 UpdateInvestigationGroupRequest& AddTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value)); return *this; }
109
111
123 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetChatbotNotificationChannel() const { return m_chatbotNotificationChannel; }
124 inline bool ChatbotNotificationChannelHasBeenSet() const { return m_chatbotNotificationChannelHasBeenSet; }
125 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
126 void SetChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value); }
127 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
128 UpdateInvestigationGroupRequest& WithChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { SetChatbotNotificationChannel(std::forward<ChatbotNotificationChannelT>(value)); return *this;}
129 template<typename ChatbotNotificationChannelKeyT = Aws::String, typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
130 UpdateInvestigationGroupRequest& AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT&& key, ChatbotNotificationChannelValueT&& value) {
131 m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key), std::forward<ChatbotNotificationChannelValueT>(value)); return *this;
132 }
134
136
141 inline bool GetIsCloudTrailEventHistoryEnabled() const { return m_isCloudTrailEventHistoryEnabled; }
142 inline bool IsCloudTrailEventHistoryEnabledHasBeenSet() const { return m_isCloudTrailEventHistoryEnabledHasBeenSet; }
143 inline void SetIsCloudTrailEventHistoryEnabled(bool value) { m_isCloudTrailEventHistoryEnabledHasBeenSet = true; m_isCloudTrailEventHistoryEnabled = value; }
146
148
152 inline const Aws::Vector<CrossAccountConfiguration>& GetCrossAccountConfigurations() const { return m_crossAccountConfigurations; }
153 inline bool CrossAccountConfigurationsHasBeenSet() const { return m_crossAccountConfigurationsHasBeenSet; }
154 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
155 void SetCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value); }
156 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
157 UpdateInvestigationGroupRequest& WithCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { SetCrossAccountConfigurations(std::forward<CrossAccountConfigurationsT>(value)); return *this;}
158 template<typename CrossAccountConfigurationsT = CrossAccountConfiguration>
159 UpdateInvestigationGroupRequest& AddCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value)); return *this; }
161 private:
162
163 Aws::String m_identifier;
164 bool m_identifierHasBeenSet = false;
165
166 Aws::String m_roleArn;
167 bool m_roleArnHasBeenSet = false;
168
169 EncryptionConfiguration m_encryptionConfiguration;
170 bool m_encryptionConfigurationHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_tagKeyBoundaries;
173 bool m_tagKeyBoundariesHasBeenSet = false;
174
175 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_chatbotNotificationChannel;
176 bool m_chatbotNotificationChannelHasBeenSet = false;
177
178 bool m_isCloudTrailEventHistoryEnabled{false};
179 bool m_isCloudTrailEventHistoryEnabledHasBeenSet = false;
180
181 Aws::Vector<CrossAccountConfiguration> m_crossAccountConfigurations;
182 bool m_crossAccountConfigurationsHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace AIOps
187} // namespace Aws
AWS_AIOPS_API Aws::String SerializePayload() const override
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
UpdateInvestigationGroupRequest & WithIsCloudTrailEventHistoryEnabled(bool value)
UpdateInvestigationGroupRequest & WithIdentifier(IdentifierT &&value)
UpdateInvestigationGroupRequest & AddTagKeyBoundaries(TagKeyBoundariesT &&value)
UpdateInvestigationGroupRequest & AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT &&key, ChatbotNotificationChannelValueT &&value)
UpdateInvestigationGroupRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
UpdateInvestigationGroupRequest & WithTagKeyBoundaries(TagKeyBoundariesT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetChatbotNotificationChannel() const
void SetCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
UpdateInvestigationGroupRequest & WithRoleArn(RoleArnT &&value)
UpdateInvestigationGroupRequest & WithCrossAccountConfigurations(CrossAccountConfigurationsT &&value)
void SetChatbotNotificationChannel(ChatbotNotificationChannelT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const Aws::Vector< Aws::String > & GetTagKeyBoundaries() const
UpdateInvestigationGroupRequest & WithChatbotNotificationChannel(ChatbotNotificationChannelT &&value)
const Aws::Vector< CrossAccountConfiguration > & GetCrossAccountConfigurations() const
UpdateInvestigationGroupRequest & AddCrossAccountConfigurations(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