AWS SDK for C++  1.9.109
AWS SDK for C++
CreateAddressResult.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 
40  inline const Aws::String& GetAddressId() const{ return m_addressId; }
41 
47  inline void SetAddressId(const Aws::String& value) { m_addressId = value; }
48 
54  inline void SetAddressId(Aws::String&& value) { m_addressId = std::move(value); }
55 
61  inline void SetAddressId(const char* value) { m_addressId.assign(value); }
62 
68  inline CreateAddressResult& WithAddressId(const Aws::String& value) { SetAddressId(value); return *this;}
69 
75  inline CreateAddressResult& WithAddressId(Aws::String&& value) { SetAddressId(std::move(value)); return *this;}
76 
82  inline CreateAddressResult& WithAddressId(const char* value) { SetAddressId(value); return *this;}
83 
84  private:
85 
86  Aws::String m_addressId;
87  };
88 
89 } // namespace Model
90 } // namespace Snowball
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::CreateAddressResult::CreateAddressResult
CreateAddressResult()
Aws::Snowball::Model::CreateAddressResult::SetAddressId
void SetAddressId(Aws::String &&value)
Definition: CreateAddressResult.h:54
Aws::Snowball::Model::CreateAddressResult::WithAddressId
CreateAddressResult & WithAddressId(const Aws::String &value)
Definition: CreateAddressResult.h:68
Aws::Snowball::Model::CreateAddressResult::WithAddressId
CreateAddressResult & WithAddressId(const char *value)
Definition: CreateAddressResult.h:82
Aws::Snowball::Model::CreateAddressResult::operator=
CreateAddressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::CreateAddressResult::SetAddressId
void SetAddressId(const Aws::String &value)
Definition: CreateAddressResult.h:47
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::CreateAddressResult::WithAddressId
CreateAddressResult & WithAddressId(Aws::String &&value)
Definition: CreateAddressResult.h:75
AWSString.h
Aws::Snowball::Model::CreateAddressResult
Definition: CreateAddressResult.h:28
Aws::Snowball::Model::CreateAddressResult::GetAddressId
const Aws::String & GetAddressId() const
Definition: CreateAddressResult.h:40
Aws::Snowball::Model::CreateAddressResult::CreateAddressResult
CreateAddressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::CreateAddressResult::SetAddressId
void SetAddressId(const char *value)
Definition: CreateAddressResult.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Snowball_EXPORTS.h