AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
AwsGroundStationAgentEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9#include <aws/groundstation/model/AgentStatus.h>
10#include <aws/groundstation/model/AuditResults.h>
11#include <aws/groundstation/model/ConnectionDetails.h>
12#include <aws/groundstation/model/RangedConnectionDetails.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GroundStation {
24namespace Model {
25
33 public:
34 AWS_GROUNDSTATION_API AwsGroundStationAgentEndpoint() = default;
37 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template <typename NameT = Aws::String>
47 void SetName(NameT&& value) {
48 m_nameHasBeenSet = true;
49 m_name = std::forward<NameT>(value);
50 }
51 template <typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
54 return *this;
55 }
57
59
62 inline const ConnectionDetails& GetEgressAddress() const { return m_egressAddress; }
63 inline bool EgressAddressHasBeenSet() const { return m_egressAddressHasBeenSet; }
64 template <typename EgressAddressT = ConnectionDetails>
65 void SetEgressAddress(EgressAddressT&& value) {
66 m_egressAddressHasBeenSet = true;
67 m_egressAddress = std::forward<EgressAddressT>(value);
68 }
69 template <typename EgressAddressT = ConnectionDetails>
71 SetEgressAddress(std::forward<EgressAddressT>(value));
72 return *this;
73 }
75
77
80 inline const RangedConnectionDetails& GetIngressAddress() const { return m_ingressAddress; }
81 inline bool IngressAddressHasBeenSet() const { return m_ingressAddressHasBeenSet; }
82 template <typename IngressAddressT = RangedConnectionDetails>
83 void SetIngressAddress(IngressAddressT&& value) {
84 m_ingressAddressHasBeenSet = true;
85 m_ingressAddress = std::forward<IngressAddressT>(value);
86 }
87 template <typename IngressAddressT = RangedConnectionDetails>
89 SetIngressAddress(std::forward<IngressAddressT>(value));
90 return *this;
91 }
93
95
98 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
99 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
100 inline void SetAgentStatus(AgentStatus value) {
101 m_agentStatusHasBeenSet = true;
102 m_agentStatus = value;
103 }
105 SetAgentStatus(value);
106 return *this;
107 }
109
111
114 inline AuditResults GetAuditResults() const { return m_auditResults; }
115 inline bool AuditResultsHasBeenSet() const { return m_auditResultsHasBeenSet; }
116 inline void SetAuditResults(AuditResults value) {
117 m_auditResultsHasBeenSet = true;
118 m_auditResults = value;
119 }
121 SetAuditResults(value);
122 return *this;
123 }
125 private:
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 ConnectionDetails m_egressAddress;
130 bool m_egressAddressHasBeenSet = false;
131
132 RangedConnectionDetails m_ingressAddress;
133 bool m_ingressAddressHasBeenSet = false;
134
135 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
136 bool m_agentStatusHasBeenSet = false;
137
138 AuditResults m_auditResults{AuditResults::NOT_SET};
139 bool m_auditResultsHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace GroundStation
144} // namespace Aws
AwsGroundStationAgentEndpoint & WithAuditResults(AuditResults value)
AWS_GROUNDSTATION_API AwsGroundStationAgentEndpoint(Aws::Utils::Json::JsonView jsonValue)
AwsGroundStationAgentEndpoint & WithEgressAddress(EgressAddressT &&value)
AWS_GROUNDSTATION_API AwsGroundStationAgentEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AwsGroundStationAgentEndpoint & WithAgentStatus(AgentStatus value)
AWS_GROUNDSTATION_API AwsGroundStationAgentEndpoint()=default
AwsGroundStationAgentEndpoint & WithIngressAddress(IngressAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue