/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class GetAssociatedEnclaveCertificateIamRolesResponse { public: AWS_EC2_API GetAssociatedEnclaveCertificateIamRolesResponse(); AWS_EC2_API GetAssociatedEnclaveCertificateIamRolesResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API GetAssociatedEnclaveCertificateIamRolesResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the associated IAM roles.

*/ inline const Aws::Vector& GetAssociatedRoles() const{ return m_associatedRoles; } /** *

Information about the associated IAM roles.

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

Information about the associated IAM roles.

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

Information about the associated IAM roles.

*/ inline GetAssociatedEnclaveCertificateIamRolesResponse& WithAssociatedRoles(const Aws::Vector& value) { SetAssociatedRoles(value); return *this;} /** *

Information about the associated IAM roles.

*/ inline GetAssociatedEnclaveCertificateIamRolesResponse& WithAssociatedRoles(Aws::Vector&& value) { SetAssociatedRoles(std::move(value)); return *this;} /** *

Information about the associated IAM roles.

*/ inline GetAssociatedEnclaveCertificateIamRolesResponse& AddAssociatedRoles(const AssociatedRole& value) { m_associatedRoles.push_back(value); return *this; } /** *

Information about the associated IAM roles.

*/ inline GetAssociatedEnclaveCertificateIamRolesResponse& AddAssociatedRoles(AssociatedRole&& value) { m_associatedRoles.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 GetAssociatedEnclaveCertificateIamRolesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetAssociatedEnclaveCertificateIamRolesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_associatedRoles; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws