AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateInvestigationGroupRequest.h
1
6#pragma once
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>
14
15#include <utility>
16
17namespace Aws {
18namespace AIOps {
19namespace Model {
20
24 public:
25 AWS_AIOPS_API UpdateInvestigationGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateInvestigationGroup"; }
32
33 AWS_AIOPS_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53
55
65 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
66 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
67 template <typename RoleArnT = Aws::String>
68 void SetRoleArn(RoleArnT&& value) {
69 m_roleArnHasBeenSet = true;
70 m_roleArn = std::forward<RoleArnT>(value);
71 }
72 template <typename RoleArnT = Aws::String>
74 SetRoleArn(std::forward<RoleArnT>(value));
75 return *this;
76 }
78
80
88 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
89 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
90 template <typename EncryptionConfigurationT = EncryptionConfiguration>
91 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
92 m_encryptionConfigurationHasBeenSet = true;
93 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
94 }
95 template <typename EncryptionConfigurationT = EncryptionConfiguration>
97 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
98 return *this;
99 }
101
103
116 inline const Aws::Vector<Aws::String>& GetTagKeyBoundaries() const { return m_tagKeyBoundaries; }
117 inline bool TagKeyBoundariesHasBeenSet() const { return m_tagKeyBoundariesHasBeenSet; }
118 template <typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
119 void SetTagKeyBoundaries(TagKeyBoundariesT&& value) {
120 m_tagKeyBoundariesHasBeenSet = true;
121 m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value);
122 }
123 template <typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
125 SetTagKeyBoundaries(std::forward<TagKeyBoundariesT>(value));
126 return *this;
127 }
128 template <typename TagKeyBoundariesT = Aws::String>
130 m_tagKeyBoundariesHasBeenSet = true;
131 m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value));
132 return *this;
133 }
135
137
149 return m_chatbotNotificationChannel;
150 }
151 inline bool ChatbotNotificationChannelHasBeenSet() const { return m_chatbotNotificationChannelHasBeenSet; }
152 template <typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
153 void SetChatbotNotificationChannel(ChatbotNotificationChannelT&& value) {
154 m_chatbotNotificationChannelHasBeenSet = true;
155 m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value);
156 }
157 template <typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
159 SetChatbotNotificationChannel(std::forward<ChatbotNotificationChannelT>(value));
160 return *this;
161 }
162 template <typename ChatbotNotificationChannelKeyT = Aws::String, typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
164 ChatbotNotificationChannelValueT&& value) {
165 m_chatbotNotificationChannelHasBeenSet = true;
166 m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key),
167 std::forward<ChatbotNotificationChannelValueT>(value));
168 return *this;
169 }
171
173
178 inline bool GetIsCloudTrailEventHistoryEnabled() const { return m_isCloudTrailEventHistoryEnabled; }
179 inline bool IsCloudTrailEventHistoryEnabledHasBeenSet() const { return m_isCloudTrailEventHistoryEnabledHasBeenSet; }
180 inline void SetIsCloudTrailEventHistoryEnabled(bool value) {
181 m_isCloudTrailEventHistoryEnabledHasBeenSet = true;
182 m_isCloudTrailEventHistoryEnabled = value;
183 }
186 return *this;
187 }
189
191
195 inline const Aws::Vector<CrossAccountConfiguration>& GetCrossAccountConfigurations() const { return m_crossAccountConfigurations; }
196 inline bool CrossAccountConfigurationsHasBeenSet() const { return m_crossAccountConfigurationsHasBeenSet; }
197 template <typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
198 void SetCrossAccountConfigurations(CrossAccountConfigurationsT&& value) {
199 m_crossAccountConfigurationsHasBeenSet = true;
200 m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value);
201 }
202 template <typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
204 SetCrossAccountConfigurations(std::forward<CrossAccountConfigurationsT>(value));
205 return *this;
206 }
207 template <typename CrossAccountConfigurationsT = CrossAccountConfiguration>
209 m_crossAccountConfigurationsHasBeenSet = true;
210 m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value));
211 return *this;
212 }
214 private:
215 Aws::String m_identifier;
216
217 Aws::String m_roleArn;
218
219 EncryptionConfiguration m_encryptionConfiguration;
220
221 Aws::Vector<Aws::String> m_tagKeyBoundaries;
222
223 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_chatbotNotificationChannel;
224
225 bool m_isCloudTrailEventHistoryEnabled{false};
226
227 Aws::Vector<CrossAccountConfiguration> m_crossAccountConfigurations;
228 bool m_identifierHasBeenSet = false;
229 bool m_roleArnHasBeenSet = false;
230 bool m_encryptionConfigurationHasBeenSet = false;
231 bool m_tagKeyBoundariesHasBeenSet = false;
232 bool m_chatbotNotificationChannelHasBeenSet = false;
233 bool m_isCloudTrailEventHistoryEnabledHasBeenSet = false;
234 bool m_crossAccountConfigurationsHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace AIOps
239} // 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