AWS SDK for C++  1.9.126
AWS SDK for C++
RouteData.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& GetMeshName() const{ return m_meshName; }
48 
52  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
53 
57  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
58 
62  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
63 
67  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
68 
72  inline RouteData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline RouteData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline RouteData& WithMeshName(const char* value) { SetMeshName(value); return *this;}
83 
84 
88  inline const ResourceMetadata& GetMetadata() const{ return m_metadata; }
89 
93  inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
94 
98  inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
99 
103  inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
104 
108  inline RouteData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
109 
113  inline RouteData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetRouteName() const{ return m_routeName; }
120 
124  inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
125 
129  inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
130 
134  inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
135 
139  inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
140 
144  inline RouteData& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
145 
149  inline RouteData& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
150 
154  inline RouteData& WithRouteName(const char* value) { SetRouteName(value); return *this;}
155 
156 
160  inline const RouteSpec& GetSpec() const{ return m_spec; }
161 
165  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
166 
170  inline void SetSpec(const RouteSpec& value) { m_specHasBeenSet = true; m_spec = value; }
171 
175  inline void SetSpec(RouteSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
176 
180  inline RouteData& WithSpec(const RouteSpec& value) { SetSpec(value); return *this;}
181 
185  inline RouteData& WithSpec(RouteSpec&& value) { SetSpec(std::move(value)); return *this;}
186 
187 
191  inline const RouteStatus& GetStatus() const{ return m_status; }
192 
196  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
197 
201  inline void SetStatus(const RouteStatus& value) { m_statusHasBeenSet = true; m_status = value; }
202 
206  inline void SetStatus(RouteStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
207 
211  inline RouteData& WithStatus(const RouteStatus& value) { SetStatus(value); return *this;}
212 
216  inline RouteData& WithStatus(RouteStatus&& value) { SetStatus(std::move(value)); return *this;}
217 
218 
222  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
223 
227  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
228 
232  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
233 
237  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
238 
242  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
243 
247  inline RouteData& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
248 
252  inline RouteData& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
253 
257  inline RouteData& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
258 
259  private:
260 
261  Aws::String m_meshName;
262  bool m_meshNameHasBeenSet;
263 
264  ResourceMetadata m_metadata;
265  bool m_metadataHasBeenSet;
266 
267  Aws::String m_routeName;
268  bool m_routeNameHasBeenSet;
269 
270  RouteSpec m_spec;
271  bool m_specHasBeenSet;
272 
273  RouteStatus m_status;
274  bool m_statusHasBeenSet;
275 
276  Aws::String m_virtualRouterName;
277  bool m_virtualRouterNameHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace AppMesh
282 } // namespace Aws
Aws::AppMesh::Model::RouteData::RouteData
RouteData(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::RouteData::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: RouteData.h:62
Aws::AppMesh::Model::RouteData::WithMetadata
RouteData & WithMetadata(const ResourceMetadata &value)
Definition: RouteData.h:108
Aws::AppMesh::Model::RouteData::GetSpec
const RouteSpec & GetSpec() const
Definition: RouteData.h:160
Aws::AppMesh::Model::RouteData::GetRouteName
const Aws::String & GetRouteName() const
Definition: RouteData.h:119
Aws::AppMesh::Model::RouteData::WithSpec
RouteData & WithSpec(RouteSpec &&value)
Definition: RouteData.h:185
Aws::AppMesh::Model::RouteData::SetMeshName
void SetMeshName(const char *value)
Definition: RouteData.h:67
Aws::AppMesh::Model::RouteData::SetStatus
void SetStatus(RouteStatus &&value)
Definition: RouteData.h:206
Aws::AppMesh::Model::RouteData::GetMetadata
const ResourceMetadata & GetMetadata() const
Definition: RouteData.h:88
Aws::AppMesh::Model::RouteData::SetSpec
void SetSpec(RouteSpec &&value)
Definition: RouteData.h:175
Aws::AppMesh::Model::RouteData::WithVirtualRouterName
RouteData & WithVirtualRouterName(const Aws::String &value)
Definition: RouteData.h:247
Aws::AppMesh::Model::RouteData::SetSpec
void SetSpec(const RouteSpec &value)
Definition: RouteData.h:170
Aws::AppMesh::Model::RouteData::WithMeshName
RouteData & WithMeshName(const char *value)
Definition: RouteData.h:82
Aws::AppMesh::Model::RouteData
Definition: RouteData.h:36
Aws::AppMesh::Model::RouteData::WithSpec
RouteData & WithSpec(const RouteSpec &value)
Definition: RouteData.h:180
Aws::AppMesh::Model::RouteData::WithVirtualRouterName
RouteData & WithVirtualRouterName(const char *value)
Definition: RouteData.h:257
Aws::AppMesh::Model::RouteData::RouteNameHasBeenSet
bool RouteNameHasBeenSet() const
Definition: RouteData.h:124
Aws::AppMesh::Model::RouteData::SetMetadata
void SetMetadata(ResourceMetadata &&value)
Definition: RouteData.h:103
Aws::AppMesh::Model::RouteData::WithStatus
RouteData & WithStatus(const RouteStatus &value)
Definition: RouteData.h:211
Aws::AppMesh::Model::RouteData::SetRouteName
void SetRouteName(const Aws::String &value)
Definition: RouteData.h:129
Aws::AppMesh::Model::RouteData::SetStatus
void SetStatus(const RouteStatus &value)
Definition: RouteData.h:201
Aws::AppMesh::Model::ResourceMetadata
Definition: ResourceMetadata.h:34
AppMesh_EXPORTS.h
Aws::AppMesh::Model::RouteData::SetVirtualRouterName
void SetVirtualRouterName(const Aws::String &value)
Definition: RouteData.h:232
ResourceMetadata.h
Aws::AppMesh::Model::RouteData::operator=
RouteData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::RouteData::VirtualRouterNameHasBeenSet
bool VirtualRouterNameHasBeenSet() const
Definition: RouteData.h:227
Aws::AppMesh::Model::RouteSpec
Definition: RouteSpec.h:35
Aws::AppMesh::Model::RouteData::WithMeshName
RouteData & WithMeshName(const Aws::String &value)
Definition: RouteData.h:72
Aws::AppMesh::Model::RouteStatus
Definition: RouteStatus.h:33
Aws::AppMesh::Model::RouteData::RouteData
RouteData()
Aws::AppMesh::Model::RouteData::WithRouteName
RouteData & WithRouteName(Aws::String &&value)
Definition: RouteData.h:149
RouteStatus.h
Aws::AppMesh::Model::RouteData::SetRouteName
void SetRouteName(const char *value)
Definition: RouteData.h:139
Aws::AppMesh::Model::RouteData::WithMeshName
RouteData & WithMeshName(Aws::String &&value)
Definition: RouteData.h:77
Aws::AppMesh::Model::RouteData::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: RouteData.h:165
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::RouteData::WithStatus
RouteData & WithStatus(RouteStatus &&value)
Definition: RouteData.h:216
Aws::AppMesh::Model::RouteData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::RouteData::SetMetadata
void SetMetadata(const ResourceMetadata &value)
Definition: RouteData.h:98
Aws::AppMesh::Model::RouteData::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: RouteData.h:57
Aws::AppMesh::Model::RouteData::SetVirtualRouterName
void SetVirtualRouterName(const char *value)
Definition: RouteData.h:242
Aws::AppMesh::Model::RouteData::WithVirtualRouterName
RouteData & WithVirtualRouterName(Aws::String &&value)
Definition: RouteData.h:252
Aws::AppMesh::Model::RouteData::GetStatus
const RouteStatus & GetStatus() const
Definition: RouteData.h:191
Aws::AppMesh::Model::RouteData::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: RouteData.h:196
Aws::AppMesh::Model::RouteData::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: RouteData.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::RouteData::GetVirtualRouterName
const Aws::String & GetVirtualRouterName() const
Definition: RouteData.h:222
Aws::AppMesh::Model::RouteData::WithRouteName
RouteData & WithRouteName(const char *value)
Definition: RouteData.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::RouteData::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: RouteData.h:52
Aws::AppMesh::Model::RouteData::WithRouteName
RouteData & WithRouteName(const Aws::String &value)
Definition: RouteData.h:144
RouteSpec.h
Aws::AppMesh::Model::RouteData::GetMeshName
const Aws::String & GetMeshName() const
Definition: RouteData.h:47
Aws::AppMesh::Model::RouteData::SetRouteName
void SetRouteName(Aws::String &&value)
Definition: RouteData.h:134
Aws::AppMesh::Model::RouteData::WithMetadata
RouteData & WithMetadata(ResourceMetadata &&value)
Definition: RouteData.h:113
Aws::AppMesh::Model::RouteData::SetVirtualRouterName
void SetVirtualRouterName(Aws::String &&value)
Definition: RouteData.h:237
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28