AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DownlinkConnectionDetails.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 DownlinkConnectionDetails() = default;
32 AWS_GROUNDSTATION_API DownlinkConnectionDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const RangedConnectionDetails& GetAgentIpAndPortAddress() const { return m_agentIpAndPortAddress; }
39 inline bool AgentIpAndPortAddressHasBeenSet() const { return m_agentIpAndPortAddressHasBeenSet; }
40 template <typename AgentIpAndPortAddressT = RangedConnectionDetails>
41 void SetAgentIpAndPortAddress(AgentIpAndPortAddressT&& value) {
42 m_agentIpAndPortAddressHasBeenSet = true;
43 m_agentIpAndPortAddress = std::forward<AgentIpAndPortAddressT>(value);
44 }
45 template <typename AgentIpAndPortAddressT = RangedConnectionDetails>
46 DownlinkConnectionDetails& WithAgentIpAndPortAddress(AgentIpAndPortAddressT&& value) {
47 SetAgentIpAndPortAddress(std::forward<AgentIpAndPortAddressT>(value));
48 return *this;
49 }
51
53
54 inline const ConnectionDetails& GetEgressAddressAndPort() const { return m_egressAddressAndPort; }
55 inline bool EgressAddressAndPortHasBeenSet() const { return m_egressAddressAndPortHasBeenSet; }
56 template <typename EgressAddressAndPortT = ConnectionDetails>
57 void SetEgressAddressAndPort(EgressAddressAndPortT&& value) {
58 m_egressAddressAndPortHasBeenSet = true;
59 m_egressAddressAndPort = std::forward<EgressAddressAndPortT>(value);
60 }
61 template <typename EgressAddressAndPortT = ConnectionDetails>
62 DownlinkConnectionDetails& WithEgressAddressAndPort(EgressAddressAndPortT&& value) {
63 SetEgressAddressAndPort(std::forward<EgressAddressAndPortT>(value));
64 return *this;
65 }
67 private:
68 RangedConnectionDetails m_agentIpAndPortAddress;
69
70 ConnectionDetails m_egressAddressAndPort;
71 bool m_agentIpAndPortAddressHasBeenSet = false;
72 bool m_egressAddressAndPortHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace GroundStation
77} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue