7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/CreateIamIdentityCenterConfigOptions.h>
11#include <aws/opensearchserverless/model/SamlConfigOptions.h>
12#include <aws/opensearchserverless/model/SecurityConfigType.h>
14#include <aws/core/utils/UUID.h>
18namespace OpenSearchServerless
49 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
90 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
124 bool m_clientTokenHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
130 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
133 bool m_nameHasBeenSet =
false;
136 bool m_samlOptionsHasBeenSet =
false;
139 bool m_typeHasBeenSet =
false;
CreateSecurityConfigRequest & WithName(const char *value)
void SetName(const char *value)
void SetSamlOptions(const SamlConfigOptions &value)
CreateSecurityConfigRequest & WithName(const Aws::String &value)
CreateSecurityConfigRequest & WithDescription(const char *value)
void SetClientToken(const Aws::String &value)
CreateSecurityConfigRequest & WithSamlOptions(const SamlConfigOptions &value)
void SetDescription(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
void SetIamIdentityCenterOptions(CreateIamIdentityCenterConfigOptions &&value)
const Aws::String & GetName() const
bool TypeHasBeenSet() const
bool SamlOptionsHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateSecurityConfigRequest & WithName(Aws::String &&value)
CreateSecurityConfigRequest & WithType(SecurityConfigType &&value)
void SetClientToken(const char *value)
CreateSecurityConfigRequest & WithClientToken(const Aws::String &value)
CreateSecurityConfigRequest & WithDescription(const Aws::String &value)
CreateSecurityConfigRequest & WithSamlOptions(SamlConfigOptions &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(const char *value)
CreateSecurityConfigRequest & WithType(const SecurityConfigType &value)
CreateSecurityConfigRequest & WithIamIdentityCenterOptions(const CreateIamIdentityCenterConfigOptions &value)
void SetType(const SecurityConfigType &value)
const Aws::String & GetClientToken() const
void SetIamIdentityCenterOptions(const CreateIamIdentityCenterConfigOptions &value)
const SamlConfigOptions & GetSamlOptions() const
const SecurityConfigType & GetType() const
bool ClientTokenHasBeenSet() const
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API CreateSecurityConfigRequest()
const CreateIamIdentityCenterConfigOptions & GetIamIdentityCenterOptions() const
CreateSecurityConfigRequest & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetClientToken(Aws::String &&value)
void SetName(const Aws::String &value)
CreateSecurityConfigRequest & WithIamIdentityCenterOptions(CreateIamIdentityCenterConfigOptions &&value)
bool IamIdentityCenterOptionsHasBeenSet() const
CreateSecurityConfigRequest & WithClientToken(Aws::String &&value)
void SetType(SecurityConfigType &&value)
void SetSamlOptions(SamlConfigOptions &&value)
void SetDescription(Aws::String &&value)
CreateSecurityConfigRequest & WithClientToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String