AWS SDK for C++  1.9.159
AWS SDK for C++
GatewaySummary.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoTSiteWise
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
48 
52  inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
53 
57  inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
58 
62  inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
63 
67  inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
68 
72  inline GatewaySummary& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
73 
77  inline GatewaySummary& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
78 
82  inline GatewaySummary& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
83 
84 
88  inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
89 
93  inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
94 
98  inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; }
99 
103  inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); }
104 
108  inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); }
109 
113  inline GatewaySummary& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
114 
118  inline GatewaySummary& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
119 
123  inline GatewaySummary& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
124 
125 
126 
127  inline const GatewayPlatform& GetGatewayPlatform() const{ return m_gatewayPlatform; }
128 
129 
130  inline bool GatewayPlatformHasBeenSet() const { return m_gatewayPlatformHasBeenSet; }
131 
132 
133  inline void SetGatewayPlatform(const GatewayPlatform& value) { m_gatewayPlatformHasBeenSet = true; m_gatewayPlatform = value; }
134 
135 
136  inline void SetGatewayPlatform(GatewayPlatform&& value) { m_gatewayPlatformHasBeenSet = true; m_gatewayPlatform = std::move(value); }
137 
138 
139  inline GatewaySummary& WithGatewayPlatform(const GatewayPlatform& value) { SetGatewayPlatform(value); return *this;}
140 
141 
142  inline GatewaySummary& WithGatewayPlatform(GatewayPlatform&& value) { SetGatewayPlatform(std::move(value)); return *this;}
143 
144 
151  inline const Aws::Vector<GatewayCapabilitySummary>& GetGatewayCapabilitySummaries() const{ return m_gatewayCapabilitySummaries; }
152 
159  inline bool GatewayCapabilitySummariesHasBeenSet() const { return m_gatewayCapabilitySummariesHasBeenSet; }
160 
167  inline void SetGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = value; }
168 
175  inline void SetGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = std::move(value); }
176 
183  inline GatewaySummary& WithGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { SetGatewayCapabilitySummaries(value); return *this;}
184 
191  inline GatewaySummary& WithGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { SetGatewayCapabilitySummaries(std::move(value)); return *this;}
192 
199  inline GatewaySummary& AddGatewayCapabilitySummaries(const GatewayCapabilitySummary& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.push_back(value); return *this; }
200 
207  inline GatewaySummary& AddGatewayCapabilitySummaries(GatewayCapabilitySummary&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.push_back(std::move(value)); return *this; }
208 
209 
213  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
214 
218  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
219 
223  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
224 
228  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
229 
233  inline GatewaySummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
234 
238  inline GatewaySummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
239 
240 
244  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
245 
249  inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
250 
254  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
255 
259  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
260 
264  inline GatewaySummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
265 
269  inline GatewaySummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
270 
271  private:
272 
273  Aws::String m_gatewayId;
274  bool m_gatewayIdHasBeenSet;
275 
276  Aws::String m_gatewayName;
277  bool m_gatewayNameHasBeenSet;
278 
279  GatewayPlatform m_gatewayPlatform;
280  bool m_gatewayPlatformHasBeenSet;
281 
282  Aws::Vector<GatewayCapabilitySummary> m_gatewayCapabilitySummaries;
283  bool m_gatewayCapabilitySummariesHasBeenSet;
284 
285  Aws::Utils::DateTime m_creationDate;
286  bool m_creationDateHasBeenSet;
287 
288  Aws::Utils::DateTime m_lastUpdateDate;
289  bool m_lastUpdateDateHasBeenSet;
290  };
291 
292 } // namespace Model
293 } // namespace IoTSiteWise
294 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayPlatform
GatewaySummary & WithGatewayPlatform(GatewayPlatform &&value)
Definition: GatewaySummary.h:142
Aws::IoTSiteWise::Model::GatewaySummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: GatewaySummary.h:213
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayId
GatewaySummary & WithGatewayId(const Aws::String &value)
Definition: GatewaySummary.h:72
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayName
void SetGatewayName(const char *value)
Definition: GatewaySummary.h:108
Aws::IoTSiteWise::Model::GatewaySummary::GatewaySummary
GatewaySummary()
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayCapabilitySummaries
GatewaySummary & WithGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
Definition: GatewaySummary.h:191
Aws::IoTSiteWise::Model::GatewaySummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:228
IoTSiteWise_EXPORTS.h
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayName
GatewaySummary & WithGatewayName(const char *value)
Definition: GatewaySummary.h:123
Aws::IoTSiteWise::Model::GatewaySummary::GatewayPlatformHasBeenSet
bool GatewayPlatformHasBeenSet() const
Definition: GatewaySummary.h:130
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayId
GatewaySummary & WithGatewayId(const char *value)
Definition: GatewaySummary.h:82
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::GatewaySummary::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:254
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayName
void SetGatewayName(const Aws::String &value)
Definition: GatewaySummary.h:98
Aws::IoTSiteWise::Model::GatewaySummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSVector.h
Aws::IoTSiteWise::Model::GatewaySummary::GetGatewayId
const Aws::String & GetGatewayId() const
Definition: GatewaySummary.h:47
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayCapabilitySummaries
GatewaySummary & WithGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
Definition: GatewaySummary.h:183
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayId
void SetGatewayId(Aws::String &&value)
Definition: GatewaySummary.h:62
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayName
void SetGatewayName(Aws::String &&value)
Definition: GatewaySummary.h:103
Aws::IoTSiteWise::Model::GatewaySummary::GatewaySummary
GatewaySummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayPlatform
void SetGatewayPlatform(GatewayPlatform &&value)
Definition: GatewaySummary.h:136
Aws::IoTSiteWise::Model::GatewaySummary::GetGatewayCapabilitySummaries
const Aws::Vector< GatewayCapabilitySummary > & GetGatewayCapabilitySummaries() const
Definition: GatewaySummary.h:151
Aws::IoTSiteWise::Model::GatewaySummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: GatewaySummary.h:244
Aws::IoTSiteWise::Model::GatewaySummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: GatewaySummary.h:218
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayId
GatewaySummary & WithGatewayId(Aws::String &&value)
Definition: GatewaySummary.h:77
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayId
void SetGatewayId(const char *value)
Definition: GatewaySummary.h:67
Aws::IoTSiteWise::Model::GatewaySummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: GatewaySummary.h:249
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayPlatform
GatewaySummary & WithGatewayPlatform(const GatewayPlatform &value)
Definition: GatewaySummary.h:139
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayId
void SetGatewayId(const Aws::String &value)
Definition: GatewaySummary.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayName
GatewaySummary & WithGatewayName(Aws::String &&value)
Definition: GatewaySummary.h:118
Aws::IoTSiteWise::Model::GatewaySummary::WithLastUpdateDate
GatewaySummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:269
Aws::IoTSiteWise::Model::GatewaySummary::AddGatewayCapabilitySummaries
GatewaySummary & AddGatewayCapabilitySummaries(const GatewayCapabilitySummary &value)
Definition: GatewaySummary.h:199
Aws::IoTSiteWise::Model::GatewaySummary::WithCreationDate
GatewaySummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:238
Aws::IoTSiteWise::Model::GatewaySummary::GatewayCapabilitySummariesHasBeenSet
bool GatewayCapabilitySummariesHasBeenSet() const
Definition: GatewaySummary.h:159
Aws::IoTSiteWise::Model::GatewaySummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:259
GatewayPlatform.h
Aws::IoTSiteWise::Model::GatewayCapabilitySummary
Definition: GatewayCapabilitySummary.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayName
GatewaySummary & WithGatewayName(const Aws::String &value)
Definition: GatewaySummary.h:113
GatewayCapabilitySummary.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::GatewaySummary
Definition: GatewaySummary.h:36
Aws::IoTSiteWise::Model::GatewaySummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:223
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayCapabilitySummaries
void SetGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
Definition: GatewaySummary.h:167
Aws::IoTSiteWise::Model::GatewaySummary::GetGatewayName
const Aws::String & GetGatewayName() const
Definition: GatewaySummary.h:88
Aws::IoTSiteWise::Model::GatewayPlatform
Definition: GatewayPlatform.h:33
Aws::IoTSiteWise::Model::GatewaySummary::AddGatewayCapabilitySummaries
GatewaySummary & AddGatewayCapabilitySummaries(GatewayCapabilitySummary &&value)
Definition: GatewaySummary.h:207
Aws::IoTSiteWise::Model::GatewaySummary::GatewayNameHasBeenSet
bool GatewayNameHasBeenSet() const
Definition: GatewaySummary.h:93
Aws::IoTSiteWise::Model::GatewaySummary::WithLastUpdateDate
GatewaySummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:264
Aws::IoTSiteWise::Model::GatewaySummary::operator=
GatewaySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::GatewaySummary::GatewayIdHasBeenSet
bool GatewayIdHasBeenSet() const
Definition: GatewaySummary.h:52
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayPlatform
void SetGatewayPlatform(const GatewayPlatform &value)
Definition: GatewaySummary.h:133
Aws::IoTSiteWise::Model::GatewaySummary::WithCreationDate
GatewaySummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:233
Aws::IoTSiteWise::Model::GatewaySummary::GetGatewayPlatform
const GatewayPlatform & GetGatewayPlatform() const
Definition: GatewaySummary.h:127
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayCapabilitySummaries
void SetGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
Definition: GatewaySummary.h:175