7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
10#include <aws/opensearchserverless/model/IamIdentityCenterConfigOptions.h>
11#include <aws/opensearchserverless/model/SamlConfigOptions.h>
12#include <aws/opensearchserverless/model/SecurityConfigType.h>
23namespace OpenSearchServerless {
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
64 m_typeHasBeenSet =
true;
79 template <
typename ConfigVersionT = Aws::String>
81 m_configVersionHasBeenSet =
true;
82 m_configVersion = std::forward<ConfigVersionT>(value);
84 template <
typename ConfigVersionT = Aws::String>
97 template <
typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet =
true;
100 m_description = std::forward<DescriptionT>(value);
102 template <
typename DescriptionT = Aws::String>
116 template <
typename SamlOptionsT = SamlConfigOptions>
118 m_samlOptionsHasBeenSet =
true;
119 m_samlOptions = std::forward<SamlOptionsT>(value);
121 template <
typename SamlOptionsT = SamlConfigOptions>
134 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
136 m_iamIdentityCenterOptionsHasBeenSet =
true;
137 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
139 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
154 template <
typename IamFederationOptionsT = IamFederationConfigOptions>
156 m_iamFederationOptionsHasBeenSet =
true;
157 m_iamFederationOptions = std::forward<IamFederationOptionsT>(value);
159 template <
typename IamFederationOptionsT = IamFederationConfigOptions>
173 m_createdDateHasBeenSet =
true;
174 m_createdDate = value;
189 m_lastModifiedDateHasBeenSet =
true;
190 m_lastModifiedDate = value;
206 SamlConfigOptions m_samlOptions;
208 IamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
210 IamFederationConfigOptions m_iamFederationOptions;
212 long long m_createdDate{0};
214 long long m_lastModifiedDate{0};
215 bool m_idHasBeenSet =
false;
216 bool m_typeHasBeenSet =
false;
217 bool m_configVersionHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
219 bool m_samlOptionsHasBeenSet =
false;
220 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
221 bool m_iamFederationOptionsHasBeenSet =
false;
222 bool m_createdDateHasBeenSet =
false;
223 bool m_lastModifiedDateHasBeenSet =
false;
void SetSamlOptions(SamlOptionsT &&value)
void SetType(SecurityConfigType value)
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IamFederationOptionsHasBeenSet() const
SecurityConfigType GetType() const
bool IamIdentityCenterOptionsHasBeenSet() const
SecurityConfigDetail & WithConfigVersion(ConfigVersionT &&value)
const IamIdentityCenterConfigOptions & GetIamIdentityCenterOptions() const
SecurityConfigDetail & WithId(IdT &&value)
SecurityConfigDetail & WithCreatedDate(long long value)
bool IdHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail()=default
const Aws::String & GetId() const
bool CreatedDateHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail(Aws::Utils::Json::JsonView jsonValue)
long long GetCreatedDate() const
SecurityConfigDetail & WithType(SecurityConfigType value)
const IamFederationConfigOptions & GetIamFederationOptions() const
bool ConfigVersionHasBeenSet() const
SecurityConfigDetail & WithLastModifiedDate(long long value)
bool LastModifiedDateHasBeenSet() const
SecurityConfigDetail & WithIamFederationOptions(IamFederationOptionsT &&value)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetConfigVersion() const
SecurityConfigDetail & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
const SamlConfigOptions & GetSamlOptions() const
void SetCreatedDate(long long value)
SecurityConfigDetail & WithSamlOptions(SamlOptionsT &&value)
long long GetLastModifiedDate() const
bool SamlOptionsHasBeenSet() const
SecurityConfigDetail & WithDescription(DescriptionT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
void SetConfigVersion(ConfigVersionT &&value)
void SetLastModifiedDate(long long value)
void SetIamFederationOptions(IamFederationOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue