AWS SDK for C++

AWS SDK for C++ Version 1.11.638

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
63 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
64 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
65 template<typename RoleArnT = Aws::String>
66 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
67 template<typename RoleArnT = Aws::String>
68 UpdateInvestigationGroupRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
70
72
80 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
81 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
82 template<typename EncryptionConfigurationT = EncryptionConfiguration>
83 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
84 template<typename EncryptionConfigurationT = EncryptionConfiguration>
85 UpdateInvestigationGroupRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
87
89
102 inline const Aws::Vector<Aws::String>& GetTagKeyBoundaries() const { return m_tagKeyBoundaries; }
103 inline bool TagKeyBoundariesHasBeenSet() const { return m_tagKeyBoundariesHasBeenSet; }
104 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
105 void SetTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries = std::forward<TagKeyBoundariesT>(value); }
106 template<typename TagKeyBoundariesT = Aws::Vector<Aws::String>>
107 UpdateInvestigationGroupRequest& WithTagKeyBoundaries(TagKeyBoundariesT&& value) { SetTagKeyBoundaries(std::forward<TagKeyBoundariesT>(value)); return *this;}
108 template<typename TagKeyBoundariesT = Aws::String>
109 UpdateInvestigationGroupRequest& AddTagKeyBoundaries(TagKeyBoundariesT&& value) { m_tagKeyBoundariesHasBeenSet = true; m_tagKeyBoundaries.emplace_back(std::forward<TagKeyBoundariesT>(value)); return *this; }
111
113
124 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetChatbotNotificationChannel() const { return m_chatbotNotificationChannel; }
125 inline bool ChatbotNotificationChannelHasBeenSet() const { return m_chatbotNotificationChannelHasBeenSet; }
126 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
127 void SetChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel = std::forward<ChatbotNotificationChannelT>(value); }
128 template<typename ChatbotNotificationChannelT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
129 UpdateInvestigationGroupRequest& WithChatbotNotificationChannel(ChatbotNotificationChannelT&& value) { SetChatbotNotificationChannel(std::forward<ChatbotNotificationChannelT>(value)); return *this;}
130 template<typename ChatbotNotificationChannelKeyT = Aws::String, typename ChatbotNotificationChannelValueT = Aws::Vector<Aws::String>>
131 UpdateInvestigationGroupRequest& AddChatbotNotificationChannel(ChatbotNotificationChannelKeyT&& key, ChatbotNotificationChannelValueT&& value) {
132 m_chatbotNotificationChannelHasBeenSet = true; m_chatbotNotificationChannel.emplace(std::forward<ChatbotNotificationChannelKeyT>(key), std::forward<ChatbotNotificationChannelValueT>(value)); return *this;
133 }
135
137
142 inline bool GetIsCloudTrailEventHistoryEnabled() const { return m_isCloudTrailEventHistoryEnabled; }
143 inline bool IsCloudTrailEventHistoryEnabledHasBeenSet() const { return m_isCloudTrailEventHistoryEnabledHasBeenSet; }
144 inline void SetIsCloudTrailEventHistoryEnabled(bool value) { m_isCloudTrailEventHistoryEnabledHasBeenSet = true; m_isCloudTrailEventHistoryEnabled = value; }
147
149
153 inline const Aws::Vector<CrossAccountConfiguration>& GetCrossAccountConfigurations() const { return m_crossAccountConfigurations; }
154 inline bool CrossAccountConfigurationsHasBeenSet() const { return m_crossAccountConfigurationsHasBeenSet; }
155 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
156 void SetCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations = std::forward<CrossAccountConfigurationsT>(value); }
157 template<typename CrossAccountConfigurationsT = Aws::Vector<CrossAccountConfiguration>>
158 UpdateInvestigationGroupRequest& WithCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { SetCrossAccountConfigurations(std::forward<CrossAccountConfigurationsT>(value)); return *this;}
159 template<typename CrossAccountConfigurationsT = CrossAccountConfiguration>
160 UpdateInvestigationGroupRequest& AddCrossAccountConfigurations(CrossAccountConfigurationsT&& value) { m_crossAccountConfigurationsHasBeenSet = true; m_crossAccountConfigurations.emplace_back(std::forward<CrossAccountConfigurationsT>(value)); return *this; }
162 private:
163
164 Aws::String m_identifier;
165 bool m_identifierHasBeenSet = false;
166
167 Aws::String m_roleArn;
168 bool m_roleArnHasBeenSet = false;
169
170 EncryptionConfiguration m_encryptionConfiguration;
171 bool m_encryptionConfigurationHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_tagKeyBoundaries;
174 bool m_tagKeyBoundariesHasBeenSet = false;
175
176 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_chatbotNotificationChannel;
177 bool m_chatbotNotificationChannelHasBeenSet = false;
178
179 bool m_isCloudTrailEventHistoryEnabled{false};
180 bool m_isCloudTrailEventHistoryEnabledHasBeenSet = false;
181
182 Aws::Vector<CrossAccountConfiguration> m_crossAccountConfigurations;
183 bool m_crossAccountConfigurationsHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace AIOps
188} // 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