AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GatewaySummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTSiteWise
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IOTSITEWISE_API GatewaySummary() = default;
39 AWS_IOTSITEWISE_API GatewaySummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API GatewaySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
49 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
50 template<typename GatewayIdT = Aws::String>
51 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::forward<GatewayIdT>(value); }
52 template<typename GatewayIdT = Aws::String>
53 GatewaySummary& WithGatewayId(GatewayIdT&& value) { SetGatewayId(std::forward<GatewayIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetGatewayName() const { return m_gatewayName; }
61 inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
62 template<typename GatewayNameT = Aws::String>
63 void SetGatewayName(GatewayNameT&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::forward<GatewayNameT>(value); }
64 template<typename GatewayNameT = Aws::String>
65 GatewaySummary& WithGatewayName(GatewayNameT&& value) { SetGatewayName(std::forward<GatewayNameT>(value)); return *this;}
67
69
70 inline const GatewayPlatform& GetGatewayPlatform() const { return m_gatewayPlatform; }
71 inline bool GatewayPlatformHasBeenSet() const { return m_gatewayPlatformHasBeenSet; }
72 template<typename GatewayPlatformT = GatewayPlatform>
73 void SetGatewayPlatform(GatewayPlatformT&& value) { m_gatewayPlatformHasBeenSet = true; m_gatewayPlatform = std::forward<GatewayPlatformT>(value); }
74 template<typename GatewayPlatformT = GatewayPlatform>
75 GatewaySummary& WithGatewayPlatform(GatewayPlatformT&& value) { SetGatewayPlatform(std::forward<GatewayPlatformT>(value)); return *this;}
77
79
84 inline const Aws::String& GetGatewayVersion() const { return m_gatewayVersion; }
85 inline bool GatewayVersionHasBeenSet() const { return m_gatewayVersionHasBeenSet; }
86 template<typename GatewayVersionT = Aws::String>
87 void SetGatewayVersion(GatewayVersionT&& value) { m_gatewayVersionHasBeenSet = true; m_gatewayVersion = std::forward<GatewayVersionT>(value); }
88 template<typename GatewayVersionT = Aws::String>
89 GatewaySummary& WithGatewayVersion(GatewayVersionT&& value) { SetGatewayVersion(std::forward<GatewayVersionT>(value)); return *this;}
91
93
99 inline const Aws::Vector<GatewayCapabilitySummary>& GetGatewayCapabilitySummaries() const { return m_gatewayCapabilitySummaries; }
100 inline bool GatewayCapabilitySummariesHasBeenSet() const { return m_gatewayCapabilitySummariesHasBeenSet; }
101 template<typename GatewayCapabilitySummariesT = Aws::Vector<GatewayCapabilitySummary>>
102 void SetGatewayCapabilitySummaries(GatewayCapabilitySummariesT&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = std::forward<GatewayCapabilitySummariesT>(value); }
103 template<typename GatewayCapabilitySummariesT = Aws::Vector<GatewayCapabilitySummary>>
104 GatewaySummary& WithGatewayCapabilitySummaries(GatewayCapabilitySummariesT&& value) { SetGatewayCapabilitySummaries(std::forward<GatewayCapabilitySummariesT>(value)); return *this;}
105 template<typename GatewayCapabilitySummariesT = GatewayCapabilitySummary>
106 GatewaySummary& AddGatewayCapabilitySummaries(GatewayCapabilitySummariesT&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.emplace_back(std::forward<GatewayCapabilitySummariesT>(value)); return *this; }
108
110
113 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
114 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
115 template<typename CreationDateT = Aws::Utils::DateTime>
116 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
117 template<typename CreationDateT = Aws::Utils::DateTime>
118 GatewaySummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastUpdateDate() const { return m_lastUpdateDate; }
126 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
127 template<typename LastUpdateDateT = Aws::Utils::DateTime>
128 void SetLastUpdateDate(LastUpdateDateT&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::forward<LastUpdateDateT>(value); }
129 template<typename LastUpdateDateT = Aws::Utils::DateTime>
130 GatewaySummary& WithLastUpdateDate(LastUpdateDateT&& value) { SetLastUpdateDate(std::forward<LastUpdateDateT>(value)); return *this;}
132 private:
133
134 Aws::String m_gatewayId;
135 bool m_gatewayIdHasBeenSet = false;
136
137 Aws::String m_gatewayName;
138 bool m_gatewayNameHasBeenSet = false;
139
140 GatewayPlatform m_gatewayPlatform;
141 bool m_gatewayPlatformHasBeenSet = false;
142
143 Aws::String m_gatewayVersion;
144 bool m_gatewayVersionHasBeenSet = false;
145
146 Aws::Vector<GatewayCapabilitySummary> m_gatewayCapabilitySummaries;
147 bool m_gatewayCapabilitySummariesHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationDate{};
150 bool m_creationDateHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastUpdateDate{};
153 bool m_lastUpdateDateHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace IoTSiteWise
158} // namespace Aws
void SetGatewayCapabilitySummaries(GatewayCapabilitySummariesT &&value)
GatewaySummary & WithCreationDate(CreationDateT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetGatewayId(GatewayIdT &&value)
GatewaySummary & AddGatewayCapabilitySummaries(GatewayCapabilitySummariesT &&value)
GatewaySummary & WithGatewayId(GatewayIdT &&value)
const Aws::Vector< GatewayCapabilitySummary > & GetGatewayCapabilitySummaries() const
void SetGatewayVersion(GatewayVersionT &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
GatewaySummary & WithGatewayName(GatewayNameT &&value)
const Aws::String & GetGatewayId() const
GatewaySummary & WithGatewayCapabilitySummaries(GatewayCapabilitySummariesT &&value)
const Aws::String & GetGatewayVersion() const
GatewaySummary & WithLastUpdateDate(LastUpdateDateT &&value)
AWS_IOTSITEWISE_API GatewaySummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(CreationDateT &&value)
GatewaySummary & WithGatewayVersion(GatewayVersionT &&value)
void SetGatewayPlatform(GatewayPlatformT &&value)
AWS_IOTSITEWISE_API GatewaySummary()=default
GatewaySummary & WithGatewayPlatform(GatewayPlatformT &&value)
void SetGatewayName(GatewayNameT &&value)
AWS_IOTSITEWISE_API GatewaySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateDate(LastUpdateDateT &&value)
const GatewayPlatform & GetGatewayPlatform() const
const Aws::String & GetGatewayName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue