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

Indicates whether all resource types in the Region are configured to use * longer IDs. This value is only true if all users are configured to * use longer IDs for all resources types in the Region.

*/ inline bool GetUseLongIdsAggregated() const{ return m_useLongIdsAggregated; } /** *

Indicates whether all resource types in the Region are configured to use * longer IDs. This value is only true if all users are configured to * use longer IDs for all resources types in the Region.

*/ inline void SetUseLongIdsAggregated(bool value) { m_useLongIdsAggregated = value; } /** *

Indicates whether all resource types in the Region are configured to use * longer IDs. This value is only true if all users are configured to * use longer IDs for all resources types in the Region.

*/ inline DescribeAggregateIdFormatResponse& WithUseLongIdsAggregated(bool value) { SetUseLongIdsAggregated(value); return *this;} /** *

Information about each resource's ID format.

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

Information about each resource's ID format.

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

Information about each resource's ID format.

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

Information about each resource's ID format.

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

Information about each resource's ID format.

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

Information about each resource's ID format.

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

Information about each resource's ID format.

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