AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GROUNDSTATION_API RangedConnectionDetails() = default;
36 AWS_GROUNDSTATION_API RangedConnectionDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetMtu() const { return m_mtu; }
46 inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
47 inline void SetMtu(int value) { m_mtuHasBeenSet = true; m_mtu = value; }
48 inline RangedConnectionDetails& WithMtu(int value) { SetMtu(value); return *this;}
50
52
55 inline const RangedSocketAddress& GetSocketAddress() const { return m_socketAddress; }
56 inline bool SocketAddressHasBeenSet() const { return m_socketAddressHasBeenSet; }
57 template<typename SocketAddressT = RangedSocketAddress>
58 void SetSocketAddress(SocketAddressT&& value) { m_socketAddressHasBeenSet = true; m_socketAddress = std::forward<SocketAddressT>(value); }
59 template<typename SocketAddressT = RangedSocketAddress>
60 RangedConnectionDetails& WithSocketAddress(SocketAddressT&& value) { SetSocketAddress(std::forward<SocketAddressT>(value)); return *this;}
62 private:
63
64 int m_mtu{0};
65 bool m_mtuHasBeenSet = false;
66
67 RangedSocketAddress m_socketAddress;
68 bool m_socketAddressHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GroundStation
73} // 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