AWS SDK for C++  1.9.20
AWS SDK for C++
GatewayRouteData.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppMesh
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
48 
52  inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
53 
57  inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
58 
62  inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
63 
67  inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
68 
72  inline GatewayRouteData& WithGatewayRouteName(const Aws::String& value) { SetGatewayRouteName(value); return *this;}
73 
77  inline GatewayRouteData& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
78 
82  inline GatewayRouteData& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
83 
84 
88  inline const Aws::String& GetMeshName() const{ return m_meshName; }
89 
93  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
94 
98  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
99 
103  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
104 
108  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
109 
113  inline GatewayRouteData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
114 
118  inline GatewayRouteData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
119 
123  inline GatewayRouteData& WithMeshName(const char* value) { SetMeshName(value); return *this;}
124 
125 
126 
127  inline const ResourceMetadata& GetMetadata() const{ return m_metadata; }
128 
129 
130  inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
131 
132 
133  inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
134 
135 
136  inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
137 
138 
139  inline GatewayRouteData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
140 
141 
142  inline GatewayRouteData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
143 
144 
148  inline const GatewayRouteSpec& GetSpec() const{ return m_spec; }
149 
153  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
154 
158  inline void SetSpec(const GatewayRouteSpec& value) { m_specHasBeenSet = true; m_spec = value; }
159 
163  inline void SetSpec(GatewayRouteSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
164 
168  inline GatewayRouteData& WithSpec(const GatewayRouteSpec& value) { SetSpec(value); return *this;}
169 
173  inline GatewayRouteData& WithSpec(GatewayRouteSpec&& value) { SetSpec(std::move(value)); return *this;}
174 
175 
179  inline const GatewayRouteStatus& GetStatus() const{ return m_status; }
180 
184  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
185 
189  inline void SetStatus(const GatewayRouteStatus& value) { m_statusHasBeenSet = true; m_status = value; }
190 
194  inline void SetStatus(GatewayRouteStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
195 
199  inline GatewayRouteData& WithStatus(const GatewayRouteStatus& value) { SetStatus(value); return *this;}
200 
204  inline GatewayRouteData& WithStatus(GatewayRouteStatus&& value) { SetStatus(std::move(value)); return *this;}
205 
206 
210  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
211 
215  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
216 
220  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
221 
225  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
226 
230  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
231 
235  inline GatewayRouteData& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
236 
240  inline GatewayRouteData& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
241 
245  inline GatewayRouteData& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
246 
247  private:
248 
249  Aws::String m_gatewayRouteName;
250  bool m_gatewayRouteNameHasBeenSet;
251 
252  Aws::String m_meshName;
253  bool m_meshNameHasBeenSet;
254 
255  ResourceMetadata m_metadata;
256  bool m_metadataHasBeenSet;
257 
258  GatewayRouteSpec m_spec;
259  bool m_specHasBeenSet;
260 
261  GatewayRouteStatus m_status;
262  bool m_statusHasBeenSet;
263 
264  Aws::String m_virtualGatewayName;
265  bool m_virtualGatewayNameHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace AppMesh
270 } // namespace Aws
Aws::AppMesh::Model::GatewayRouteData::SetGatewayRouteName
void SetGatewayRouteName(Aws::String &&value)
Definition: GatewayRouteData.h:62
Aws::AppMesh::Model::GatewayRouteData::GatewayRouteData
GatewayRouteData()
Aws::AppMesh::Model::GatewayRouteData::WithGatewayRouteName
GatewayRouteData & WithGatewayRouteName(Aws::String &&value)
Definition: GatewayRouteData.h:77
Aws::AppMesh::Model::GatewayRouteData::GetMeshName
const Aws::String & GetMeshName() const
Definition: GatewayRouteData.h:88
Aws::AppMesh::Model::GatewayRouteData::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: GatewayRouteData.h:103
Aws::AppMesh::Model::GatewayRouteData::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: GatewayRouteData.h:210
Aws::AppMesh::Model::GatewayRouteData::GatewayRouteNameHasBeenSet
bool GatewayRouteNameHasBeenSet() const
Definition: GatewayRouteData.h:52
GatewayRouteSpec.h
Aws::AppMesh::Model::GatewayRouteData::SetMetadata
void SetMetadata(ResourceMetadata &&value)
Definition: GatewayRouteData.h:136
Aws::AppMesh::Model::GatewayRouteData::WithMeshName
GatewayRouteData & WithMeshName(const char *value)
Definition: GatewayRouteData.h:123
Aws::AppMesh::Model::GatewayRouteData::GatewayRouteData
GatewayRouteData(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteStatus
Definition: GatewayRouteStatus.h:33
Aws::AppMesh::Model::GatewayRouteData::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: GatewayRouteData.h:153
Aws::AppMesh::Model::GatewayRouteData::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: GatewayRouteData.h:230
Aws::AppMesh::Model::ResourceMetadata
Definition: ResourceMetadata.h:34
Aws::AppMesh::Model::GatewayRouteData::WithSpec
GatewayRouteData & WithSpec(const GatewayRouteSpec &value)
Definition: GatewayRouteData.h:168
AppMesh_EXPORTS.h
Aws::AppMesh::Model::GatewayRouteData::SetMetadata
void SetMetadata(const ResourceMetadata &value)
Definition: GatewayRouteData.h:133
ResourceMetadata.h
Aws::AppMesh::Model::GatewayRouteData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::GatewayRouteData::SetStatus
void SetStatus(GatewayRouteStatus &&value)
Definition: GatewayRouteData.h:194
Aws::AppMesh::Model::GatewayRouteData::WithGatewayRouteName
GatewayRouteData & WithGatewayRouteName(const Aws::String &value)
Definition: GatewayRouteData.h:72
Aws::AppMesh::Model::GatewayRouteData::SetGatewayRouteName
void SetGatewayRouteName(const Aws::String &value)
Definition: GatewayRouteData.h:57
Aws::AppMesh::Model::GatewayRouteData::operator=
GatewayRouteData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::GatewayRouteData::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: GatewayRouteData.h:225
Aws::AppMesh::Model::GatewayRouteData::GetStatus
const GatewayRouteStatus & GetStatus() const
Definition: GatewayRouteData.h:179
Aws::AppMesh::Model::GatewayRouteData::GetMetadata
const ResourceMetadata & GetMetadata() const
Definition: GatewayRouteData.h:127
Aws::AppMesh::Model::GatewayRouteData::WithMeshName
GatewayRouteData & WithMeshName(Aws::String &&value)
Definition: GatewayRouteData.h:118
Aws::AppMesh::Model::GatewayRouteData::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: GatewayRouteData.h:215
Aws::AppMesh::Model::GatewayRouteData::GetGatewayRouteName
const Aws::String & GetGatewayRouteName() const
Definition: GatewayRouteData.h:47
Aws::AppMesh::Model::GatewayRouteData::WithMetadata
GatewayRouteData & WithMetadata(ResourceMetadata &&value)
Definition: GatewayRouteData.h:142
Aws::AppMesh::Model::GatewayRouteData::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: GatewayRouteData.h:98
Aws::AppMesh::Model::GatewayRouteData::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: GatewayRouteData.h:93
Aws::AppMesh::Model::GatewayRouteData::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: GatewayRouteData.h:184
Aws::AppMesh::Model::GatewayRouteData::WithStatus
GatewayRouteData & WithStatus(const GatewayRouteStatus &value)
Definition: GatewayRouteData.h:199
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::GatewayRouteData::WithMeshName
GatewayRouteData & WithMeshName(const Aws::String &value)
Definition: GatewayRouteData.h:113
Aws::AppMesh::Model::GatewayRouteData::WithSpec
GatewayRouteData & WithSpec(GatewayRouteSpec &&value)
Definition: GatewayRouteData.h:173
Aws::AppMesh::Model::GatewayRouteData::WithVirtualGatewayName
GatewayRouteData & WithVirtualGatewayName(const char *value)
Definition: GatewayRouteData.h:245
Aws::AppMesh::Model::GatewayRouteSpec
Definition: GatewayRouteSpec.h:34
Aws::AppMesh::Model::GatewayRouteData::WithStatus
GatewayRouteData & WithStatus(GatewayRouteStatus &&value)
Definition: GatewayRouteData.h:204
Aws::AppMesh::Model::GatewayRouteData::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: GatewayRouteData.h:130
Aws::AppMesh::Model::GatewayRouteData::WithVirtualGatewayName
GatewayRouteData & WithVirtualGatewayName(const Aws::String &value)
Definition: GatewayRouteData.h:235
GatewayRouteStatus.h
Aws::AppMesh::Model::GatewayRouteData::WithMetadata
GatewayRouteData & WithMetadata(const ResourceMetadata &value)
Definition: GatewayRouteData.h:139
Aws::AppMesh::Model::GatewayRouteData
Definition: GatewayRouteData.h:36
Aws::AppMesh::Model::GatewayRouteData::WithVirtualGatewayName
GatewayRouteData & WithVirtualGatewayName(Aws::String &&value)
Definition: GatewayRouteData.h:240
Aws::AppMesh::Model::GatewayRouteData::SetStatus
void SetStatus(const GatewayRouteStatus &value)
Definition: GatewayRouteData.h:189
Aws::AppMesh::Model::GatewayRouteData::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: GatewayRouteData.h:220
Aws::AppMesh::Model::GatewayRouteData::SetGatewayRouteName
void SetGatewayRouteName(const char *value)
Definition: GatewayRouteData.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::GatewayRouteData::WithGatewayRouteName
GatewayRouteData & WithGatewayRouteName(const char *value)
Definition: GatewayRouteData.h:82
Aws::AppMesh::Model::GatewayRouteData::SetSpec
void SetSpec(const GatewayRouteSpec &value)
Definition: GatewayRouteData.h:158
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::GatewayRouteData::SetSpec
void SetSpec(GatewayRouteSpec &&value)
Definition: GatewayRouteData.h:163
Aws::AppMesh::Model::GatewayRouteData::GetSpec
const GatewayRouteSpec & GetSpec() const
Definition: GatewayRouteData.h:148
Aws::AppMesh::Model::GatewayRouteData::SetMeshName
void SetMeshName(const char *value)
Definition: GatewayRouteData.h:108
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28