AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UplinkConnectionDetails.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/ConnectionDetails.h>
9#include <aws/groundstation/model/RangedConnectionDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GroundStation {
21namespace Model {
22
30 public:
31 AWS_GROUNDSTATION_API UplinkConnectionDetails() = default;
32 AWS_GROUNDSTATION_API UplinkConnectionDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const ConnectionDetails& GetIngressAddressAndPort() const { return m_ingressAddressAndPort; }
39 inline bool IngressAddressAndPortHasBeenSet() const { return m_ingressAddressAndPortHasBeenSet; }
40 template <typename IngressAddressAndPortT = ConnectionDetails>
41 void SetIngressAddressAndPort(IngressAddressAndPortT&& value) {
42 m_ingressAddressAndPortHasBeenSet = true;
43 m_ingressAddressAndPort = std::forward<IngressAddressAndPortT>(value);
44 }
45 template <typename IngressAddressAndPortT = ConnectionDetails>
46 UplinkConnectionDetails& WithIngressAddressAndPort(IngressAddressAndPortT&& value) {
47 SetIngressAddressAndPort(std::forward<IngressAddressAndPortT>(value));
48 return *this;
49 }
51
53
54 inline const RangedConnectionDetails& GetAgentIpAndPortAddress() const { return m_agentIpAndPortAddress; }
55 inline bool AgentIpAndPortAddressHasBeenSet() const { return m_agentIpAndPortAddressHasBeenSet; }
56 template <typename AgentIpAndPortAddressT = RangedConnectionDetails>
57 void SetAgentIpAndPortAddress(AgentIpAndPortAddressT&& value) {
58 m_agentIpAndPortAddressHasBeenSet = true;
59 m_agentIpAndPortAddress = std::forward<AgentIpAndPortAddressT>(value);
60 }
61 template <typename AgentIpAndPortAddressT = RangedConnectionDetails>
62 UplinkConnectionDetails& WithAgentIpAndPortAddress(AgentIpAndPortAddressT&& value) {
63 SetAgentIpAndPortAddress(std::forward<AgentIpAndPortAddressT>(value));
64 return *this;
65 }
67 private:
68 ConnectionDetails m_ingressAddressAndPort;
69
70 RangedConnectionDetails m_agentIpAndPortAddress;
71 bool m_ingressAddressAndPortHasBeenSet = false;
72 bool m_agentIpAndPortAddressHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace GroundStation
77} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue