AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
51 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
52 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
53 inline GatewaySummary& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
54 inline GatewaySummary& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
55 inline GatewaySummary& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
57
59
62 inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
63 inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
64 inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; }
65 inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); }
66 inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); }
67 inline GatewaySummary& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
68 inline GatewaySummary& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
69 inline GatewaySummary& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
71
73
74 inline const GatewayPlatform& GetGatewayPlatform() const{ return m_gatewayPlatform; }
75 inline bool GatewayPlatformHasBeenSet() const { return m_gatewayPlatformHasBeenSet; }
76 inline void SetGatewayPlatform(const GatewayPlatform& value) { m_gatewayPlatformHasBeenSet = true; m_gatewayPlatform = value; }
77 inline void SetGatewayPlatform(GatewayPlatform&& value) { m_gatewayPlatformHasBeenSet = true; m_gatewayPlatform = std::move(value); }
78 inline GatewaySummary& WithGatewayPlatform(const GatewayPlatform& value) { SetGatewayPlatform(value); return *this;}
79 inline GatewaySummary& WithGatewayPlatform(GatewayPlatform&& value) { SetGatewayPlatform(std::move(value)); return *this;}
81
83
89 inline const Aws::Vector<GatewayCapabilitySummary>& GetGatewayCapabilitySummaries() const{ return m_gatewayCapabilitySummaries; }
90 inline bool GatewayCapabilitySummariesHasBeenSet() const { return m_gatewayCapabilitySummariesHasBeenSet; }
91 inline void SetGatewayCapabilitySummaries(const Aws::Vector<GatewayCapabilitySummary>& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = value; }
92 inline void SetGatewayCapabilitySummaries(Aws::Vector<GatewayCapabilitySummary>&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries = std::move(value); }
95 inline GatewaySummary& AddGatewayCapabilitySummaries(const GatewayCapabilitySummary& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.push_back(value); return *this; }
96 inline GatewaySummary& AddGatewayCapabilitySummaries(GatewayCapabilitySummary&& value) { m_gatewayCapabilitySummariesHasBeenSet = true; m_gatewayCapabilitySummaries.push_back(std::move(value)); return *this; }
98
100
103 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
104 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
105 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
106 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
107 inline GatewaySummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
108 inline GatewaySummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
116 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
117 inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
118 inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
119 inline GatewaySummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
120 inline GatewaySummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_gatewayId;
125 bool m_gatewayIdHasBeenSet = false;
126
127 Aws::String m_gatewayName;
128 bool m_gatewayNameHasBeenSet = false;
129
130 GatewayPlatform m_gatewayPlatform;
131 bool m_gatewayPlatformHasBeenSet = false;
132
133 Aws::Vector<GatewayCapabilitySummary> m_gatewayCapabilitySummaries;
134 bool m_gatewayCapabilitySummariesHasBeenSet = false;
135
136 Aws::Utils::DateTime m_creationDate;
137 bool m_creationDateHasBeenSet = false;
138
139 Aws::Utils::DateTime m_lastUpdateDate;
140 bool m_lastUpdateDateHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace IoTSiteWise
145} // namespace Aws
GatewaySummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
GatewaySummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
GatewaySummary & WithGatewayPlatform(GatewayPlatform &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
GatewaySummary & WithGatewayName(Aws::String &&value)
GatewaySummary & WithGatewayId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
GatewaySummary & WithGatewayCapabilitySummaries(Aws::Vector< GatewayCapabilitySummary > &&value)
GatewaySummary & WithGatewayName(const Aws::String &value)
GatewaySummary & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Vector< GatewayCapabilitySummary > & GetGatewayCapabilitySummaries() const
GatewaySummary & WithGatewayPlatform(const GatewayPlatform &value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
void SetGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
GatewaySummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
void SetGatewayName(Aws::String &&value)
const Aws::String & GetGatewayId() const
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
GatewaySummary & AddGatewayCapabilitySummaries(const GatewayCapabilitySummary &value)
AWS_IOTSITEWISE_API GatewaySummary(Aws::Utils::Json::JsonView jsonValue)
void SetGatewayPlatform(GatewayPlatform &&value)
void SetGatewayId(const Aws::String &value)
GatewaySummary & WithGatewayId(const Aws::String &value)
GatewaySummary & WithGatewayName(const char *value)
GatewaySummary & AddGatewayCapabilitySummaries(GatewayCapabilitySummary &&value)
GatewaySummary & WithGatewayId(const char *value)
void SetGatewayName(const Aws::String &value)
void SetGatewayId(Aws::String &&value)
AWS_IOTSITEWISE_API GatewaySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewaySummary & WithGatewayCapabilitySummaries(const Aws::Vector< GatewayCapabilitySummary > &value)
const GatewayPlatform & GetGatewayPlatform() const
void SetGatewayPlatform(const GatewayPlatform &value)
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