AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGatewayResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/GatewayPlatform.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/iotsitewise/model/GatewayCapabilitySummary.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTSiteWise
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTSITEWISE_API DescribeGatewayResult();
37
38
40
43 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
44 inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
45 inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); }
46 inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
47 inline DescribeGatewayResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
48 inline DescribeGatewayResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
49 inline DescribeGatewayResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
51
53
56 inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
57 inline void SetGatewayName(const Aws::String& value) { m_gatewayName = value; }
58 inline void SetGatewayName(Aws::String&& value) { m_gatewayName = std::move(value); }
59 inline void SetGatewayName(const char* value) { m_gatewayName.assign(value); }
60 inline DescribeGatewayResult& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
61 inline DescribeGatewayResult& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
62 inline DescribeGatewayResult& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
64
66
73 inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
74 inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; }
75 inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); }
76 inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); }
77 inline DescribeGatewayResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
78 inline DescribeGatewayResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
79 inline DescribeGatewayResult& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
81
83
86 inline const GatewayPlatform& GetGatewayPlatform() const{ return m_gatewayPlatform; }
87 inline void SetGatewayPlatform(const GatewayPlatform& value) { m_gatewayPlatform = value; }
88 inline void SetGatewayPlatform(GatewayPlatform&& value) { m_gatewayPlatform = std::move(value); }
89 inline DescribeGatewayResult& WithGatewayPlatform(const GatewayPlatform& value) { SetGatewayPlatform(value); return *this;}
90 inline DescribeGatewayResult& WithGatewayPlatform(GatewayPlatform&& value) { SetGatewayPlatform(std::move(value)); return *this;}
92
94
100 inline const Aws::Vector<GatewayCapabilitySummary>& GetGatewayCapabilitySummaries() const{ return m_gatewayCapabilitySummaries; }
101 inline void SetGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { m_gatewayCapabilitySummaries = value; }
102 inline void SetGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { m_gatewayCapabilitySummaries = std::move(value); }
105 inline DescribeGatewayResult& AddGatewayCapabilitySummaries(const GatewayCapabilitySummary& value) { m_gatewayCapabilitySummaries.push_back(value); return *this; }
106 inline DescribeGatewayResult& AddGatewayCapabilitySummaries(GatewayCapabilitySummary&& value) { m_gatewayCapabilitySummaries.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
114 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
115 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
116 inline DescribeGatewayResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
117 inline DescribeGatewayResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
125 inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDate = value; }
126 inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDate = std::move(value); }
128 inline DescribeGatewayResult& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
130
132
133 inline const Aws::String& GetRequestId() const{ return m_requestId; }
134 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
135 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
136 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
137 inline DescribeGatewayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
138 inline DescribeGatewayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
139 inline DescribeGatewayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
141 private:
142
143 Aws::String m_gatewayId;
144
145 Aws::String m_gatewayName;
146
147 Aws::String m_gatewayArn;
148
149 GatewayPlatform m_gatewayPlatform;
150
151 Aws::Vector<GatewayCapabilitySummary> m_gatewayCapabilitySummaries;
152
153 Aws::Utils::DateTime m_creationDate;
154
155 Aws::Utils::DateTime m_lastUpdateDate;
156
157 Aws::String m_requestId;
158 };
159
160} // namespace Model
161} // namespace IoTSiteWise
162} // namespace Aws
const Aws::Utils::DateTime & GetCreationDate() const
DescribeGatewayResult & WithGatewayPlatform(const GatewayPlatform &value)
DescribeGatewayResult & WithGatewayId(const Aws::String &value)
DescribeGatewayResult & WithRequestId(Aws::String &&value)
const Aws::Vector< GatewayCapabilitySummary > & GetGatewayCapabilitySummaries() const
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeGatewayResult & WithGatewayPlatform(GatewayPlatform &&value)
DescribeGatewayResult & WithGatewayName(const Aws::String &value)
DescribeGatewayResult & WithRequestId(const char *value)
DescribeGatewayResult & WithGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
DescribeGatewayResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeGatewayResult & WithGatewayId(Aws::String &&value)
void SetGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
DescribeGatewayResult & WithGatewayArn(const Aws::String &value)
AWS_IOTSITEWISE_API DescribeGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayResult & WithGatewayName(const char *value)
DescribeGatewayResult & WithRequestId(const Aws::String &value)
DescribeGatewayResult & WithLastUpdateDate(Aws::Utils::DateTime &&value)
DescribeGatewayResult & WithGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
DescribeGatewayResult & WithGatewayArn(const char *value)
DescribeGatewayResult & WithGatewayId(const char *value)
DescribeGatewayResult & WithLastUpdateDate(const Aws::Utils::DateTime &value)
void SetGatewayPlatform(const GatewayPlatform &value)
DescribeGatewayResult & WithGatewayName(Aws::String &&value)
DescribeGatewayResult & AddGatewayCapabilitySummaries(const GatewayCapabilitySummary &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
AWS_IOTSITEWISE_API DescribeGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
DescribeGatewayResult & AddGatewayCapabilitySummaries(GatewayCapabilitySummary &&value)
DescribeGatewayResult & WithGatewayArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue