AWS SDK for C++  1.9.125
AWS SDK for C++
UpdateGatewayInformationResult.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 {
34  {
35  public:
39 
40 
41 
42  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
43 
44 
45  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
46 
47 
48  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
49 
50 
51  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
52 
53 
54  inline UpdateGatewayInformationResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
55 
56 
57  inline UpdateGatewayInformationResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
58 
59 
60  inline UpdateGatewayInformationResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
61 
62 
66  inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
67 
71  inline void SetGatewayName(const Aws::String& value) { m_gatewayName = value; }
72 
76  inline void SetGatewayName(Aws::String&& value) { m_gatewayName = std::move(value); }
77 
81  inline void SetGatewayName(const char* value) { m_gatewayName.assign(value); }
82 
86  inline UpdateGatewayInformationResult& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
87 
91  inline UpdateGatewayInformationResult& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
92 
96  inline UpdateGatewayInformationResult& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
97 
98  private:
99 
100  Aws::String m_gatewayARN;
101 
102  Aws::String m_gatewayName;
103  };
104 
105 } // namespace Model
106 } // namespace StorageGateway
107 } // namespace Aws
Aws::StorageGateway::Model::UpdateGatewayInformationResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateGatewayInformationResult.h:51
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::UpdateGatewayInformationResult::GetGatewayName
const Aws::String & GetGatewayName() const
Definition: UpdateGatewayInformationResult.h:66
Aws::StorageGateway::Model::UpdateGatewayInformationResult::UpdateGatewayInformationResult
UpdateGatewayInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::UpdateGatewayInformationResult::WithGatewayName
UpdateGatewayInformationResult & WithGatewayName(const char *value)
Definition: UpdateGatewayInformationResult.h:96
Aws::StorageGateway::Model::UpdateGatewayInformationResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateGatewayInformationResult.h:48
Aws::StorageGateway::Model::UpdateGatewayInformationResult::WithGatewayARN
UpdateGatewayInformationResult & WithGatewayARN(const char *value)
Definition: UpdateGatewayInformationResult.h:60
Aws::StorageGateway::Model::UpdateGatewayInformationResult
Definition: UpdateGatewayInformationResult.h:34
Aws::StorageGateway::Model::UpdateGatewayInformationResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateGatewayInformationResult.h:45
AWSString.h
Aws::StorageGateway::Model::UpdateGatewayInformationResult::SetGatewayName
void SetGatewayName(Aws::String &&value)
Definition: UpdateGatewayInformationResult.h:76
Aws::StorageGateway::Model::UpdateGatewayInformationResult::WithGatewayName
UpdateGatewayInformationResult & WithGatewayName(const Aws::String &value)
Definition: UpdateGatewayInformationResult.h:86
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateGatewayInformationResult::UpdateGatewayInformationResult
UpdateGatewayInformationResult()
Aws::StorageGateway::Model::UpdateGatewayInformationResult::SetGatewayName
void SetGatewayName(const char *value)
Definition: UpdateGatewayInformationResult.h:81
Aws::StorageGateway::Model::UpdateGatewayInformationResult::SetGatewayName
void SetGatewayName(const Aws::String &value)
Definition: UpdateGatewayInformationResult.h:71
Aws::StorageGateway::Model::UpdateGatewayInformationResult::operator=
UpdateGatewayInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::UpdateGatewayInformationResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateGatewayInformationResult.h:42
Aws::StorageGateway::Model::UpdateGatewayInformationResult::WithGatewayARN
UpdateGatewayInformationResult & WithGatewayARN(const Aws::String &value)
Definition: UpdateGatewayInformationResult.h:54
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateGatewayInformationResult::WithGatewayARN
UpdateGatewayInformationResult & WithGatewayARN(Aws::String &&value)
Definition: UpdateGatewayInformationResult.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateGatewayInformationResult::WithGatewayName
UpdateGatewayInformationResult & WithGatewayName(Aws::String &&value)
Definition: UpdateGatewayInformationResult.h:91