AWS SDK for C++  1.9.124
AWS SDK for C++
DescribeAggregateIdFormatResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <aws/ec2/model/IdFormat.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline bool GetUseLongIdsAggregated() const{ return m_useLongIdsAggregated; }
43 
49  inline void SetUseLongIdsAggregated(bool value) { m_useLongIdsAggregated = value; }
50 
56  inline DescribeAggregateIdFormatResponse& WithUseLongIdsAggregated(bool value) { SetUseLongIdsAggregated(value); return *this;}
57 
58 
62  inline const Aws::Vector<IdFormat>& GetStatuses() const{ return m_statuses; }
63 
67  inline void SetStatuses(const Aws::Vector<IdFormat>& value) { m_statuses = value; }
68 
72  inline void SetStatuses(Aws::Vector<IdFormat>&& value) { m_statuses = std::move(value); }
73 
77  inline DescribeAggregateIdFormatResponse& WithStatuses(const Aws::Vector<IdFormat>& value) { SetStatuses(value); return *this;}
78 
82  inline DescribeAggregateIdFormatResponse& WithStatuses(Aws::Vector<IdFormat>&& value) { SetStatuses(std::move(value)); return *this;}
83 
87  inline DescribeAggregateIdFormatResponse& AddStatuses(const IdFormat& value) { m_statuses.push_back(value); return *this; }
88 
92  inline DescribeAggregateIdFormatResponse& AddStatuses(IdFormat&& value) { m_statuses.push_back(std::move(value)); return *this; }
93 
94 
95 
96  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
97 
98 
99  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
100 
101 
102  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
103 
104 
105  inline DescribeAggregateIdFormatResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
106 
107 
108  inline DescribeAggregateIdFormatResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
109 
110  private:
111 
112  bool m_useLongIdsAggregated;
113 
114  Aws::Vector<IdFormat> m_statuses;
115 
116  ResponseMetadata m_responseMetadata;
117  };
118 
119 } // namespace Model
120 } // namespace EC2
121 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::IdFormat
Definition: IdFormat.h:33
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DescribeAggregateIdFormatResponse::GetUseLongIdsAggregated
bool GetUseLongIdsAggregated() const
Definition: DescribeAggregateIdFormatResponse.h:42
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeAggregateIdFormatResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeAggregateIdFormatResponse.h:96
Aws::EC2::Model::DescribeAggregateIdFormatResponse::WithStatuses
DescribeAggregateIdFormatResponse & WithStatuses(const Aws::Vector< IdFormat > &value)
Definition: DescribeAggregateIdFormatResponse.h:77
AWSVector.h
Aws::EC2::Model::DescribeAggregateIdFormatResponse::WithResponseMetadata
DescribeAggregateIdFormatResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAggregateIdFormatResponse.h:108
Aws::EC2::Model::DescribeAggregateIdFormatResponse::AddStatuses
DescribeAggregateIdFormatResponse & AddStatuses(IdFormat &&value)
Definition: DescribeAggregateIdFormatResponse.h:92
Aws::EC2::Model::DescribeAggregateIdFormatResponse::SetStatuses
void SetStatuses(const Aws::Vector< IdFormat > &value)
Definition: DescribeAggregateIdFormatResponse.h:67
Aws::EC2::Model::DescribeAggregateIdFormatResponse::GetStatuses
const Aws::Vector< IdFormat > & GetStatuses() const
Definition: DescribeAggregateIdFormatResponse.h:62
Aws::EC2::Model::DescribeAggregateIdFormatResponse::DescribeAggregateIdFormatResponse
DescribeAggregateIdFormatResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeAggregateIdFormatResponse::WithUseLongIdsAggregated
DescribeAggregateIdFormatResponse & WithUseLongIdsAggregated(bool value)
Definition: DescribeAggregateIdFormatResponse.h:56
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DescribeAggregateIdFormatResponse::WithStatuses
DescribeAggregateIdFormatResponse & WithStatuses(Aws::Vector< IdFormat > &&value)
Definition: DescribeAggregateIdFormatResponse.h:82
Aws::EC2::Model::DescribeAggregateIdFormatResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAggregateIdFormatResponse.h:99
Aws::EC2::Model::DescribeAggregateIdFormatResponse
Definition: DescribeAggregateIdFormatResponse.h:30
Aws::EC2::Model::DescribeAggregateIdFormatResponse::AddStatuses
DescribeAggregateIdFormatResponse & AddStatuses(const IdFormat &value)
Definition: DescribeAggregateIdFormatResponse.h:87
Aws::EC2::Model::DescribeAggregateIdFormatResponse::SetUseLongIdsAggregated
void SetUseLongIdsAggregated(bool value)
Definition: DescribeAggregateIdFormatResponse.h:49
Aws::EC2::Model::DescribeAggregateIdFormatResponse::SetStatuses
void SetStatuses(Aws::Vector< IdFormat > &&value)
Definition: DescribeAggregateIdFormatResponse.h:72
Aws::EC2::Model::DescribeAggregateIdFormatResponse::WithResponseMetadata
DescribeAggregateIdFormatResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAggregateIdFormatResponse.h:105
Aws
Definition: AccessManagementClient.h:15
IdFormat.h
Aws::EC2::Model::DescribeAggregateIdFormatResponse::operator=
DescribeAggregateIdFormatResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeAggregateIdFormatResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAggregateIdFormatResponse.h:102
EC2_EXPORTS.h
Aws::EC2::Model::DescribeAggregateIdFormatResponse::DescribeAggregateIdFormatResponse
DescribeAggregateIdFormatResponse()