/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace IAM { namespace Model { /** *

Contains the response to a successful GetSAMLProvider request. *

See Also:

AWS * API Reference

*/ class GetSAMLProviderResult { public: AWS_IAM_API GetSAMLProviderResult(); AWS_IAM_API GetSAMLProviderResult(const Aws::AmazonWebServiceResult& result); AWS_IAM_API GetSAMLProviderResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The XML metadata document that includes information about an identity * provider.

*/ inline const Aws::String& GetSAMLMetadataDocument() const{ return m_sAMLMetadataDocument; } /** *

The XML metadata document that includes information about an identity * provider.

*/ inline void SetSAMLMetadataDocument(const Aws::String& value) { m_sAMLMetadataDocument = value; } /** *

The XML metadata document that includes information about an identity * provider.

*/ inline void SetSAMLMetadataDocument(Aws::String&& value) { m_sAMLMetadataDocument = std::move(value); } /** *

The XML metadata document that includes information about an identity * provider.

*/ inline void SetSAMLMetadataDocument(const char* value) { m_sAMLMetadataDocument.assign(value); } /** *

The XML metadata document that includes information about an identity * provider.

*/ inline GetSAMLProviderResult& WithSAMLMetadataDocument(const Aws::String& value) { SetSAMLMetadataDocument(value); return *this;} /** *

The XML metadata document that includes information about an identity * provider.

*/ inline GetSAMLProviderResult& WithSAMLMetadataDocument(Aws::String&& value) { SetSAMLMetadataDocument(std::move(value)); return *this;} /** *

The XML metadata document that includes information about an identity * provider.

*/ inline GetSAMLProviderResult& WithSAMLMetadataDocument(const char* value) { SetSAMLMetadataDocument(value); return *this;} /** *

The date and time when the SAML provider was created.

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time when the SAML provider was created.

*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; } /** *

The date and time when the SAML provider was created.

*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDate = std::move(value); } /** *

The date and time when the SAML provider was created.

*/ inline GetSAMLProviderResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time when the SAML provider was created.

*/ inline GetSAMLProviderResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The expiration date and time for the SAML provider.

*/ inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; } /** *

The expiration date and time for the SAML provider.

*/ inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntil = value; } /** *

The expiration date and time for the SAML provider.

*/ inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntil = std::move(value); } /** *

The expiration date and time for the SAML provider.

*/ inline GetSAMLProviderResult& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;} /** *

The expiration date and time for the SAML provider.

*/ inline GetSAMLProviderResult& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;} /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline GetSAMLProviderResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline GetSAMLProviderResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline GetSAMLProviderResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

A list of tags that are attached to the specified IAM SAML provider. The * returned list of tags is sorted by tag key. For more information about tagging, * see Tagging IAM * resources in the IAM User Guide.

*/ inline GetSAMLProviderResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetSAMLProviderResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetSAMLProviderResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_sAMLMetadataDocument; Aws::Utils::DateTime m_createDate; Aws::Utils::DateTime m_validUntil; Aws::Vector m_tags; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws