AWS SDK for C++  1.9.156
AWS SDK for C++
DescribeGatewayResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace IoTSiteWise
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
43 
47  inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
48 
52  inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); }
53 
57  inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
58 
62  inline DescribeGatewayResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
63 
67  inline DescribeGatewayResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
68 
72  inline DescribeGatewayResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
73 
74 
78  inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
79 
83  inline void SetGatewayName(const Aws::String& value) { m_gatewayName = value; }
84 
88  inline void SetGatewayName(Aws::String&& value) { m_gatewayName = std::move(value); }
89 
93  inline void SetGatewayName(const char* value) { m_gatewayName.assign(value); }
94 
98  inline DescribeGatewayResult& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
99 
103  inline DescribeGatewayResult& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
104 
108  inline DescribeGatewayResult& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
109 
110 
118  inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
119 
127  inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; }
128 
136  inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); }
137 
145  inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); }
146 
154  inline DescribeGatewayResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
155 
163  inline DescribeGatewayResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
164 
172  inline DescribeGatewayResult& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
173 
174 
178  inline const GatewayPlatform& GetGatewayPlatform() const{ return m_gatewayPlatform; }
179 
183  inline void SetGatewayPlatform(const GatewayPlatform& value) { m_gatewayPlatform = value; }
184 
188  inline void SetGatewayPlatform(GatewayPlatform&& value) { m_gatewayPlatform = std::move(value); }
189 
193  inline DescribeGatewayResult& WithGatewayPlatform(const GatewayPlatform& value) { SetGatewayPlatform(value); return *this;}
194 
198  inline DescribeGatewayResult& WithGatewayPlatform(GatewayPlatform&& value) { SetGatewayPlatform(std::move(value)); return *this;}
199 
200 
207  inline const Aws::Vector<GatewayCapabilitySummary>& GetGatewayCapabilitySummaries() const{ return m_gatewayCapabilitySummaries; }
208 
215  inline void SetGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { m_gatewayCapabilitySummaries = value; }
216 
223  inline void SetGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { m_gatewayCapabilitySummaries = std::move(value); }
224 
231  inline DescribeGatewayResult& WithGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { SetGatewayCapabilitySummaries(value); return *this;}
232 
239  inline DescribeGatewayResult& WithGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { SetGatewayCapabilitySummaries(std::move(value)); return *this;}
240 
247  inline DescribeGatewayResult& AddGatewayCapabilitySummaries(const GatewayCapabilitySummary& value) { m_gatewayCapabilitySummaries.push_back(value); return *this; }
248 
255  inline DescribeGatewayResult& AddGatewayCapabilitySummaries(GatewayCapabilitySummary&& value) { m_gatewayCapabilitySummaries.push_back(std::move(value)); return *this; }
256 
257 
261  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
262 
266  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
267 
271  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
272 
276  inline DescribeGatewayResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
277 
281  inline DescribeGatewayResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
282 
283 
287  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
288 
292  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDate = value; }
293 
297  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDate = std::move(value); }
298 
302  inline DescribeGatewayResult& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
303 
307  inline DescribeGatewayResult& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
308 
309  private:
310 
311  Aws::String m_gatewayId;
312 
313  Aws::String m_gatewayName;
314 
315  Aws::String m_gatewayArn;
316 
317  GatewayPlatform m_gatewayPlatform;
318 
319  Aws::Vector<GatewayCapabilitySummary> m_gatewayCapabilitySummaries;
320 
321  Aws::Utils::DateTime m_creationDate;
322 
323  Aws::Utils::DateTime m_lastUpdateDate;
324  };
325 
326 } // namespace Model
327 } // namespace IoTSiteWise
328 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithCreationDate
DescribeGatewayResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeGatewayResult.h:276
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayName
void SetGatewayName(Aws::String &&value)
Definition: DescribeGatewayResult.h:88
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayPlatform
void SetGatewayPlatform(GatewayPlatform &&value)
Definition: DescribeGatewayResult.h:188
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayId
void SetGatewayId(const Aws::String &value)
Definition: DescribeGatewayResult.h:47
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayId
DescribeGatewayResult & WithGatewayId(Aws::String &&value)
Definition: DescribeGatewayResult.h:67
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithLastUpdateDate
DescribeGatewayResult & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: DescribeGatewayResult.h:307
DateTime.h
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayId
void SetGatewayId(Aws::String &&value)
Definition: DescribeGatewayResult.h:52
Aws::IoTSiteWise::Model::DescribeGatewayResult
Definition: DescribeGatewayResult.h:32
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayId
void SetGatewayId(const char *value)
Definition: DescribeGatewayResult.h:57
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayArn
DescribeGatewayResult & WithGatewayArn(Aws::String &&value)
Definition: DescribeGatewayResult.h:163
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayCapabilitySummaries
DescribeGatewayResult & WithGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
Definition: DescribeGatewayResult.h:231
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeGatewayResult.h:261
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayName
DescribeGatewayResult & WithGatewayName(const char *value)
Definition: DescribeGatewayResult.h:108
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayArn
void SetGatewayArn(Aws::String &&value)
Definition: DescribeGatewayResult.h:136
Aws::IoTSiteWise::Model::DescribeGatewayResult::AddGatewayCapabilitySummaries
DescribeGatewayResult & AddGatewayCapabilitySummaries(GatewayCapabilitySummary &&value)
Definition: DescribeGatewayResult.h:255
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayId
DescribeGatewayResult & WithGatewayId(const Aws::String &value)
Definition: DescribeGatewayResult.h:62
Aws::IoTSiteWise::Model::DescribeGatewayResult::operator=
DescribeGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayCapabilitySummaries
void SetGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
Definition: DescribeGatewayResult.h:223
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: DescribeGatewayResult.h:297
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: DescribeGatewayResult.h:287
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetGatewayArn
const Aws::String & GetGatewayArn() const
Definition: DescribeGatewayResult.h:118
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetGatewayCapabilitySummaries
const Aws::Vector< GatewayCapabilitySummary > & GetGatewayCapabilitySummaries() const
Definition: DescribeGatewayResult.h:207
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayArn
void SetGatewayArn(const Aws::String &value)
Definition: DescribeGatewayResult.h:127
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetGatewayName
const Aws::String & GetGatewayName() const
Definition: DescribeGatewayResult.h:78
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayArn
void SetGatewayArn(const char *value)
Definition: DescribeGatewayResult.h:145
AWSString.h
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayName
void SetGatewayName(const char *value)
Definition: DescribeGatewayResult.h:93
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeGatewayResult.h:266
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayName
DescribeGatewayResult & WithGatewayName(const Aws::String &value)
Definition: DescribeGatewayResult.h:98
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayPlatform
DescribeGatewayResult & WithGatewayPlatform(GatewayPlatform &&value)
Definition: DescribeGatewayResult.h:198
GatewayPlatform.h
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayCapabilitySummaries
void SetGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
Definition: DescribeGatewayResult.h:215
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayPlatform
void SetGatewayPlatform(const GatewayPlatform &value)
Definition: DescribeGatewayResult.h:183
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetGatewayPlatform
const GatewayPlatform & GetGatewayPlatform() const
Definition: DescribeGatewayResult.h:178
Aws::IoTSiteWise::Model::GatewayCapabilitySummary
Definition: GatewayCapabilitySummary.h:34
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayPlatform
DescribeGatewayResult & WithGatewayPlatform(const GatewayPlatform &value)
Definition: DescribeGatewayResult.h:193
Aws::IoTSiteWise::Model::DescribeGatewayResult::DescribeGatewayResult
DescribeGatewayResult()
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayCapabilitySummaries
DescribeGatewayResult & WithGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
Definition: DescribeGatewayResult.h:239
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayId
DescribeGatewayResult & WithGatewayId(const char *value)
Definition: DescribeGatewayResult.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeGatewayResult.h:271
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithLastUpdateDate
DescribeGatewayResult & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: DescribeGatewayResult.h:302
GatewayCapabilitySummary.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::DescribeGatewayResult::AddGatewayCapabilitySummaries
DescribeGatewayResult & AddGatewayCapabilitySummaries(const GatewayCapabilitySummary &value)
Definition: DescribeGatewayResult.h:247
Aws::IoTSiteWise::Model::GatewayPlatform
Definition: GatewayPlatform.h:33
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: DescribeGatewayResult.h:292
Aws::IoTSiteWise::Model::DescribeGatewayResult::SetGatewayName
void SetGatewayName(const Aws::String &value)
Definition: DescribeGatewayResult.h:83
Aws::IoTSiteWise::Model::DescribeGatewayResult::DescribeGatewayResult
DescribeGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayArn
DescribeGatewayResult & WithGatewayArn(const char *value)
Definition: DescribeGatewayResult.h:172
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayArn
DescribeGatewayResult & WithGatewayArn(const Aws::String &value)
Definition: DescribeGatewayResult.h:154
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithGatewayName
DescribeGatewayResult & WithGatewayName(Aws::String &&value)
Definition: DescribeGatewayResult.h:103
Aws::IoTSiteWise::Model::DescribeGatewayResult::GetGatewayId
const Aws::String & GetGatewayId() const
Definition: DescribeGatewayResult.h:42
Aws::IoTSiteWise::Model::DescribeGatewayResult::WithCreationDate
DescribeGatewayResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeGatewayResult.h:281