AWS SDK for C++  1.9.109
AWS SDK for C++
ActivateGatewayResult.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 StorageGateway
24 {
25 namespace Model
26 {
39  {
40  public:
44 
45 
46 
47  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
48 
49 
50  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
51 
52 
53  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
54 
55 
56  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
57 
58 
59  inline ActivateGatewayResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
60 
61 
62  inline ActivateGatewayResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
63 
64 
65  inline ActivateGatewayResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
66 
67  private:
68 
69  Aws::String m_gatewayARN;
70  };
71 
72 } // namespace Model
73 } // namespace StorageGateway
74 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::ActivateGatewayResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: ActivateGatewayResult.h:50
Aws::StorageGateway::Model::ActivateGatewayResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: ActivateGatewayResult.h:53
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ActivateGatewayResult
Definition: ActivateGatewayResult.h:39
Aws::StorageGateway::Model::ActivateGatewayResult::ActivateGatewayResult
ActivateGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ActivateGatewayResult::WithGatewayARN
ActivateGatewayResult & WithGatewayARN(const char *value)
Definition: ActivateGatewayResult.h:65
Aws::StorageGateway::Model::ActivateGatewayResult::WithGatewayARN
ActivateGatewayResult & WithGatewayARN(const Aws::String &value)
Definition: ActivateGatewayResult.h:59
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ActivateGatewayResult::operator=
ActivateGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ActivateGatewayResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: ActivateGatewayResult.h:56
Aws::StorageGateway::Model::ActivateGatewayResult::ActivateGatewayResult
ActivateGatewayResult()
Aws::StorageGateway::Model::ActivateGatewayResult::WithGatewayARN
ActivateGatewayResult & WithGatewayARN(Aws::String &&value)
Definition: ActivateGatewayResult.h:62
Aws::StorageGateway::Model::ActivateGatewayResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: ActivateGatewayResult.h:47