/** * 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 OpenSearchService { namespace Model { /** *

The SAML identity povider information.

See Also:

AWS * API Reference

*/ class SAMLIdp { public: AWS_OPENSEARCHSERVICE_API SAMLIdp(); AWS_OPENSEARCHSERVICE_API SAMLIdp(Aws::Utils::Json::JsonView jsonValue); AWS_OPENSEARCHSERVICE_API SAMLIdp& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OPENSEARCHSERVICE_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 the SAML identity provider.

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

The unique entity ID of the application in the SAML identity provider.

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

The unique entity ID of the application in the SAML identity provider.

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

The unique entity ID of the application in the 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 the SAML identity provider.

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

The unique entity ID of the application in the SAML identity provider.

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

The unique entity ID of the application in the SAML identity provider.

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

The unique entity ID of the application in the 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 OpenSearchService } // namespace Aws