AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
RangedConnectionDetails.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/RangedSocketAddress.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GroundStation {
20namespace Model {
21
29 public:
30 AWS_GROUNDSTATION_API RangedConnectionDetails() = default;
31 AWS_GROUNDSTATION_API RangedConnectionDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RangedSocketAddress& GetSocketAddress() const { return m_socketAddress; }
40 inline bool SocketAddressHasBeenSet() const { return m_socketAddressHasBeenSet; }
41 template <typename SocketAddressT = RangedSocketAddress>
42 void SetSocketAddress(SocketAddressT&& value) {
43 m_socketAddressHasBeenSet = true;
44 m_socketAddress = std::forward<SocketAddressT>(value);
45 }
46 template <typename SocketAddressT = RangedSocketAddress>
47 RangedConnectionDetails& WithSocketAddress(SocketAddressT&& value) {
48 SetSocketAddress(std::forward<SocketAddressT>(value));
49 return *this;
50 }
52
54
57 inline int GetMtu() const { return m_mtu; }
58 inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
59 inline void SetMtu(int value) {
60 m_mtuHasBeenSet = true;
61 m_mtu = value;
62 }
63 inline RangedConnectionDetails& WithMtu(int value) {
64 SetMtu(value);
65 return *this;
66 }
68 private:
69 RangedSocketAddress m_socketAddress;
70 bool m_socketAddressHasBeenSet = false;
71
72 int m_mtu{0};
73 bool m_mtuHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace GroundStation
78} // namespace Aws
AWS_GROUNDSTATION_API RangedConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
RangedConnectionDetails & WithSocketAddress(SocketAddressT &&value)
AWS_GROUNDSTATION_API RangedConnectionDetails()=default
AWS_GROUNDSTATION_API RangedConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue