AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeprovisionPublicIpv4PoolCidrResponse.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetPoolId() const{ return m_poolId; }
42 inline void SetPoolId(const Aws::String& value) { m_poolId = value; }
43 inline void SetPoolId(Aws::String&& value) { m_poolId = std::move(value); }
44 inline void SetPoolId(const char* value) { m_poolId.assign(value); }
45 inline DeprovisionPublicIpv4PoolCidrResponse& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;}
46 inline DeprovisionPublicIpv4PoolCidrResponse& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;}
47 inline DeprovisionPublicIpv4PoolCidrResponse& WithPoolId(const char* value) { SetPoolId(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetDeprovisionedAddresses() const{ return m_deprovisionedAddresses; }
55 inline void SetDeprovisionedAddresses(const Aws::Vector<Aws::String>& value) { m_deprovisionedAddresses = value; }
56 inline void SetDeprovisionedAddresses(Aws::Vector<Aws::String>&& value) { m_deprovisionedAddresses = std::move(value); }
59 inline DeprovisionPublicIpv4PoolCidrResponse& AddDeprovisionedAddresses(const Aws::String& value) { m_deprovisionedAddresses.push_back(value); return *this; }
60 inline DeprovisionPublicIpv4PoolCidrResponse& AddDeprovisionedAddresses(Aws::String&& value) { m_deprovisionedAddresses.push_back(std::move(value)); return *this; }
61 inline DeprovisionPublicIpv4PoolCidrResponse& AddDeprovisionedAddresses(const char* value) { m_deprovisionedAddresses.push_back(value); return *this; }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
67 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
68 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
72 private:
73
74 Aws::String m_poolId;
75
76 Aws::Vector<Aws::String> m_deprovisionedAddresses;
77
78 ResponseMetadata m_responseMetadata;
79 };
80
81} // namespace Model
82} // namespace EC2
83} // namespace Aws
AWS_EC2_API DeprovisionPublicIpv4PoolCidrResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeprovisionPublicIpv4PoolCidrResponse & AddDeprovisionedAddresses(Aws::String &&value)
DeprovisionPublicIpv4PoolCidrResponse & WithPoolId(const Aws::String &value)
void SetDeprovisionedAddresses(const Aws::Vector< Aws::String > &value)
DeprovisionPublicIpv4PoolCidrResponse & WithResponseMetadata(const ResponseMetadata &value)
DeprovisionPublicIpv4PoolCidrResponse & AddDeprovisionedAddresses(const char *value)
DeprovisionPublicIpv4PoolCidrResponse & WithPoolId(Aws::String &&value)
DeprovisionPublicIpv4PoolCidrResponse & AddDeprovisionedAddresses(const Aws::String &value)
DeprovisionPublicIpv4PoolCidrResponse & WithPoolId(const char *value)
AWS_EC2_API DeprovisionPublicIpv4PoolCidrResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeprovisionPublicIpv4PoolCidrResponse & WithDeprovisionedAddresses(const Aws::Vector< Aws::String > &value)
DeprovisionPublicIpv4PoolCidrResponse & WithDeprovisionedAddresses(Aws::Vector< Aws::String > &&value)
DeprovisionPublicIpv4PoolCidrResponse & WithResponseMetadata(ResponseMetadata &&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