7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
19namespace OpenSearchServerless {
41 template <
typename MetadataT = Aws::String>
43 m_metadataHasBeenSet =
true;
44 m_metadata = std::forward<MetadataT>(value);
46 template <
typename MetadataT = Aws::String>
59 template <
typename UserAttributeT = Aws::String>
61 m_userAttributeHasBeenSet =
true;
62 m_userAttribute = std::forward<UserAttributeT>(value);
64 template <
typename UserAttributeT = Aws::String>
77 template <
typename GroupAttributeT = Aws::String>
79 m_groupAttributeHasBeenSet =
true;
80 m_groupAttribute = std::forward<GroupAttributeT>(value);
82 template <
typename GroupAttributeT = Aws::String>
96 template <
typename OpenSearchServerlessEntityIdT = Aws::String>
98 m_openSearchServerlessEntityIdHasBeenSet =
true;
99 m_openSearchServerlessEntityId = std::forward<OpenSearchServerlessEntityIdT>(value);
101 template <
typename OpenSearchServerlessEntityIdT = Aws::String>
115 m_sessionTimeoutHasBeenSet =
true;
116 m_sessionTimeout = value;
132 int m_sessionTimeout{0};
133 bool m_metadataHasBeenSet =
false;
134 bool m_userAttributeHasBeenSet =
false;
135 bool m_groupAttributeHasBeenSet =
false;
136 bool m_openSearchServerlessEntityIdHasBeenSet =
false;
137 bool m_sessionTimeoutHasBeenSet =
false;
bool UserAttributeHasBeenSet() const
void SetUserAttribute(UserAttributeT &&value)
bool MetadataHasBeenSet() const
SamlConfigOptions & WithOpenSearchServerlessEntityId(OpenSearchServerlessEntityIdT &&value)
bool OpenSearchServerlessEntityIdHasBeenSet() const
void SetOpenSearchServerlessEntityId(OpenSearchServerlessEntityIdT &&value)
AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions()=default
void SetGroupAttribute(GroupAttributeT &&value)
const Aws::String & GetGroupAttribute() const
SamlConfigOptions & WithGroupAttribute(GroupAttributeT &&value)
AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserAttribute() const
const Aws::String & GetOpenSearchServerlessEntityId() const
void SetSessionTimeout(int value)
SamlConfigOptions & WithMetadata(MetadataT &&value)
SamlConfigOptions & WithUserAttribute(UserAttributeT &&value)
bool GroupAttributeHasBeenSet() const
const Aws::String & GetMetadata() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions(Aws::Utils::Json::JsonView jsonValue)
int GetSessionTimeout() const
bool SessionTimeoutHasBeenSet() const
void SetMetadata(MetadataT &&value)
SamlConfigOptions & WithSessionTimeout(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue