AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionDetails.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/SocketAddress.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 ConnectionDetails();
36 AWS_GROUNDSTATION_API ConnectionDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API ConnectionDetails& operator=(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 ConnectionDetails& WithMtu(int value) { SetMtu(value); return *this;}
50
52
55 inline const SocketAddress& GetSocketAddress() const{ return m_socketAddress; }
56 inline bool SocketAddressHasBeenSet() const { return m_socketAddressHasBeenSet; }
57 inline void SetSocketAddress(const SocketAddress& value) { m_socketAddressHasBeenSet = true; m_socketAddress = value; }
58 inline void SetSocketAddress(SocketAddress&& value) { m_socketAddressHasBeenSet = true; m_socketAddress = std::move(value); }
59 inline ConnectionDetails& WithSocketAddress(const SocketAddress& value) { SetSocketAddress(value); return *this;}
60 inline ConnectionDetails& WithSocketAddress(SocketAddress&& value) { SetSocketAddress(std::move(value)); return *this;}
62 private:
63
64 int m_mtu;
65 bool m_mtuHasBeenSet = false;
66
67 SocketAddress m_socketAddress;
68 bool m_socketAddressHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GroundStation
73} // namespace Aws
void SetSocketAddress(const SocketAddress &value)
AWS_GROUNDSTATION_API ConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API ConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
const SocketAddress & GetSocketAddress() const
ConnectionDetails & WithSocketAddress(SocketAddress &&value)
ConnectionDetails & WithSocketAddress(const SocketAddress &value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue