AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataflowEndpoint.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/SocketAddress.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/model/EndpointStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GroundStation
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GROUNDSTATION_API DataflowEndpoint() = default;
37 AWS_GROUNDSTATION_API DataflowEndpoint(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API DataflowEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SocketAddress& GetAddress() const { return m_address; }
47 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
48 template<typename AddressT = SocketAddress>
49 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
50 template<typename AddressT = SocketAddress>
51 DataflowEndpoint& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
53
55
58 inline int GetMtu() const { return m_mtu; }
59 inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
60 inline void SetMtu(int value) { m_mtuHasBeenSet = true; m_mtu = value; }
61 inline DataflowEndpoint& WithMtu(int value) { SetMtu(value); return *this;}
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 template<typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
72 template<typename NameT = Aws::String>
73 DataflowEndpoint& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
75
77
80 inline EndpointStatus GetStatus() const { return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(EndpointStatus value) { m_statusHasBeenSet = true; m_status = value; }
83 inline DataflowEndpoint& WithStatus(EndpointStatus value) { SetStatus(value); return *this;}
85 private:
86
87 SocketAddress m_address;
88 bool m_addressHasBeenSet = false;
89
90 int m_mtu{0};
91 bool m_mtuHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
97 bool m_statusHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace GroundStation
102} // namespace Aws
DataflowEndpoint & WithStatus(EndpointStatus value)
DataflowEndpoint & WithName(NameT &&value)
const SocketAddress & GetAddress() const
AWS_GROUNDSTATION_API DataflowEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API DataflowEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API DataflowEndpoint()=default
DataflowEndpoint & WithAddress(AddressT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue