AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAddress(const SocketAddress& value) { m_addressHasBeenSet = true; m_address = value; }
49 inline void SetAddress(SocketAddress&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
50 inline DataflowEndpoint& WithAddress(const SocketAddress& value) { SetAddress(value); return *this;}
51 inline DataflowEndpoint& WithAddress(SocketAddress&& value) { SetAddress(std::move(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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline DataflowEndpoint& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline DataflowEndpoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline DataflowEndpoint& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const EndpointStatus& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const EndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(EndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline DataflowEndpoint& WithStatus(const EndpointStatus& value) { SetStatus(value); return *this;}
87 inline DataflowEndpoint& WithStatus(EndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
89 private:
90
91 SocketAddress m_address;
92 bool m_addressHasBeenSet = false;
93
94 int m_mtu;
95 bool m_mtuHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 EndpointStatus m_status;
101 bool m_statusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GroundStation
106} // namespace Aws
void SetName(const Aws::String &value)
void SetStatus(const EndpointStatus &value)
DataflowEndpoint & WithName(Aws::String &&value)
const SocketAddress & GetAddress() const
AWS_GROUNDSTATION_API DataflowEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
DataflowEndpoint & WithAddress(const SocketAddress &value)
AWS_GROUNDSTATION_API DataflowEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(const SocketAddress &value)
DataflowEndpoint & WithAddress(SocketAddress &&value)
DataflowEndpoint & WithStatus(const EndpointStatus &value)
DataflowEndpoint & WithName(const Aws::String &value)
DataflowEndpoint & WithName(const char *value)
DataflowEndpoint & WithStatus(EndpointStatus &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const EndpointStatus & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue