AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
EndpointDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9#include <aws/groundstation/model/AwsGroundStationAgentEndpoint.h>
10#include <aws/groundstation/model/CapabilityHealth.h>
11#include <aws/groundstation/model/CapabilityHealthReason.h>
12#include <aws/groundstation/model/DataflowEndpoint.h>
13#include <aws/groundstation/model/DownlinkAwsGroundStationAgentEndpointDetails.h>
14#include <aws/groundstation/model/SecurityDetails.h>
15#include <aws/groundstation/model/UplinkAwsGroundStationAgentEndpointDetails.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace GroundStation {
27namespace Model {
28
35 public:
36 AWS_GROUNDSTATION_API EndpointDetails() = default;
37 AWS_GROUNDSTATION_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API EndpointDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const SecurityDetails& GetSecurityDetails() const { return m_securityDetails; }
47 inline bool SecurityDetailsHasBeenSet() const { return m_securityDetailsHasBeenSet; }
48 template <typename SecurityDetailsT = SecurityDetails>
49 void SetSecurityDetails(SecurityDetailsT&& value) {
50 m_securityDetailsHasBeenSet = true;
51 m_securityDetails = std::forward<SecurityDetailsT>(value);
52 }
53 template <typename SecurityDetailsT = SecurityDetails>
54 EndpointDetails& WithSecurityDetails(SecurityDetailsT&& value) {
55 SetSecurityDetails(std::forward<SecurityDetailsT>(value));
56 return *this;
57 }
59
61
64 inline const DataflowEndpoint& GetEndpoint() const { return m_endpoint; }
65 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
66 template <typename EndpointT = DataflowEndpoint>
67 void SetEndpoint(EndpointT&& value) {
68 m_endpointHasBeenSet = true;
69 m_endpoint = std::forward<EndpointT>(value);
70 }
71 template <typename EndpointT = DataflowEndpoint>
72 EndpointDetails& WithEndpoint(EndpointT&& value) {
73 SetEndpoint(std::forward<EndpointT>(value));
74 return *this;
75 }
77
79
82 inline const AwsGroundStationAgentEndpoint& GetAwsGroundStationAgentEndpoint() const { return m_awsGroundStationAgentEndpoint; }
83 inline bool AwsGroundStationAgentEndpointHasBeenSet() const { return m_awsGroundStationAgentEndpointHasBeenSet; }
84 template <typename AwsGroundStationAgentEndpointT = AwsGroundStationAgentEndpoint>
85 void SetAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT&& value) {
86 m_awsGroundStationAgentEndpointHasBeenSet = true;
87 m_awsGroundStationAgentEndpoint = std::forward<AwsGroundStationAgentEndpointT>(value);
88 }
89 template <typename AwsGroundStationAgentEndpointT = AwsGroundStationAgentEndpoint>
90 EndpointDetails& WithAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT&& value) {
91 SetAwsGroundStationAgentEndpoint(std::forward<AwsGroundStationAgentEndpointT>(value));
92 return *this;
93 }
95
97
101 return m_uplinkAwsGroundStationAgentEndpoint;
102 }
103 inline bool UplinkAwsGroundStationAgentEndpointHasBeenSet() const { return m_uplinkAwsGroundStationAgentEndpointHasBeenSet; }
104 template <typename UplinkAwsGroundStationAgentEndpointT = UplinkAwsGroundStationAgentEndpointDetails>
105 void SetUplinkAwsGroundStationAgentEndpoint(UplinkAwsGroundStationAgentEndpointT&& value) {
106 m_uplinkAwsGroundStationAgentEndpointHasBeenSet = true;
107 m_uplinkAwsGroundStationAgentEndpoint = std::forward<UplinkAwsGroundStationAgentEndpointT>(value);
108 }
109 template <typename UplinkAwsGroundStationAgentEndpointT = UplinkAwsGroundStationAgentEndpointDetails>
110 EndpointDetails& WithUplinkAwsGroundStationAgentEndpoint(UplinkAwsGroundStationAgentEndpointT&& value) {
111 SetUplinkAwsGroundStationAgentEndpoint(std::forward<UplinkAwsGroundStationAgentEndpointT>(value));
112 return *this;
113 }
115
117
121 return m_downlinkAwsGroundStationAgentEndpoint;
122 }
123 inline bool DownlinkAwsGroundStationAgentEndpointHasBeenSet() const { return m_downlinkAwsGroundStationAgentEndpointHasBeenSet; }
124 template <typename DownlinkAwsGroundStationAgentEndpointT = DownlinkAwsGroundStationAgentEndpointDetails>
125 void SetDownlinkAwsGroundStationAgentEndpoint(DownlinkAwsGroundStationAgentEndpointT&& value) {
126 m_downlinkAwsGroundStationAgentEndpointHasBeenSet = true;
127 m_downlinkAwsGroundStationAgentEndpoint = std::forward<DownlinkAwsGroundStationAgentEndpointT>(value);
128 }
129 template <typename DownlinkAwsGroundStationAgentEndpointT = DownlinkAwsGroundStationAgentEndpointDetails>
130 EndpointDetails& WithDownlinkAwsGroundStationAgentEndpoint(DownlinkAwsGroundStationAgentEndpointT&& value) {
131 SetDownlinkAwsGroundStationAgentEndpoint(std::forward<DownlinkAwsGroundStationAgentEndpointT>(value));
132 return *this;
133 }
135
137
141 inline CapabilityHealth GetHealthStatus() const { return m_healthStatus; }
142 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
144 m_healthStatusHasBeenSet = true;
145 m_healthStatus = value;
146 }
148 SetHealthStatus(value);
149 return *this;
150 }
152
154
158 inline const Aws::Vector<CapabilityHealthReason>& GetHealthReasons() const { return m_healthReasons; }
159 inline bool HealthReasonsHasBeenSet() const { return m_healthReasonsHasBeenSet; }
160 template <typename HealthReasonsT = Aws::Vector<CapabilityHealthReason>>
161 void SetHealthReasons(HealthReasonsT&& value) {
162 m_healthReasonsHasBeenSet = true;
163 m_healthReasons = std::forward<HealthReasonsT>(value);
164 }
165 template <typename HealthReasonsT = Aws::Vector<CapabilityHealthReason>>
166 EndpointDetails& WithHealthReasons(HealthReasonsT&& value) {
167 SetHealthReasons(std::forward<HealthReasonsT>(value));
168 return *this;
169 }
171 m_healthReasonsHasBeenSet = true;
172 m_healthReasons.push_back(value);
173 return *this;
174 }
176 private:
177 SecurityDetails m_securityDetails;
178
179 DataflowEndpoint m_endpoint;
180
181 AwsGroundStationAgentEndpoint m_awsGroundStationAgentEndpoint;
182
183 UplinkAwsGroundStationAgentEndpointDetails m_uplinkAwsGroundStationAgentEndpoint;
184
185 DownlinkAwsGroundStationAgentEndpointDetails m_downlinkAwsGroundStationAgentEndpoint;
186
188
190 bool m_securityDetailsHasBeenSet = false;
191 bool m_endpointHasBeenSet = false;
192 bool m_awsGroundStationAgentEndpointHasBeenSet = false;
193 bool m_uplinkAwsGroundStationAgentEndpointHasBeenSet = false;
194 bool m_downlinkAwsGroundStationAgentEndpointHasBeenSet = false;
195 bool m_healthStatusHasBeenSet = false;
196 bool m_healthReasonsHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace GroundStation
201} // namespace Aws
EndpointDetails & WithDownlinkAwsGroundStationAgentEndpoint(DownlinkAwsGroundStationAgentEndpointT &&value)
void SetHealthReasons(HealthReasonsT &&value)
EndpointDetails & WithHealthReasons(HealthReasonsT &&value)
EndpointDetails & WithAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT &&value)
void SetDownlinkAwsGroundStationAgentEndpoint(DownlinkAwsGroundStationAgentEndpointT &&value)
AWS_GROUNDSTATION_API EndpointDetails()=default
void SetSecurityDetails(SecurityDetailsT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const DataflowEndpoint & GetEndpoint() const
const DownlinkAwsGroundStationAgentEndpointDetails & GetDownlinkAwsGroundStationAgentEndpoint() const
EndpointDetails & AddHealthReasons(CapabilityHealthReason value)
void SetHealthStatus(CapabilityHealth value)
AWS_GROUNDSTATION_API EndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CapabilityHealthReason > & GetHealthReasons() const
void SetUplinkAwsGroundStationAgentEndpoint(UplinkAwsGroundStationAgentEndpointT &&value)
AWS_GROUNDSTATION_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue)
EndpointDetails & WithSecurityDetails(SecurityDetailsT &&value)
const SecurityDetails & GetSecurityDetails() const
EndpointDetails & WithHealthStatus(CapabilityHealth value)
const AwsGroundStationAgentEndpoint & GetAwsGroundStationAgentEndpoint() const
EndpointDetails & WithUplinkAwsGroundStationAgentEndpoint(UplinkAwsGroundStationAgentEndpointT &&value)
EndpointDetails & WithEndpoint(EndpointT &&value)
const UplinkAwsGroundStationAgentEndpointDetails & GetUplinkAwsGroundStationAgentEndpoint() const
void SetAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue