AWS SDK for C++  1.9.155
AWS SDK for C++
CreateGatewayResult.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 IoTSiteWise
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
40 
45  inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
46 
51  inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); }
52 
57  inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
58 
63  inline CreateGatewayResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
64 
69  inline CreateGatewayResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
70 
75  inline CreateGatewayResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
76 
77 
85  inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
86 
94  inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; }
95 
103  inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); }
104 
112  inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); }
113 
121  inline CreateGatewayResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
122 
130  inline CreateGatewayResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
131 
139  inline CreateGatewayResult& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
140 
141  private:
142 
143  Aws::String m_gatewayId;
144 
145  Aws::String m_gatewayArn;
146  };
147 
148 } // namespace Model
149 } // namespace IoTSiteWise
150 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::CreateGatewayResult::SetGatewayArn
void SetGatewayArn(Aws::String &&value)
Definition: CreateGatewayResult.h:103
Aws::IoTSiteWise::Model::CreateGatewayResult::CreateGatewayResult
CreateGatewayResult()
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CreateGatewayResult::GetGatewayArn
const Aws::String & GetGatewayArn() const
Definition: CreateGatewayResult.h:85
Aws::IoTSiteWise::Model::CreateGatewayResult::CreateGatewayResult
CreateGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateGatewayResult::WithGatewayArn
CreateGatewayResult & WithGatewayArn(Aws::String &&value)
Definition: CreateGatewayResult.h:130
Aws::IoTSiteWise::Model::CreateGatewayResult
Definition: CreateGatewayResult.h:28
Aws::IoTSiteWise::Model::CreateGatewayResult::WithGatewayId
CreateGatewayResult & WithGatewayId(const Aws::String &value)
Definition: CreateGatewayResult.h:63
Aws::IoTSiteWise::Model::CreateGatewayResult::SetGatewayArn
void SetGatewayArn(const Aws::String &value)
Definition: CreateGatewayResult.h:94
Aws::IoTSiteWise::Model::CreateGatewayResult::WithGatewayId
CreateGatewayResult & WithGatewayId(Aws::String &&value)
Definition: CreateGatewayResult.h:69
Aws::IoTSiteWise::Model::CreateGatewayResult::SetGatewayArn
void SetGatewayArn(const char *value)
Definition: CreateGatewayResult.h:112
AWSString.h
Aws::IoTSiteWise::Model::CreateGatewayResult::WithGatewayId
CreateGatewayResult & WithGatewayId(const char *value)
Definition: CreateGatewayResult.h:75
Aws::IoTSiteWise::Model::CreateGatewayResult::SetGatewayId
void SetGatewayId(Aws::String &&value)
Definition: CreateGatewayResult.h:51
Aws::IoTSiteWise::Model::CreateGatewayResult::SetGatewayId
void SetGatewayId(const Aws::String &value)
Definition: CreateGatewayResult.h:45
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::CreateGatewayResult::WithGatewayArn
CreateGatewayResult & WithGatewayArn(const char *value)
Definition: CreateGatewayResult.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CreateGatewayResult::operator=
CreateGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateGatewayResult::WithGatewayArn
CreateGatewayResult & WithGatewayArn(const Aws::String &value)
Definition: CreateGatewayResult.h:121
Aws::IoTSiteWise::Model::CreateGatewayResult::SetGatewayId
void SetGatewayId(const char *value)
Definition: CreateGatewayResult.h:57
Aws::IoTSiteWise::Model::CreateGatewayResult::GetGatewayId
const Aws::String & GetGatewayId() const
Definition: CreateGatewayResult.h:39