AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeAddressResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Snowball
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Address& GetAddress() const{ return m_address; }
40 
45  inline void SetAddress(const Address& value) { m_address = value; }
46 
51  inline void SetAddress(Address&& value) { m_address = std::move(value); }
52 
57  inline DescribeAddressResult& WithAddress(const Address& value) { SetAddress(value); return *this;}
58 
63  inline DescribeAddressResult& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
64 
65  private:
66 
67  Address m_address;
68  };
69 
70 } // namespace Model
71 } // namespace Snowball
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::DescribeAddressResult::SetAddress
void SetAddress(const Address &value)
Definition: DescribeAddressResult.h:45
Aws::Snowball::Model::DescribeAddressResult::DescribeAddressResult
DescribeAddressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::DescribeAddressResult::GetAddress
const Address & GetAddress() const
Definition: DescribeAddressResult.h:39
Aws::Snowball::Model::DescribeAddressResult::WithAddress
DescribeAddressResult & WithAddress(const Address &value)
Definition: DescribeAddressResult.h:57
Aws::Snowball::Model::DescribeAddressResult::WithAddress
DescribeAddressResult & WithAddress(Address &&value)
Definition: DescribeAddressResult.h:63
Aws::Snowball::Model::DescribeAddressResult::DescribeAddressResult
DescribeAddressResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::Address
Definition: Address.h:36
Aws::Snowball::Model::DescribeAddressResult::SetAddress
void SetAddress(Address &&value)
Definition: DescribeAddressResult.h:51
Aws::Snowball::Model::DescribeAddressResult
Definition: DescribeAddressResult.h:28
Snowball_EXPORTS.h
Aws::Snowball::Model::DescribeAddressResult::operator=
DescribeAddressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Address.h