AWS SDK for C++  1.8.153
AWS SDK for C++
GatewaySummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTSiteWise
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
47 
51  inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
52 
56  inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
57 
61  inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
62 
66  inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
67 
71  inline GatewaySummary& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
72 
76  inline GatewaySummary& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
77 
81  inline GatewaySummary& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
82 
83 
87  inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
88 
92  inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
93 
97  inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; }
98 
102  inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); }
103 
107  inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); }
108 
112  inline GatewaySummary& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
113 
117  inline GatewaySummary& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
118 
122  inline GatewaySummary& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
123 
124 
131  inline const Aws::Vector<GatewayCapabilitySummary>& GetGatewayCapabilitySummaries() const{ return m_gatewayCapabilitySummaries; }
132 
139  inline bool GatewayCapabilitySummariesHasBeenSet() const { return m_gatewayCapabilitySummariesHasBeenSet; }
140 
147  inline void SetGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = value; }
148 
155  inline void SetGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = std::move(value); }
156 
163  inline GatewaySummary& WithGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { SetGatewayCapabilitySummaries(value); return *this;}
164 
171  inline GatewaySummary& WithGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { SetGatewayCapabilitySummaries(std::move(value)); return *this;}
172 
179  inline GatewaySummary& AddGatewayCapabilitySummaries(const GatewayCapabilitySummary& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.push_back(value); return *this; }
180 
187  inline GatewaySummary& AddGatewayCapabilitySummaries(GatewayCapabilitySummary&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.push_back(std::move(value)); return *this; }
188 
189 
193  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
194 
198  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
199 
203  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
204 
208  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
209 
213  inline GatewaySummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
214 
218  inline GatewaySummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
219 
220 
224  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
225 
229  inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
230 
234  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
235 
239  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
240 
244  inline GatewaySummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
245 
249  inline GatewaySummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
250 
251  private:
252 
253  Aws::String m_gatewayId;
254  bool m_gatewayIdHasBeenSet;
255 
256  Aws::String m_gatewayName;
257  bool m_gatewayNameHasBeenSet;
258 
259  Aws::Vector<GatewayCapabilitySummary> m_gatewayCapabilitySummaries;
260  bool m_gatewayCapabilitySummariesHasBeenSet;
261 
262  Aws::Utils::DateTime m_creationDate;
263  bool m_creationDateHasBeenSet;
264 
265  Aws::Utils::DateTime m_lastUpdateDate;
266  bool m_lastUpdateDateHasBeenSet;
267  };
268 
269 } // namespace Model
270 } // namespace IoTSiteWise
271 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::GatewaySummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: GatewaySummary.h:193
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayId
GatewaySummary & WithGatewayId(const Aws::String &value)
Definition: GatewaySummary.h:71
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayName
void SetGatewayName(const char *value)
Definition: GatewaySummary.h:107
Aws::IoTSiteWise::Model::GatewaySummary::GatewaySummary
GatewaySummary()
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayCapabilitySummaries
GatewaySummary & WithGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
Definition: GatewaySummary.h:171
Aws::IoTSiteWise::Model::GatewaySummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:208
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:122
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayId
GatewaySummary & WithGatewayId(const char *value)
Definition: GatewaySummary.h:81
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:234
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayName
void SetGatewayName(const Aws::String &value)
Definition: GatewaySummary.h:97
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:46
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayCapabilitySummaries
GatewaySummary & WithGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
Definition: GatewaySummary.h:163
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayId
void SetGatewayId(Aws::String &&value)
Definition: GatewaySummary.h:61
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayName
void SetGatewayName(Aws::String &&value)
Definition: GatewaySummary.h:102
Aws::IoTSiteWise::Model::GatewaySummary::GatewaySummary
GatewaySummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::GatewaySummary::GetGatewayCapabilitySummaries
const Aws::Vector< GatewayCapabilitySummary > & GetGatewayCapabilitySummaries() const
Definition: GatewaySummary.h:131
Aws::IoTSiteWise::Model::GatewaySummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: GatewaySummary.h:224
Aws::IoTSiteWise::Model::GatewaySummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: GatewaySummary.h:198
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayId
GatewaySummary & WithGatewayId(Aws::String &&value)
Definition: GatewaySummary.h:76
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayId
void SetGatewayId(const char *value)
Definition: GatewaySummary.h:66
Aws::IoTSiteWise::Model::GatewaySummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: GatewaySummary.h:229
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayId
void SetGatewayId(const Aws::String &value)
Definition: GatewaySummary.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayName
GatewaySummary & WithGatewayName(Aws::String &&value)
Definition: GatewaySummary.h:117
Aws::IoTSiteWise::Model::GatewaySummary::WithLastUpdateDate
GatewaySummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:249
Aws::IoTSiteWise::Model::GatewaySummary::AddGatewayCapabilitySummaries
GatewaySummary & AddGatewayCapabilitySummaries(const GatewayCapabilitySummary &value)
Definition: GatewaySummary.h:179
Aws::IoTSiteWise::Model::GatewaySummary::WithCreationDate
GatewaySummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:218
Aws::IoTSiteWise::Model::GatewaySummary::GatewayCapabilitySummariesHasBeenSet
bool GatewayCapabilitySummariesHasBeenSet() const
Definition: GatewaySummary.h:139
Aws::IoTSiteWise::Model::GatewaySummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: GatewaySummary.h:239
Aws::IoTSiteWise::Model::GatewayCapabilitySummary
Definition: GatewayCapabilitySummary.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::GatewaySummary::WithGatewayName
GatewaySummary & WithGatewayName(const Aws::String &value)
Definition: GatewaySummary.h:112
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:35
Aws::IoTSiteWise::Model::GatewaySummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:203
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayCapabilitySummaries
void SetGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
Definition: GatewaySummary.h:147
Aws::IoTSiteWise::Model::GatewaySummary::GetGatewayName
const Aws::String & GetGatewayName() const
Definition: GatewaySummary.h:87
Aws::IoTSiteWise::Model::GatewaySummary::AddGatewayCapabilitySummaries
GatewaySummary & AddGatewayCapabilitySummaries(GatewayCapabilitySummary &&value)
Definition: GatewaySummary.h:187
Aws::IoTSiteWise::Model::GatewaySummary::GatewayNameHasBeenSet
bool GatewayNameHasBeenSet() const
Definition: GatewaySummary.h:92
Aws::IoTSiteWise::Model::GatewaySummary::WithLastUpdateDate
GatewaySummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:244
Aws::IoTSiteWise::Model::GatewaySummary::operator=
GatewaySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::GatewaySummary::GatewayIdHasBeenSet
bool GatewayIdHasBeenSet() const
Definition: GatewaySummary.h:51
Aws::IoTSiteWise::Model::GatewaySummary::WithCreationDate
GatewaySummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: GatewaySummary.h:213
Aws::IoTSiteWise::Model::GatewaySummary::SetGatewayCapabilitySummaries
void SetGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
Definition: GatewaySummary.h:155