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/CreateIamIdentityCenterConfigOptions.h>
12#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
13#include <aws/opensearchserverless/model/SamlConfigOptions.h>
14#include <aws/opensearchserverless/model/SecurityConfigType.h>
19namespace OpenSearchServerless {
45 m_typeHasBeenSet =
true;
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
98 template <
typename SamlOptionsT = SamlConfigOptions>
100 m_samlOptionsHasBeenSet =
true;
101 m_samlOptions = std::forward<SamlOptionsT>(value);
103 template <
typename SamlOptionsT = SamlConfigOptions>
117 template <
typename IamIdentityCenterOptionsT = CreateIamIdentityCenterConfigOptions>
119 m_iamIdentityCenterOptionsHasBeenSet =
true;
120 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
122 template <
typename IamIdentityCenterOptionsT = CreateIamIdentityCenterConfigOptions>
137 template <
typename IamFederationOptionsT = IamFederationConfigOptions>
139 m_iamFederationOptionsHasBeenSet =
true;
140 m_iamFederationOptions = std::forward<IamFederationOptionsT>(value);
142 template <
typename IamFederationOptionsT = IamFederationConfigOptions>
155 template <
typename ClientTokenT = Aws::String>
157 m_clientTokenHasBeenSet =
true;
158 m_clientToken = std::forward<ClientTokenT>(value);
160 template <
typename ClientTokenT = Aws::String>
173 SamlConfigOptions m_samlOptions;
175 CreateIamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
177 IamFederationConfigOptions m_iamFederationOptions;
180 bool m_typeHasBeenSet =
false;
181 bool m_nameHasBeenSet =
false;
182 bool m_descriptionHasBeenSet =
false;
183 bool m_samlOptionsHasBeenSet =
false;
184 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
185 bool m_iamFederationOptionsHasBeenSet =
false;
186 bool m_clientTokenHasBeenSet =
true;
CreateSecurityConfigRequest & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
void SetSamlOptions(SamlOptionsT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
void SetType(SecurityConfigType value)
void SetIamFederationOptions(IamFederationOptionsT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
const Aws::String & GetName() const
bool TypeHasBeenSet() const
bool SamlOptionsHasBeenSet() const
CreateSecurityConfigRequest & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
SecurityConfigType GetType() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
void SetName(NameT &&value)
const SamlConfigOptions & GetSamlOptions() const
CreateSecurityConfigRequest & WithDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(ClientTokenT &&value)
const CreateIamIdentityCenterConfigOptions & GetIamIdentityCenterOptions() const
const IamFederationConfigOptions & GetIamFederationOptions() const
CreateSecurityConfigRequest & WithSamlOptions(SamlOptionsT &&value)
const Aws::String & GetDescription() const
AWS_OPENSEARCHSERVERLESS_API CreateSecurityConfigRequest()=default
CreateSecurityConfigRequest & WithType(SecurityConfigType value)
bool IamFederationOptionsHasBeenSet() const
bool IamIdentityCenterOptionsHasBeenSet() const
CreateSecurityConfigRequest & WithIamFederationOptions(IamFederationOptionsT &&value)
CreateSecurityConfigRequest & WithClientToken(ClientTokenT &&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