AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicIpv4PoolRange.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API PublicIpv4PoolRange();
36 AWS_EC2_API PublicIpv4PoolRange(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetFirstAddress() const{ return m_firstAddress; }
48 inline bool FirstAddressHasBeenSet() const { return m_firstAddressHasBeenSet; }
49 inline void SetFirstAddress(const Aws::String& value) { m_firstAddressHasBeenSet = true; m_firstAddress = value; }
50 inline void SetFirstAddress(Aws::String&& value) { m_firstAddressHasBeenSet = true; m_firstAddress = std::move(value); }
51 inline void SetFirstAddress(const char* value) { m_firstAddressHasBeenSet = true; m_firstAddress.assign(value); }
52 inline PublicIpv4PoolRange& WithFirstAddress(const Aws::String& value) { SetFirstAddress(value); return *this;}
53 inline PublicIpv4PoolRange& WithFirstAddress(Aws::String&& value) { SetFirstAddress(std::move(value)); return *this;}
54 inline PublicIpv4PoolRange& WithFirstAddress(const char* value) { SetFirstAddress(value); return *this;}
56
58
61 inline const Aws::String& GetLastAddress() const{ return m_lastAddress; }
62 inline bool LastAddressHasBeenSet() const { return m_lastAddressHasBeenSet; }
63 inline void SetLastAddress(const Aws::String& value) { m_lastAddressHasBeenSet = true; m_lastAddress = value; }
64 inline void SetLastAddress(Aws::String&& value) { m_lastAddressHasBeenSet = true; m_lastAddress = std::move(value); }
65 inline void SetLastAddress(const char* value) { m_lastAddressHasBeenSet = true; m_lastAddress.assign(value); }
66 inline PublicIpv4PoolRange& WithLastAddress(const Aws::String& value) { SetLastAddress(value); return *this;}
67 inline PublicIpv4PoolRange& WithLastAddress(Aws::String&& value) { SetLastAddress(std::move(value)); return *this;}
68 inline PublicIpv4PoolRange& WithLastAddress(const char* value) { SetLastAddress(value); return *this;}
70
72
75 inline int GetAddressCount() const{ return m_addressCount; }
76 inline bool AddressCountHasBeenSet() const { return m_addressCountHasBeenSet; }
77 inline void SetAddressCount(int value) { m_addressCountHasBeenSet = true; m_addressCount = value; }
78 inline PublicIpv4PoolRange& WithAddressCount(int value) { SetAddressCount(value); return *this;}
80
82
85 inline int GetAvailableAddressCount() const{ return m_availableAddressCount; }
86 inline bool AvailableAddressCountHasBeenSet() const { return m_availableAddressCountHasBeenSet; }
87 inline void SetAvailableAddressCount(int value) { m_availableAddressCountHasBeenSet = true; m_availableAddressCount = value; }
90 private:
91
92 Aws::String m_firstAddress;
93 bool m_firstAddressHasBeenSet = false;
94
95 Aws::String m_lastAddress;
96 bool m_lastAddressHasBeenSet = false;
97
98 int m_addressCount;
99 bool m_addressCountHasBeenSet = false;
100
101 int m_availableAddressCount;
102 bool m_availableAddressCountHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
void SetLastAddress(Aws::String &&value)
PublicIpv4PoolRange & WithFirstAddress(const Aws::String &value)
AWS_EC2_API PublicIpv4PoolRange(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLastAddress(const Aws::String &value)
void SetFirstAddress(Aws::String &&value)
PublicIpv4PoolRange & WithFirstAddress(const char *value)
PublicIpv4PoolRange & WithLastAddress(const Aws::String &value)
AWS_EC2_API PublicIpv4PoolRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PublicIpv4PoolRange & WithFirstAddress(Aws::String &&value)
const Aws::String & GetLastAddress() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PublicIpv4PoolRange & WithAddressCount(int value)
PublicIpv4PoolRange & WithLastAddress(Aws::String &&value)
PublicIpv4PoolRange & WithLastAddress(const char *value)
PublicIpv4PoolRange & WithAvailableAddressCount(int value)
const Aws::String & GetFirstAddress() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetFirstAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream