AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateSecurityConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
11#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
12#include <aws/opensearchserverless/model/SamlConfigOptions.h>
13#include <aws/opensearchserverless/model/UpdateIamIdentityCenterConfigOptions.h>
14
15#include <utility>
16
17namespace Aws {
18namespace OpenSearchServerless {
19namespace Model {
20
24 public:
25 AWS_OPENSEARCHSERVERLESS_API UpdateSecurityConfigRequest() = 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 "UpdateSecurityConfig"; }
32
33 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
34
35 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
64 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
65 template <typename ConfigVersionT = Aws::String>
66 void SetConfigVersion(ConfigVersionT&& value) {
67 m_configVersionHasBeenSet = true;
68 m_configVersion = std::forward<ConfigVersionT>(value);
69 }
70 template <typename ConfigVersionT = Aws::String>
72 SetConfigVersion(std::forward<ConfigVersionT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const SamlConfigOptions& GetSamlOptions() const { return m_samlOptions; }
100 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
101 template <typename SamlOptionsT = SamlConfigOptions>
102 void SetSamlOptions(SamlOptionsT&& value) {
103 m_samlOptionsHasBeenSet = true;
104 m_samlOptions = std::forward<SamlOptionsT>(value);
105 }
106 template <typename SamlOptionsT = SamlConfigOptions>
108 SetSamlOptions(std::forward<SamlOptionsT>(value));
109 return *this;
110 }
112
114
118 return m_iamIdentityCenterOptionsUpdates;
119 }
120 inline bool IamIdentityCenterOptionsUpdatesHasBeenSet() const { return m_iamIdentityCenterOptionsUpdatesHasBeenSet; }
121 template <typename IamIdentityCenterOptionsUpdatesT = UpdateIamIdentityCenterConfigOptions>
122 void SetIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT&& value) {
123 m_iamIdentityCenterOptionsUpdatesHasBeenSet = true;
124 m_iamIdentityCenterOptionsUpdates = std::forward<IamIdentityCenterOptionsUpdatesT>(value);
125 }
126 template <typename IamIdentityCenterOptionsUpdatesT = UpdateIamIdentityCenterConfigOptions>
127 UpdateSecurityConfigRequest& WithIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT&& value) {
128 SetIamIdentityCenterOptionsUpdates(std::forward<IamIdentityCenterOptionsUpdatesT>(value));
129 return *this;
130 }
132
134
139 inline const IamFederationConfigOptions& GetIamFederationOptions() const { return m_iamFederationOptions; }
140 inline bool IamFederationOptionsHasBeenSet() const { return m_iamFederationOptionsHasBeenSet; }
141 template <typename IamFederationOptionsT = IamFederationConfigOptions>
142 void SetIamFederationOptions(IamFederationOptionsT&& value) {
143 m_iamFederationOptionsHasBeenSet = true;
144 m_iamFederationOptions = std::forward<IamFederationOptionsT>(value);
145 }
146 template <typename IamFederationOptionsT = IamFederationConfigOptions>
148 SetIamFederationOptions(std::forward<IamFederationOptionsT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetClientToken() const { return m_clientToken; }
158 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
159 template <typename ClientTokenT = Aws::String>
160 void SetClientToken(ClientTokenT&& value) {
161 m_clientTokenHasBeenSet = true;
162 m_clientToken = std::forward<ClientTokenT>(value);
163 }
164 template <typename ClientTokenT = Aws::String>
166 SetClientToken(std::forward<ClientTokenT>(value));
167 return *this;
168 }
170 private:
171 Aws::String m_id;
172
173 Aws::String m_configVersion;
174
175 Aws::String m_description;
176
177 SamlConfigOptions m_samlOptions;
178
179 UpdateIamIdentityCenterConfigOptions m_iamIdentityCenterOptionsUpdates;
180
181 IamFederationConfigOptions m_iamFederationOptions;
182
184 bool m_idHasBeenSet = false;
185 bool m_configVersionHasBeenSet = false;
186 bool m_descriptionHasBeenSet = false;
187 bool m_samlOptionsHasBeenSet = false;
188 bool m_iamIdentityCenterOptionsUpdatesHasBeenSet = false;
189 bool m_iamFederationOptionsHasBeenSet = false;
190 bool m_clientTokenHasBeenSet = true;
191};
192
193} // namespace Model
194} // namespace OpenSearchServerless
195} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
UpdateSecurityConfigRequest & WithIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT &&value)
UpdateSecurityConfigRequest & WithConfigVersion(ConfigVersionT &&value)
const UpdateIamIdentityCenterConfigOptions & GetIamIdentityCenterOptionsUpdates() const
UpdateSecurityConfigRequest & WithSamlOptions(SamlOptionsT &&value)
UpdateSecurityConfigRequest & WithIamFederationOptions(IamFederationOptionsT &&value)
UpdateSecurityConfigRequest & WithClientToken(ClientTokenT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateSecurityConfigRequest()=default
UpdateSecurityConfigRequest & WithDescription(DescriptionT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String