AWS SDK for C++  1.9.66
AWS SDK for C++
DataflowEndpoint.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GroundStation
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const SocketAddress& GetAddress() const{ return m_address; }
46 
50  inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
51 
55  inline void SetAddress(const SocketAddress& value) { m_addressHasBeenSet = true; m_address = value; }
56 
60  inline void SetAddress(SocketAddress&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
61 
65  inline DataflowEndpoint& WithAddress(const SocketAddress& value) { SetAddress(value); return *this;}
66 
70  inline DataflowEndpoint& WithAddress(SocketAddress&& value) { SetAddress(std::move(value)); return *this;}
71 
72 
76  inline int GetMtu() const{ return m_mtu; }
77 
81  inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
82 
86  inline void SetMtu(int value) { m_mtuHasBeenSet = true; m_mtu = value; }
87 
91  inline DataflowEndpoint& WithMtu(int value) { SetMtu(value); return *this;}
92 
93 
97  inline const Aws::String& GetName() const{ return m_name; }
98 
102  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 
107  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
108 
112  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
113 
117  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
118 
122  inline DataflowEndpoint& WithName(const Aws::String& value) { SetName(value); return *this;}
123 
127  inline DataflowEndpoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
128 
132  inline DataflowEndpoint& WithName(const char* value) { SetName(value); return *this;}
133 
134 
138  inline const EndpointStatus& GetStatus() const{ return m_status; }
139 
143  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 
148  inline void SetStatus(const EndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 
153  inline void SetStatus(EndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
154 
158  inline DataflowEndpoint& WithStatus(const EndpointStatus& value) { SetStatus(value); return *this;}
159 
163  inline DataflowEndpoint& WithStatus(EndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
164 
165  private:
166 
167  SocketAddress m_address;
168  bool m_addressHasBeenSet;
169 
170  int m_mtu;
171  bool m_mtuHasBeenSet;
172 
173  Aws::String m_name;
174  bool m_nameHasBeenSet;
175 
176  EndpointStatus m_status;
177  bool m_statusHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace GroundStation
182 } // namespace Aws
Aws::GroundStation::Model::DataflowEndpoint::operator=
DataflowEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::DataflowEndpoint::WithName
DataflowEndpoint & WithName(const char *value)
Definition: DataflowEndpoint.h:132
Aws::GroundStation::Model::DataflowEndpoint::WithMtu
DataflowEndpoint & WithMtu(int value)
Definition: DataflowEndpoint.h:91
Aws::GroundStation::Model::SocketAddress
Definition: SocketAddress.h:32
Aws::GroundStation::Model::DataflowEndpoint::SetStatus
void SetStatus(const EndpointStatus &value)
Definition: DataflowEndpoint.h:148
Aws::GroundStation::Model::DataflowEndpoint::WithName
DataflowEndpoint & WithName(const Aws::String &value)
Definition: DataflowEndpoint.h:122
Aws::GroundStation::Model::DataflowEndpoint::SetMtu
void SetMtu(int value)
Definition: DataflowEndpoint.h:86
Aws::GroundStation::Model::DataflowEndpoint::SetName
void SetName(Aws::String &&value)
Definition: DataflowEndpoint.h:112
Aws::GroundStation::Model::DataflowEndpoint::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DataflowEndpoint.h:143
Aws::GroundStation::Model::DataflowEndpoint::WithName
DataflowEndpoint & WithName(Aws::String &&value)
Definition: DataflowEndpoint.h:127
Aws::GroundStation::Model::DataflowEndpoint::SetName
void SetName(const Aws::String &value)
Definition: DataflowEndpoint.h:107
Aws::GroundStation::Model::DataflowEndpoint::DataflowEndpoint
DataflowEndpoint(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::DataflowEndpoint::WithAddress
DataflowEndpoint & WithAddress(const SocketAddress &value)
Definition: DataflowEndpoint.h:65
SocketAddress.h
Aws::GroundStation::Model::DataflowEndpoint::WithStatus
DataflowEndpoint & WithStatus(EndpointStatus &&value)
Definition: DataflowEndpoint.h:163
Aws::GroundStation::Model::DataflowEndpoint::GetName
const Aws::String & GetName() const
Definition: DataflowEndpoint.h:97
GroundStation_EXPORTS.h
Aws::GroundStation::Model::DataflowEndpoint::GetAddress
const SocketAddress & GetAddress() const
Definition: DataflowEndpoint.h:45
Aws::GroundStation::Model::DataflowEndpoint::SetAddress
void SetAddress(const SocketAddress &value)
Definition: DataflowEndpoint.h:55
Aws::GroundStation::Model::DataflowEndpoint::SetName
void SetName(const char *value)
Definition: DataflowEndpoint.h:117
Aws::GroundStation::Model::DataflowEndpoint::AddressHasBeenSet
bool AddressHasBeenSet() const
Definition: DataflowEndpoint.h:50
Aws::GroundStation::Model::EndpointStatus
EndpointStatus
Definition: EndpointStatus.h:17
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::DataflowEndpoint::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DataflowEndpoint.h:102
Aws::GroundStation::Model::DataflowEndpoint
Definition: DataflowEndpoint.h:34
Aws::GroundStation::Model::DataflowEndpoint::MtuHasBeenSet
bool MtuHasBeenSet() const
Definition: DataflowEndpoint.h:81
EndpointStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::DataflowEndpoint::WithAddress
DataflowEndpoint & WithAddress(SocketAddress &&value)
Definition: DataflowEndpoint.h:70
Aws::GroundStation::Model::DataflowEndpoint::SetStatus
void SetStatus(EndpointStatus &&value)
Definition: DataflowEndpoint.h:153
Aws::GroundStation::Model::DataflowEndpoint::GetMtu
int GetMtu() const
Definition: DataflowEndpoint.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::DataflowEndpoint::WithStatus
DataflowEndpoint & WithStatus(const EndpointStatus &value)
Definition: DataflowEndpoint.h:158
Aws::GroundStation::Model::DataflowEndpoint::SetAddress
void SetAddress(SocketAddress &&value)
Definition: DataflowEndpoint.h:60
Aws::GroundStation::Model::DataflowEndpoint::DataflowEndpoint
DataflowEndpoint()
Aws::GroundStation::Model::DataflowEndpoint::GetStatus
const EndpointStatus & GetStatus() const
Definition: DataflowEndpoint.h:138
Aws::GroundStation::Model::DataflowEndpoint::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const