AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCoipPoolUsageResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/CoipAddressUsage.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetCoipPoolId() const{ return m_coipPoolId; }
43 inline void SetCoipPoolId(const Aws::String& value) { m_coipPoolId = value; }
44 inline void SetCoipPoolId(Aws::String&& value) { m_coipPoolId = std::move(value); }
45 inline void SetCoipPoolId(const char* value) { m_coipPoolId.assign(value); }
46 inline GetCoipPoolUsageResponse& WithCoipPoolId(const Aws::String& value) { SetCoipPoolId(value); return *this;}
47 inline GetCoipPoolUsageResponse& WithCoipPoolId(Aws::String&& value) { SetCoipPoolId(std::move(value)); return *this;}
48 inline GetCoipPoolUsageResponse& WithCoipPoolId(const char* value) { SetCoipPoolId(value); return *this;}
50
52
55 inline const Aws::Vector<CoipAddressUsage>& GetCoipAddressUsages() const{ return m_coipAddressUsages; }
56 inline void SetCoipAddressUsages(const Aws::Vector<CoipAddressUsage>& value) { m_coipAddressUsages = value; }
57 inline void SetCoipAddressUsages(Aws::Vector<CoipAddressUsage>&& value) { m_coipAddressUsages = std::move(value); }
60 inline GetCoipPoolUsageResponse& AddCoipAddressUsages(const CoipAddressUsage& value) { m_coipAddressUsages.push_back(value); return *this; }
61 inline GetCoipPoolUsageResponse& AddCoipAddressUsages(CoipAddressUsage&& value) { m_coipAddressUsages.push_back(std::move(value)); return *this; }
63
65
68 inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
69 inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableId = value; }
70 inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableId = std::move(value); }
71 inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableId.assign(value); }
74 inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
76
78
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
85 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
86 inline GetCoipPoolUsageResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 inline GetCoipPoolUsageResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 inline GetCoipPoolUsageResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90
92
93 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
94 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
95 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
97 inline GetCoipPoolUsageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_coipPoolId;
102
103 Aws::Vector<CoipAddressUsage> m_coipAddressUsages;
104
105 Aws::String m_localGatewayRouteTableId;
106
107 Aws::String m_nextToken;
108
109 ResponseMetadata m_responseMetadata;
110 };
111
112} // namespace Model
113} // namespace EC2
114} // namespace Aws
void SetResponseMetadata(ResponseMetadata &&value)
GetCoipPoolUsageResponse & WithNextToken(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
GetCoipPoolUsageResponse & WithCoipAddressUsages(const Aws::Vector< CoipAddressUsage > &value)
AWS_EC2_API GetCoipPoolUsageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
GetCoipPoolUsageResponse & WithCoipPoolId(const char *value)
GetCoipPoolUsageResponse & WithResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetLocalGatewayRouteTableId() const
void SetCoipAddressUsages(Aws::Vector< CoipAddressUsage > &&value)
const Aws::Vector< CoipAddressUsage > & GetCoipAddressUsages() const
GetCoipPoolUsageResponse & WithNextToken(const char *value)
GetCoipPoolUsageResponse & WithNextToken(const Aws::String &value)
GetCoipPoolUsageResponse & WithCoipPoolId(const Aws::String &value)
void SetLocalGatewayRouteTableId(const Aws::String &value)
GetCoipPoolUsageResponse & WithLocalGatewayRouteTableId(const Aws::String &value)
GetCoipPoolUsageResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetCoipAddressUsages(const Aws::Vector< CoipAddressUsage > &value)
GetCoipPoolUsageResponse & AddCoipAddressUsages(const CoipAddressUsage &value)
GetCoipPoolUsageResponse & WithLocalGatewayRouteTableId(Aws::String &&value)
GetCoipPoolUsageResponse & WithLocalGatewayRouteTableId(const char *value)
GetCoipPoolUsageResponse & WithCoipAddressUsages(Aws::Vector< CoipAddressUsage > &&value)
GetCoipPoolUsageResponse & AddCoipAddressUsages(CoipAddressUsage &&value)
AWS_EC2_API GetCoipPoolUsageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetCoipPoolUsageResponse & WithCoipPoolId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument