AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EndpointDetails.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/AwsGroundStationAgentEndpoint.h>
9#include <aws/groundstation/model/DataflowEndpoint.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/groundstation/model/CapabilityHealth.h>
12#include <aws/groundstation/model/SecurityDetails.h>
13#include <aws/groundstation/model/CapabilityHealthReason.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace GroundStation
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_GROUNDSTATION_API EndpointDetails() = default;
40 AWS_GROUNDSTATION_API EndpointDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GROUNDSTATION_API EndpointDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const AwsGroundStationAgentEndpoint& GetAwsGroundStationAgentEndpoint() const { return m_awsGroundStationAgentEndpoint; }
50 inline bool AwsGroundStationAgentEndpointHasBeenSet() const { return m_awsGroundStationAgentEndpointHasBeenSet; }
51 template<typename AwsGroundStationAgentEndpointT = AwsGroundStationAgentEndpoint>
52 void SetAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT&& value) { m_awsGroundStationAgentEndpointHasBeenSet = true; m_awsGroundStationAgentEndpoint = std::forward<AwsGroundStationAgentEndpointT>(value); }
53 template<typename AwsGroundStationAgentEndpointT = AwsGroundStationAgentEndpoint>
54 EndpointDetails& WithAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT&& value) { SetAwsGroundStationAgentEndpoint(std::forward<AwsGroundStationAgentEndpointT>(value)); return *this;}
56
58
61 inline const DataflowEndpoint& GetEndpoint() const { return m_endpoint; }
62 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
63 template<typename EndpointT = DataflowEndpoint>
64 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
65 template<typename EndpointT = DataflowEndpoint>
66 EndpointDetails& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
68
70
74 inline const Aws::Vector<CapabilityHealthReason>& GetHealthReasons() const { return m_healthReasons; }
75 inline bool HealthReasonsHasBeenSet() const { return m_healthReasonsHasBeenSet; }
76 template<typename HealthReasonsT = Aws::Vector<CapabilityHealthReason>>
77 void SetHealthReasons(HealthReasonsT&& value) { m_healthReasonsHasBeenSet = true; m_healthReasons = std::forward<HealthReasonsT>(value); }
78 template<typename HealthReasonsT = Aws::Vector<CapabilityHealthReason>>
79 EndpointDetails& WithHealthReasons(HealthReasonsT&& value) { SetHealthReasons(std::forward<HealthReasonsT>(value)); return *this;}
80 inline EndpointDetails& AddHealthReasons(CapabilityHealthReason value) { m_healthReasonsHasBeenSet = true; m_healthReasons.push_back(value); return *this; }
82
84
88 inline CapabilityHealth GetHealthStatus() const { return m_healthStatus; }
89 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
90 inline void SetHealthStatus(CapabilityHealth value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
91 inline EndpointDetails& WithHealthStatus(CapabilityHealth value) { SetHealthStatus(value); return *this;}
93
95
99 inline const SecurityDetails& GetSecurityDetails() const { return m_securityDetails; }
100 inline bool SecurityDetailsHasBeenSet() const { return m_securityDetailsHasBeenSet; }
101 template<typename SecurityDetailsT = SecurityDetails>
102 void SetSecurityDetails(SecurityDetailsT&& value) { m_securityDetailsHasBeenSet = true; m_securityDetails = std::forward<SecurityDetailsT>(value); }
103 template<typename SecurityDetailsT = SecurityDetails>
104 EndpointDetails& WithSecurityDetails(SecurityDetailsT&& value) { SetSecurityDetails(std::forward<SecurityDetailsT>(value)); return *this;}
106 private:
107
108 AwsGroundStationAgentEndpoint m_awsGroundStationAgentEndpoint;
109 bool m_awsGroundStationAgentEndpointHasBeenSet = false;
110
111 DataflowEndpoint m_endpoint;
112 bool m_endpointHasBeenSet = false;
113
115 bool m_healthReasonsHasBeenSet = false;
116
118 bool m_healthStatusHasBeenSet = false;
119
120 SecurityDetails m_securityDetails;
121 bool m_securityDetailsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace GroundStation
126} // namespace Aws
void SetHealthReasons(HealthReasonsT &&value)
EndpointDetails & WithHealthReasons(HealthReasonsT &&value)
EndpointDetails & WithAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT &&value)
AWS_GROUNDSTATION_API EndpointDetails()=default
void SetSecurityDetails(SecurityDetailsT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const DataflowEndpoint & GetEndpoint() 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
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 & WithEndpoint(EndpointT &&value)
void SetAwsGroundStationAgentEndpoint(AwsGroundStationAgentEndpointT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue