/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ElasticsearchService { namespace Model { /** *

Specifies the SAML Identity Provider's information.

See Also:

* AWS API * Reference

*/ class SAMLIdp { public: AWS_ELASTICSEARCHSERVICE_API SAMLIdp(); AWS_ELASTICSEARCHSERVICE_API SAMLIdp(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICSEARCHSERVICE_API SAMLIdp& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Metadata of the SAML application in xml format.

*/ inline const Aws::String& GetMetadataContent() const{ return m_metadataContent; } /** *

The Metadata of the SAML application in xml format.

*/ inline bool MetadataContentHasBeenSet() const { return m_metadataContentHasBeenSet; } /** *

The Metadata of the SAML application in xml format.

*/ inline void SetMetadataContent(const Aws::String& value) { m_metadataContentHasBeenSet = true; m_metadataContent = value; } /** *

The Metadata of the SAML application in xml format.

*/ inline void SetMetadataContent(Aws::String&& value) { m_metadataContentHasBeenSet = true; m_metadataContent = std::move(value); } /** *

The Metadata of the SAML application in xml format.

*/ inline void SetMetadataContent(const char* value) { m_metadataContentHasBeenSet = true; m_metadataContent.assign(value); } /** *

The Metadata of the SAML application in xml format.

*/ inline SAMLIdp& WithMetadataContent(const Aws::String& value) { SetMetadataContent(value); return *this;} /** *

The Metadata of the SAML application in xml format.

*/ inline SAMLIdp& WithMetadataContent(Aws::String&& value) { SetMetadataContent(std::move(value)); return *this;} /** *

The Metadata of the SAML application in xml format.

*/ inline SAMLIdp& WithMetadataContent(const char* value) { SetMetadataContent(value); return *this;} /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline const Aws::String& GetEntityId() const{ return m_entityId; } /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; } /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; } /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); } /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); } /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline SAMLIdp& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;} /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline SAMLIdp& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;} /** *

The unique Entity ID of the application in SAML Identity Provider.

*/ inline SAMLIdp& WithEntityId(const char* value) { SetEntityId(value); return *this;} private: Aws::String m_metadataContent; bool m_metadataContentHasBeenSet = false; Aws::String m_entityId; bool m_entityIdHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws