AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeAddressesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Snowball
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Address>& GetAddresses() const{ return m_addresses; }
41 
45  inline void SetAddresses(const Aws::Vector<Address>& value) { m_addresses = value; }
46 
50  inline void SetAddresses(Aws::Vector<Address>&& value) { m_addresses = std::move(value); }
51 
55  inline DescribeAddressesResult& WithAddresses(const Aws::Vector<Address>& value) { SetAddresses(value); return *this;}
56 
60  inline DescribeAddressesResult& WithAddresses(Aws::Vector<Address>&& value) { SetAddresses(std::move(value)); return *this;}
61 
65  inline DescribeAddressesResult& AddAddresses(const Address& value) { m_addresses.push_back(value); return *this; }
66 
70  inline DescribeAddressesResult& AddAddresses(Address&& value) { m_addresses.push_back(std::move(value)); return *this; }
71 
72 
78  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 
85  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 
92  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
93 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
106  inline DescribeAddressesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
113  inline DescribeAddressesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
120  inline DescribeAddressesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<Address> m_addresses;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace Snowball
131 } // namespace Aws
Aws::Snowball::Model::DescribeAddressesResult::DescribeAddressesResult
DescribeAddressesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::DescribeAddressesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeAddressesResult.h:78
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::DescribeAddressesResult
Definition: DescribeAddressesResult.h:30
Aws::Snowball::Model::DescribeAddressesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeAddressesResult.h:85
Aws::Snowball::Model::DescribeAddressesResult::AddAddresses
DescribeAddressesResult & AddAddresses(const Address &value)
Definition: DescribeAddressesResult.h:65
Aws::Snowball::Model::DescribeAddressesResult::WithNextToken
DescribeAddressesResult & WithNextToken(Aws::String &&value)
Definition: DescribeAddressesResult.h:113
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Snowball::Model::DescribeAddressesResult::WithAddresses
DescribeAddressesResult & WithAddresses(const Aws::Vector< Address > &value)
Definition: DescribeAddressesResult.h:55
AWSVector.h
Aws::Snowball::Model::DescribeAddressesResult::AddAddresses
DescribeAddressesResult & AddAddresses(Address &&value)
Definition: DescribeAddressesResult.h:70
Aws::Snowball::Model::DescribeAddressesResult::WithNextToken
DescribeAddressesResult & WithNextToken(const Aws::String &value)
Definition: DescribeAddressesResult.h:106
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::DescribeAddressesResult::SetAddresses
void SetAddresses(Aws::Vector< Address > &&value)
Definition: DescribeAddressesResult.h:50
Aws::Snowball::Model::DescribeAddressesResult::operator=
DescribeAddressesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Snowball::Model::DescribeAddressesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeAddressesResult.h:99
Aws::Snowball::Model::DescribeAddressesResult::WithNextToken
DescribeAddressesResult & WithNextToken(const char *value)
Definition: DescribeAddressesResult.h:120
Aws::Snowball::Model::DescribeAddressesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeAddressesResult.h:92
Aws::Snowball::Model::DescribeAddressesResult::WithAddresses
DescribeAddressesResult & WithAddresses(Aws::Vector< Address > &&value)
Definition: DescribeAddressesResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::DescribeAddressesResult::DescribeAddressesResult
DescribeAddressesResult()
Aws::Snowball::Model::DescribeAddressesResult::SetAddresses
void SetAddresses(const Aws::Vector< Address > &value)
Definition: DescribeAddressesResult.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::DescribeAddressesResult::GetAddresses
const Aws::Vector< Address > & GetAddresses() const
Definition: DescribeAddressesResult.h:40
Aws::Snowball::Model::Address
Definition: Address.h:36
Snowball_EXPORTS.h
Address.h