/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 CreateSAMLProvider request. *

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

*/ inline const Aws::String& GetSAMLProviderArn() const{ return m_sAMLProviderArn; } /** *

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

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

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

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

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

*/ inline void SetSAMLProviderArn(const char* value) { m_sAMLProviderArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

*/ inline CreateSAMLProviderResult& WithSAMLProviderArn(const Aws::String& value) { SetSAMLProviderArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

*/ inline CreateSAMLProviderResult& WithSAMLProviderArn(Aws::String&& value) { SetSAMLProviderArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.

*/ inline CreateSAMLProviderResult& WithSAMLProviderArn(const char* value) { SetSAMLProviderArn(value); return *this;} /** *

A list of tags that are attached to the new 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 new 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 new 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 new 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 CreateSAMLProviderResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of tags that are attached to the new 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 CreateSAMLProviderResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags that are attached to the new 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 CreateSAMLProviderResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

A list of tags that are attached to the new 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 CreateSAMLProviderResult& 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 CreateSAMLProviderResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateSAMLProviderResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_sAMLProviderArn; Aws::Vector m_tags; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws