/** * 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 DescribeIdFormatResponse { public: AWS_EC2_API DescribeIdFormatResponse(); AWS_EC2_API DescribeIdFormatResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API DescribeIdFormatResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the ID format for the resource.

*/ inline const Aws::Vector& GetStatuses() const{ return m_statuses; } /** *

Information about the ID format for the resource.

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

Information about the ID format for the resource.

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

Information about the ID format for the resource.

*/ inline DescribeIdFormatResponse& WithStatuses(const Aws::Vector& value) { SetStatuses(value); return *this;} /** *

Information about the ID format for the resource.

*/ inline DescribeIdFormatResponse& WithStatuses(Aws::Vector&& value) { SetStatuses(std::move(value)); return *this;} /** *

Information about the ID format for the resource.

*/ inline DescribeIdFormatResponse& AddStatuses(const IdFormat& value) { m_statuses.push_back(value); return *this; } /** *

Information about the ID format for the resource.

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