AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GatewayDetails.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup-gateway/model/GatewayType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/backup-gateway/model/MaintenanceStartTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BackupGateway
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BACKUPGATEWAY_API GatewayDetails();
38 AWS_BACKUPGATEWAY_API GatewayDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BACKUPGATEWAY_API GatewayDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
50 inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
51 inline void SetGatewayArn(const Aws::String& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = value; }
52 inline void SetGatewayArn(Aws::String&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::move(value); }
53 inline void SetGatewayArn(const char* value) { m_gatewayArnHasBeenSet = true; m_gatewayArn.assign(value); }
54 inline GatewayDetails& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
55 inline GatewayDetails& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
56 inline GatewayDetails& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
58
60
63 inline const Aws::String& GetGatewayDisplayName() const{ return m_gatewayDisplayName; }
64 inline bool GatewayDisplayNameHasBeenSet() const { return m_gatewayDisplayNameHasBeenSet; }
65 inline void SetGatewayDisplayName(const Aws::String& value) { m_gatewayDisplayNameHasBeenSet = true; m_gatewayDisplayName = value; }
66 inline void SetGatewayDisplayName(Aws::String&& value) { m_gatewayDisplayNameHasBeenSet = true; m_gatewayDisplayName = std::move(value); }
67 inline void SetGatewayDisplayName(const char* value) { m_gatewayDisplayNameHasBeenSet = true; m_gatewayDisplayName.assign(value); }
68 inline GatewayDetails& WithGatewayDisplayName(const Aws::String& value) { SetGatewayDisplayName(value); return *this;}
69 inline GatewayDetails& WithGatewayDisplayName(Aws::String&& value) { SetGatewayDisplayName(std::move(value)); return *this;}
70 inline GatewayDetails& WithGatewayDisplayName(const char* value) { SetGatewayDisplayName(value); return *this;}
72
74
77 inline const GatewayType& GetGatewayType() const{ return m_gatewayType; }
78 inline bool GatewayTypeHasBeenSet() const { return m_gatewayTypeHasBeenSet; }
79 inline void SetGatewayType(const GatewayType& value) { m_gatewayTypeHasBeenSet = true; m_gatewayType = value; }
80 inline void SetGatewayType(GatewayType&& value) { m_gatewayTypeHasBeenSet = true; m_gatewayType = std::move(value); }
81 inline GatewayDetails& WithGatewayType(const GatewayType& value) { SetGatewayType(value); return *this;}
82 inline GatewayDetails& WithGatewayType(GatewayType&& value) { SetGatewayType(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetHypervisorId() const{ return m_hypervisorId; }
90 inline bool HypervisorIdHasBeenSet() const { return m_hypervisorIdHasBeenSet; }
91 inline void SetHypervisorId(const Aws::String& value) { m_hypervisorIdHasBeenSet = true; m_hypervisorId = value; }
92 inline void SetHypervisorId(Aws::String&& value) { m_hypervisorIdHasBeenSet = true; m_hypervisorId = std::move(value); }
93 inline void SetHypervisorId(const char* value) { m_hypervisorIdHasBeenSet = true; m_hypervisorId.assign(value); }
94 inline GatewayDetails& WithHypervisorId(const Aws::String& value) { SetHypervisorId(value); return *this;}
95 inline GatewayDetails& WithHypervisorId(Aws::String&& value) { SetHypervisorId(std::move(value)); return *this;}
96 inline GatewayDetails& WithHypervisorId(const char* value) { SetHypervisorId(value); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetLastSeenTime() const{ return m_lastSeenTime; }
105 inline bool LastSeenTimeHasBeenSet() const { return m_lastSeenTimeHasBeenSet; }
106 inline void SetLastSeenTime(const Aws::Utils::DateTime& value) { m_lastSeenTimeHasBeenSet = true; m_lastSeenTime = value; }
107 inline void SetLastSeenTime(Aws::Utils::DateTime&& value) { m_lastSeenTimeHasBeenSet = true; m_lastSeenTime = std::move(value); }
108 inline GatewayDetails& WithLastSeenTime(const Aws::Utils::DateTime& value) { SetLastSeenTime(value); return *this;}
109 inline GatewayDetails& WithLastSeenTime(Aws::Utils::DateTime&& value) { SetLastSeenTime(std::move(value)); return *this;}
111
113
118 inline const MaintenanceStartTime& GetMaintenanceStartTime() const{ return m_maintenanceStartTime; }
119 inline bool MaintenanceStartTimeHasBeenSet() const { return m_maintenanceStartTimeHasBeenSet; }
120 inline void SetMaintenanceStartTime(const MaintenanceStartTime& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = value; }
121 inline void SetMaintenanceStartTime(MaintenanceStartTime&& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = std::move(value); }
123 inline GatewayDetails& WithMaintenanceStartTime(MaintenanceStartTime&& value) { SetMaintenanceStartTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetNextUpdateAvailabilityTime() const{ return m_nextUpdateAvailabilityTime; }
131 inline bool NextUpdateAvailabilityTimeHasBeenSet() const { return m_nextUpdateAvailabilityTimeHasBeenSet; }
132 inline void SetNextUpdateAvailabilityTime(const Aws::Utils::DateTime& value) { m_nextUpdateAvailabilityTimeHasBeenSet = true; m_nextUpdateAvailabilityTime = value; }
133 inline void SetNextUpdateAvailabilityTime(Aws::Utils::DateTime&& value) { m_nextUpdateAvailabilityTimeHasBeenSet = true; m_nextUpdateAvailabilityTime = std::move(value); }
137
139
143 inline const Aws::String& GetVpcEndpoint() const{ return m_vpcEndpoint; }
144 inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; }
145 inline void SetVpcEndpoint(const Aws::String& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = value; }
146 inline void SetVpcEndpoint(Aws::String&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::move(value); }
147 inline void SetVpcEndpoint(const char* value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint.assign(value); }
148 inline GatewayDetails& WithVpcEndpoint(const Aws::String& value) { SetVpcEndpoint(value); return *this;}
149 inline GatewayDetails& WithVpcEndpoint(Aws::String&& value) { SetVpcEndpoint(std::move(value)); return *this;}
150 inline GatewayDetails& WithVpcEndpoint(const char* value) { SetVpcEndpoint(value); return *this;}
152 private:
153
154 Aws::String m_gatewayArn;
155 bool m_gatewayArnHasBeenSet = false;
156
157 Aws::String m_gatewayDisplayName;
158 bool m_gatewayDisplayNameHasBeenSet = false;
159
160 GatewayType m_gatewayType;
161 bool m_gatewayTypeHasBeenSet = false;
162
163 Aws::String m_hypervisorId;
164 bool m_hypervisorIdHasBeenSet = false;
165
166 Aws::Utils::DateTime m_lastSeenTime;
167 bool m_lastSeenTimeHasBeenSet = false;
168
169 MaintenanceStartTime m_maintenanceStartTime;
170 bool m_maintenanceStartTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_nextUpdateAvailabilityTime;
173 bool m_nextUpdateAvailabilityTimeHasBeenSet = false;
174
175 Aws::String m_vpcEndpoint;
176 bool m_vpcEndpointHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace BackupGateway
181} // namespace Aws
void SetGatewayArn(const Aws::String &value)
GatewayDetails & WithVpcEndpoint(const char *value)
GatewayDetails & WithGatewayArn(const Aws::String &value)
AWS_BACKUPGATEWAY_API GatewayDetails()
void SetGatewayArn(Aws::String &&value)
const Aws::String & GetGatewayDisplayName() const
GatewayDetails & WithHypervisorId(const Aws::String &value)
void SetGatewayDisplayName(Aws::String &&value)
GatewayDetails & WithGatewayType(const GatewayType &value)
GatewayDetails & WithVpcEndpoint(const Aws::String &value)
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastSeenTime(Aws::Utils::DateTime &&value)
GatewayDetails & WithMaintenanceStartTime(MaintenanceStartTime &&value)
GatewayDetails & WithLastSeenTime(Aws::Utils::DateTime &&value)
const Aws::String & GetGatewayArn() const
void SetGatewayDisplayName(const Aws::String &value)
GatewayDetails & WithNextUpdateAvailabilityTime(const Aws::Utils::DateTime &value)
GatewayDetails & WithNextUpdateAvailabilityTime(Aws::Utils::DateTime &&value)
AWS_BACKUPGATEWAY_API GatewayDetails(Aws::Utils::Json::JsonView jsonValue)
void SetLastSeenTime(const Aws::Utils::DateTime &value)
GatewayDetails & WithLastSeenTime(const Aws::Utils::DateTime &value)
void SetHypervisorId(Aws::String &&value)
GatewayDetails & WithMaintenanceStartTime(const MaintenanceStartTime &value)
const MaintenanceStartTime & GetMaintenanceStartTime() const
GatewayDetails & WithVpcEndpoint(Aws::String &&value)
void SetNextUpdateAvailabilityTime(Aws::Utils::DateTime &&value)
GatewayDetails & WithGatewayType(GatewayType &&value)
void SetGatewayType(GatewayType &&value)
const GatewayType & GetGatewayType() const
const Aws::Utils::DateTime & GetLastSeenTime() const
void SetHypervisorId(const Aws::String &value)
GatewayDetails & WithGatewayArn(Aws::String &&value)
const Aws::String & GetVpcEndpoint() const
GatewayDetails & WithGatewayDisplayName(Aws::String &&value)
GatewayDetails & WithHypervisorId(const char *value)
void SetMaintenanceStartTime(MaintenanceStartTime &&value)
const Aws::String & GetHypervisorId() const
void SetMaintenanceStartTime(const MaintenanceStartTime &value)
void SetVpcEndpoint(const Aws::String &value)
GatewayDetails & WithGatewayDisplayName(const char *value)
void SetGatewayType(const GatewayType &value)
GatewayDetails & WithGatewayDisplayName(const Aws::String &value)
GatewayDetails & WithGatewayArn(const char *value)
GatewayDetails & WithHypervisorId(Aws::String &&value)
void SetGatewayDisplayName(const char *value)
AWS_BACKUPGATEWAY_API GatewayDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetNextUpdateAvailabilityTime() const
void SetNextUpdateAvailabilityTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue