AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename GatewayArnT = Aws::String>
52 void SetGatewayArn(GatewayArnT&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::forward<GatewayArnT>(value); }
53 template<typename GatewayArnT = Aws::String>
54 GatewayDetails& WithGatewayArn(GatewayArnT&& value) { SetGatewayArn(std::forward<GatewayArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetGatewayDisplayName() const { return m_gatewayDisplayName; }
62 inline bool GatewayDisplayNameHasBeenSet() const { return m_gatewayDisplayNameHasBeenSet; }
63 template<typename GatewayDisplayNameT = Aws::String>
64 void SetGatewayDisplayName(GatewayDisplayNameT&& value) { m_gatewayDisplayNameHasBeenSet = true; m_gatewayDisplayName = std::forward<GatewayDisplayNameT>(value); }
65 template<typename GatewayDisplayNameT = Aws::String>
66 GatewayDetails& WithGatewayDisplayName(GatewayDisplayNameT&& value) { SetGatewayDisplayName(std::forward<GatewayDisplayNameT>(value)); return *this;}
68
70
73 inline GatewayType GetGatewayType() const { return m_gatewayType; }
74 inline bool GatewayTypeHasBeenSet() const { return m_gatewayTypeHasBeenSet; }
75 inline void SetGatewayType(GatewayType value) { m_gatewayTypeHasBeenSet = true; m_gatewayType = value; }
76 inline GatewayDetails& WithGatewayType(GatewayType value) { SetGatewayType(value); return *this;}
78
80
83 inline const Aws::String& GetHypervisorId() const { return m_hypervisorId; }
84 inline bool HypervisorIdHasBeenSet() const { return m_hypervisorIdHasBeenSet; }
85 template<typename HypervisorIdT = Aws::String>
86 void SetHypervisorId(HypervisorIdT&& value) { m_hypervisorIdHasBeenSet = true; m_hypervisorId = std::forward<HypervisorIdT>(value); }
87 template<typename HypervisorIdT = Aws::String>
88 GatewayDetails& WithHypervisorId(HypervisorIdT&& value) { SetHypervisorId(std::forward<HypervisorIdT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetLastSeenTime() const { return m_lastSeenTime; }
97 inline bool LastSeenTimeHasBeenSet() const { return m_lastSeenTimeHasBeenSet; }
98 template<typename LastSeenTimeT = Aws::Utils::DateTime>
99 void SetLastSeenTime(LastSeenTimeT&& value) { m_lastSeenTimeHasBeenSet = true; m_lastSeenTime = std::forward<LastSeenTimeT>(value); }
100 template<typename LastSeenTimeT = Aws::Utils::DateTime>
101 GatewayDetails& WithLastSeenTime(LastSeenTimeT&& value) { SetLastSeenTime(std::forward<LastSeenTimeT>(value)); return *this;}
103
105
110 inline const MaintenanceStartTime& GetMaintenanceStartTime() const { return m_maintenanceStartTime; }
111 inline bool MaintenanceStartTimeHasBeenSet() const { return m_maintenanceStartTimeHasBeenSet; }
112 template<typename MaintenanceStartTimeT = MaintenanceStartTime>
113 void SetMaintenanceStartTime(MaintenanceStartTimeT&& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = std::forward<MaintenanceStartTimeT>(value); }
114 template<typename MaintenanceStartTimeT = MaintenanceStartTime>
115 GatewayDetails& WithMaintenanceStartTime(MaintenanceStartTimeT&& value) { SetMaintenanceStartTime(std::forward<MaintenanceStartTimeT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetNextUpdateAvailabilityTime() const { return m_nextUpdateAvailabilityTime; }
123 inline bool NextUpdateAvailabilityTimeHasBeenSet() const { return m_nextUpdateAvailabilityTimeHasBeenSet; }
124 template<typename NextUpdateAvailabilityTimeT = Aws::Utils::DateTime>
125 void SetNextUpdateAvailabilityTime(NextUpdateAvailabilityTimeT&& value) { m_nextUpdateAvailabilityTimeHasBeenSet = true; m_nextUpdateAvailabilityTime = std::forward<NextUpdateAvailabilityTimeT>(value); }
126 template<typename NextUpdateAvailabilityTimeT = Aws::Utils::DateTime>
127 GatewayDetails& WithNextUpdateAvailabilityTime(NextUpdateAvailabilityTimeT&& value) { SetNextUpdateAvailabilityTime(std::forward<NextUpdateAvailabilityTimeT>(value)); return *this;}
129
131
135 inline const Aws::String& GetVpcEndpoint() const { return m_vpcEndpoint; }
136 inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; }
137 template<typename VpcEndpointT = Aws::String>
138 void SetVpcEndpoint(VpcEndpointT&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::forward<VpcEndpointT>(value); }
139 template<typename VpcEndpointT = Aws::String>
140 GatewayDetails& WithVpcEndpoint(VpcEndpointT&& value) { SetVpcEndpoint(std::forward<VpcEndpointT>(value)); return *this;}
142 private:
143
144 Aws::String m_gatewayArn;
145 bool m_gatewayArnHasBeenSet = false;
146
147 Aws::String m_gatewayDisplayName;
148 bool m_gatewayDisplayNameHasBeenSet = false;
149
150 GatewayType m_gatewayType{GatewayType::NOT_SET};
151 bool m_gatewayTypeHasBeenSet = false;
152
153 Aws::String m_hypervisorId;
154 bool m_hypervisorIdHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastSeenTime{};
157 bool m_lastSeenTimeHasBeenSet = false;
158
159 MaintenanceStartTime m_maintenanceStartTime;
160 bool m_maintenanceStartTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_nextUpdateAvailabilityTime{};
163 bool m_nextUpdateAvailabilityTimeHasBeenSet = false;
164
165 Aws::String m_vpcEndpoint;
166 bool m_vpcEndpointHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace BackupGateway
171} // namespace Aws
GatewayDetails & WithGatewayType(GatewayType value)
GatewayDetails & WithNextUpdateAvailabilityTime(NextUpdateAvailabilityTimeT &&value)
void SetLastSeenTime(LastSeenTimeT &&value)
GatewayDetails & WithVpcEndpoint(VpcEndpointT &&value)
const Aws::String & GetGatewayDisplayName() const
GatewayDetails & WithLastSeenTime(LastSeenTimeT &&value)
AWS_BACKUPGATEWAY_API GatewayDetails()=default
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayDetails & WithGatewayArn(GatewayArnT &&value)
GatewayDetails & WithGatewayDisplayName(GatewayDisplayNameT &&value)
const Aws::String & GetGatewayArn() const
AWS_BACKUPGATEWAY_API GatewayDetails(Aws::Utils::Json::JsonView jsonValue)
void SetGatewayArn(GatewayArnT &&value)
GatewayDetails & WithMaintenanceStartTime(MaintenanceStartTimeT &&value)
void SetHypervisorId(HypervisorIdT &&value)
const MaintenanceStartTime & GetMaintenanceStartTime() const
void SetMaintenanceStartTime(MaintenanceStartTimeT &&value)
const Aws::Utils::DateTime & GetLastSeenTime() const
void SetNextUpdateAvailabilityTime(NextUpdateAvailabilityTimeT &&value)
const Aws::String & GetVpcEndpoint() const
void SetVpcEndpoint(VpcEndpointT &&value)
const Aws::String & GetHypervisorId() const
void SetGatewayDisplayName(GatewayDisplayNameT &&value)
AWS_BACKUPGATEWAY_API GatewayDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetNextUpdateAvailabilityTime() const
GatewayDetails & WithHypervisorId(HypervisorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue