AWS SDK for C++  1.9.109
AWS SDK for C++
DisableGatewayResult.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 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
44 
48  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
49 
53  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
54 
58  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
59 
63  inline DisableGatewayResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
64 
68  inline DisableGatewayResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
69 
73  inline DisableGatewayResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
74 
75  private:
76 
77  Aws::String m_gatewayARN;
78  };
79 
80 } // namespace Model
81 } // namespace StorageGateway
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DisableGatewayResult::WithGatewayARN
DisableGatewayResult & WithGatewayARN(Aws::String &&value)
Definition: DisableGatewayResult.h:68
Aws::StorageGateway::Model::DisableGatewayResult::WithGatewayARN
DisableGatewayResult & WithGatewayARN(const Aws::String &value)
Definition: DisableGatewayResult.h:63
Aws::StorageGateway::Model::DisableGatewayResult::operator=
DisableGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DisableGatewayResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DisableGatewayResult.h:58
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DisableGatewayResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DisableGatewayResult.h:48
Aws::StorageGateway::Model::DisableGatewayResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DisableGatewayResult.h:53
Aws::StorageGateway::Model::DisableGatewayResult
Definition: DisableGatewayResult.h:33
Aws::StorageGateway::Model::DisableGatewayResult::DisableGatewayResult
DisableGatewayResult()
Aws::StorageGateway::Model::DisableGatewayResult::WithGatewayARN
DisableGatewayResult & WithGatewayARN(const char *value)
Definition: DisableGatewayResult.h:73
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DisableGatewayResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DisableGatewayResult.h:43
Aws::StorageGateway::Model::DisableGatewayResult::DisableGatewayResult
DisableGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)