7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/opensearchserverless/model/SecurityConfigType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/opensearchserverless/model/SamlConfigOptions.h>
12#include <aws/opensearchserverless/model/CreateIamIdentityCenterConfigOptions.h>
13#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
15#include <aws/core/utils/UUID.h>
19namespace OpenSearchServerless
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
84 template<
typename SamlOptionsT = SamlConfigOptions>
85 void SetSamlOptions(SamlOptionsT&& value) { m_samlOptionsHasBeenSet =
true; m_samlOptions = std::forward<SamlOptionsT>(value); }
86 template<
typename SamlOptionsT = SamlConfigOptions>
97 template<
typename IamIdentityCenterOptionsT = CreateIamIdentityCenterConfigOptions>
98 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet =
true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
99 template<
typename IamIdentityCenterOptionsT = CreateIamIdentityCenterConfigOptions>
111 template<
typename IamFederationOptionsT = IamFederationConfigOptions>
112 void SetIamFederationOptions(IamFederationOptionsT&& value) { m_iamFederationOptionsHasBeenSet =
true; m_iamFederationOptions = std::forward<IamFederationOptionsT>(value); }
113 template<
typename IamFederationOptionsT = IamFederationConfigOptions>
123 template<
typename ClientTokenT = Aws::String>
124 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
125 template<
typename ClientTokenT = Aws::String>
131 bool m_typeHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
139 SamlConfigOptions m_samlOptions;
140 bool m_samlOptionsHasBeenSet =
false;
142 CreateIamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
143 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
145 IamFederationConfigOptions m_iamFederationOptions;
146 bool m_iamFederationOptionsHasBeenSet =
false;
149 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