AWS SDK for C++  1.9.123
AWS SDK for C++
VirtualRouterData.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 VirtualRouterData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline VirtualRouterData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline VirtualRouterData& 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 VirtualRouterData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
109 
113  inline VirtualRouterData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
114 
115 
119  inline const VirtualRouterSpec& GetSpec() const{ return m_spec; }
120 
124  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
125 
129  inline void SetSpec(const VirtualRouterSpec& value) { m_specHasBeenSet = true; m_spec = value; }
130 
134  inline void SetSpec(VirtualRouterSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
135 
139  inline VirtualRouterData& WithSpec(const VirtualRouterSpec& value) { SetSpec(value); return *this;}
140 
144  inline VirtualRouterData& WithSpec(VirtualRouterSpec&& value) { SetSpec(std::move(value)); return *this;}
145 
146 
150  inline const VirtualRouterStatus& GetStatus() const{ return m_status; }
151 
155  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
156 
160  inline void SetStatus(const VirtualRouterStatus& value) { m_statusHasBeenSet = true; m_status = value; }
161 
165  inline void SetStatus(VirtualRouterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
166 
170  inline VirtualRouterData& WithStatus(const VirtualRouterStatus& value) { SetStatus(value); return *this;}
171 
175  inline VirtualRouterData& WithStatus(VirtualRouterStatus&& value) { SetStatus(std::move(value)); return *this;}
176 
177 
181  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
182 
186  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
187 
191  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
192 
196  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
197 
201  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
202 
206  inline VirtualRouterData& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
207 
211  inline VirtualRouterData& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
212 
216  inline VirtualRouterData& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
217 
218  private:
219 
220  Aws::String m_meshName;
221  bool m_meshNameHasBeenSet;
222 
223  ResourceMetadata m_metadata;
224  bool m_metadataHasBeenSet;
225 
226  VirtualRouterSpec m_spec;
227  bool m_specHasBeenSet;
228 
229  VirtualRouterStatus m_status;
230  bool m_statusHasBeenSet;
231 
232  Aws::String m_virtualRouterName;
233  bool m_virtualRouterNameHasBeenSet;
234  };
235 
236 } // namespace Model
237 } // namespace AppMesh
238 } // namespace Aws
VirtualRouterStatus.h
Aws::AppMesh::Model::VirtualRouterStatus
Definition: VirtualRouterStatus.h:33
Aws::AppMesh::Model::VirtualRouterData::GetVirtualRouterName
const Aws::String & GetVirtualRouterName() const
Definition: VirtualRouterData.h:181
Aws::AppMesh::Model::VirtualRouterData::WithVirtualRouterName
VirtualRouterData & WithVirtualRouterName(Aws::String &&value)
Definition: VirtualRouterData.h:211
Aws::AppMesh::Model::VirtualRouterData::WithMetadata
VirtualRouterData & WithMetadata(ResourceMetadata &&value)
Definition: VirtualRouterData.h:113
Aws::AppMesh::Model::VirtualRouterData::VirtualRouterData
VirtualRouterData(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualRouterData
Definition: VirtualRouterData.h:36
Aws::AppMesh::Model::VirtualRouterData::SetStatus
void SetStatus(const VirtualRouterStatus &value)
Definition: VirtualRouterData.h:160
Aws::AppMesh::Model::VirtualRouterData::SetMetadata
void SetMetadata(ResourceMetadata &&value)
Definition: VirtualRouterData.h:103
Aws::AppMesh::Model::VirtualRouterData::GetSpec
const VirtualRouterSpec & GetSpec() const
Definition: VirtualRouterData.h:119
Aws::AppMesh::Model::VirtualRouterData::WithMetadata
VirtualRouterData & WithMetadata(const ResourceMetadata &value)
Definition: VirtualRouterData.h:108
Aws::AppMesh::Model::VirtualRouterData::VirtualRouterData
VirtualRouterData()
Aws::AppMesh::Model::VirtualRouterData::WithVirtualRouterName
VirtualRouterData & WithVirtualRouterName(const Aws::String &value)
Definition: VirtualRouterData.h:206
Aws::AppMesh::Model::VirtualRouterData::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: VirtualRouterData.h:62
Aws::AppMesh::Model::VirtualRouterData::WithMeshName
VirtualRouterData & WithMeshName(Aws::String &&value)
Definition: VirtualRouterData.h:77
Aws::AppMesh::Model::VirtualRouterData::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: VirtualRouterData.h:124
Aws::AppMesh::Model::VirtualRouterData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualRouterData::SetSpec
void SetSpec(const VirtualRouterSpec &value)
Definition: VirtualRouterData.h:129
VirtualRouterSpec.h
Aws::AppMesh::Model::VirtualRouterData::WithMeshName
VirtualRouterData & WithMeshName(const Aws::String &value)
Definition: VirtualRouterData.h:72
Aws::AppMesh::Model::ResourceMetadata
Definition: ResourceMetadata.h:34
Aws::AppMesh::Model::VirtualRouterData::SetVirtualRouterName
void SetVirtualRouterName(Aws::String &&value)
Definition: VirtualRouterData.h:196
AppMesh_EXPORTS.h
ResourceMetadata.h
Aws::AppMesh::Model::VirtualRouterData::WithStatus
VirtualRouterData & WithStatus(const VirtualRouterStatus &value)
Definition: VirtualRouterData.h:170
Aws::AppMesh::Model::VirtualRouterData::WithSpec
VirtualRouterData & WithSpec(const VirtualRouterSpec &value)
Definition: VirtualRouterData.h:139
Aws::AppMesh::Model::VirtualRouterData::GetMeshName
const Aws::String & GetMeshName() const
Definition: VirtualRouterData.h:47
Aws::AppMesh::Model::VirtualRouterData::WithVirtualRouterName
VirtualRouterData & WithVirtualRouterName(const char *value)
Definition: VirtualRouterData.h:216
Aws::AppMesh::Model::VirtualRouterData::operator=
VirtualRouterData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualRouterSpec
Definition: VirtualRouterSpec.h:34
Aws::AppMesh::Model::VirtualRouterData::SetMeshName
void SetMeshName(const char *value)
Definition: VirtualRouterData.h:67
Aws::AppMesh::Model::VirtualRouterData::SetMetadata
void SetMetadata(const ResourceMetadata &value)
Definition: VirtualRouterData.h:98
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppMesh::Model::VirtualRouterData::GetStatus
const VirtualRouterStatus & GetStatus() const
Definition: VirtualRouterData.h:150
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualRouterData::SetStatus
void SetStatus(VirtualRouterStatus &&value)
Definition: VirtualRouterData.h:165
Aws::AppMesh::Model::VirtualRouterData::SetVirtualRouterName
void SetVirtualRouterName(const Aws::String &value)
Definition: VirtualRouterData.h:191
Aws::AppMesh::Model::VirtualRouterData::VirtualRouterNameHasBeenSet
bool VirtualRouterNameHasBeenSet() const
Definition: VirtualRouterData.h:186
Aws::AppMesh::Model::VirtualRouterData::WithStatus
VirtualRouterData & WithStatus(VirtualRouterStatus &&value)
Definition: VirtualRouterData.h:175
Aws::AppMesh::Model::VirtualRouterData::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: VirtualRouterData.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualRouterData::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: VirtualRouterData.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualRouterData::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: VirtualRouterData.h:52
Aws::AppMesh::Model::VirtualRouterData::SetVirtualRouterName
void SetVirtualRouterName(const char *value)
Definition: VirtualRouterData.h:201
Aws::AppMesh::Model::VirtualRouterData::WithMeshName
VirtualRouterData & WithMeshName(const char *value)
Definition: VirtualRouterData.h:82
Aws::AppMesh::Model::VirtualRouterData::GetMetadata
const ResourceMetadata & GetMetadata() const
Definition: VirtualRouterData.h:88
Aws::AppMesh::Model::VirtualRouterData::SetSpec
void SetSpec(VirtualRouterSpec &&value)
Definition: VirtualRouterData.h:134
Aws::AppMesh::Model::VirtualRouterData::WithSpec
VirtualRouterData & WithSpec(VirtualRouterSpec &&value)
Definition: VirtualRouterData.h:144
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualRouterData::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VirtualRouterData.h:155