AWS SDK for C++  1.9.132
AWS SDK for C++
VirtualGatewayData.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 VirtualGatewayData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline VirtualGatewayData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline VirtualGatewayData& WithMeshName(const char* value) { SetMeshName(value); return *this;}
83 
84 
85 
86  inline const ResourceMetadata& GetMetadata() const{ return m_metadata; }
87 
88 
89  inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
90 
91 
92  inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
93 
94 
95  inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
96 
97 
98  inline VirtualGatewayData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
99 
100 
101  inline VirtualGatewayData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
102 
103 
107  inline const VirtualGatewaySpec& GetSpec() const{ return m_spec; }
108 
112  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
113 
117  inline void SetSpec(const VirtualGatewaySpec& value) { m_specHasBeenSet = true; m_spec = value; }
118 
122  inline void SetSpec(VirtualGatewaySpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
123 
127  inline VirtualGatewayData& WithSpec(const VirtualGatewaySpec& value) { SetSpec(value); return *this;}
128 
132  inline VirtualGatewayData& WithSpec(VirtualGatewaySpec&& value) { SetSpec(std::move(value)); return *this;}
133 
134 
138  inline const VirtualGatewayStatus& GetStatus() const{ return m_status; }
139 
143  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 
148  inline void SetStatus(const VirtualGatewayStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 
153  inline void SetStatus(VirtualGatewayStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
154 
158  inline VirtualGatewayData& WithStatus(const VirtualGatewayStatus& value) { SetStatus(value); return *this;}
159 
163  inline VirtualGatewayData& WithStatus(VirtualGatewayStatus&& value) { SetStatus(std::move(value)); return *this;}
164 
165 
169  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
170 
174  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
175 
179  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
180 
184  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
185 
189  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
190 
194  inline VirtualGatewayData& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
195 
199  inline VirtualGatewayData& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
200 
204  inline VirtualGatewayData& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
205 
206  private:
207 
208  Aws::String m_meshName;
209  bool m_meshNameHasBeenSet;
210 
211  ResourceMetadata m_metadata;
212  bool m_metadataHasBeenSet;
213 
214  VirtualGatewaySpec m_spec;
215  bool m_specHasBeenSet;
216 
217  VirtualGatewayStatus m_status;
218  bool m_statusHasBeenSet;
219 
220  Aws::String m_virtualGatewayName;
221  bool m_virtualGatewayNameHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace AppMesh
226 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayData::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: VirtualGatewayData.h:112
Aws::AppMesh::Model::VirtualGatewayData::WithSpec
VirtualGatewayData & WithSpec(const VirtualGatewaySpec &value)
Definition: VirtualGatewayData.h:127
Aws::AppMesh::Model::VirtualGatewayData::WithVirtualGatewayName
VirtualGatewayData & WithVirtualGatewayName(Aws::String &&value)
Definition: VirtualGatewayData.h:199
Aws::AppMesh::Model::VirtualGatewayData::SetStatus
void SetStatus(const VirtualGatewayStatus &value)
Definition: VirtualGatewayData.h:148
Aws::AppMesh::Model::VirtualGatewayData
Definition: VirtualGatewayData.h:36
Aws::AppMesh::Model::VirtualGatewayData::SetMetadata
void SetMetadata(ResourceMetadata &&value)
Definition: VirtualGatewayData.h:95
Aws::AppMesh::Model::VirtualGatewayData::WithMeshName
VirtualGatewayData & WithMeshName(Aws::String &&value)
Definition: VirtualGatewayData.h:77
Aws::AppMesh::Model::VirtualGatewayData::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: VirtualGatewayData.h:89
Aws::AppMesh::Model::VirtualGatewayData::SetMetadata
void SetMetadata(const ResourceMetadata &value)
Definition: VirtualGatewayData.h:92
Aws::AppMesh::Model::VirtualGatewayData::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: VirtualGatewayData.h:179
Aws::AppMesh::Model::VirtualGatewayData::SetSpec
void SetSpec(VirtualGatewaySpec &&value)
Definition: VirtualGatewayData.h:122
Aws::AppMesh::Model::VirtualGatewayData::operator=
VirtualGatewayData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayData::SetSpec
void SetSpec(const VirtualGatewaySpec &value)
Definition: VirtualGatewayData.h:117
Aws::AppMesh::Model::VirtualGatewayData::SetMeshName
void SetMeshName(const char *value)
Definition: VirtualGatewayData.h:67
Aws::AppMesh::Model::VirtualGatewayData::GetMetadata
const ResourceMetadata & GetMetadata() const
Definition: VirtualGatewayData.h:86
Aws::AppMesh::Model::ResourceMetadata
Definition: ResourceMetadata.h:34
Aws::AppMesh::Model::VirtualGatewayData::WithSpec
VirtualGatewayData & WithSpec(VirtualGatewaySpec &&value)
Definition: VirtualGatewayData.h:132
VirtualGatewayStatus.h
Aws::AppMesh::Model::VirtualGatewayData::WithStatus
VirtualGatewayData & WithStatus(const VirtualGatewayStatus &value)
Definition: VirtualGatewayData.h:158
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayData::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: VirtualGatewayData.h:62
ResourceMetadata.h
Aws::AppMesh::Model::VirtualGatewayData::WithVirtualGatewayName
VirtualGatewayData & WithVirtualGatewayName(const char *value)
Definition: VirtualGatewayData.h:204
Aws::AppMesh::Model::VirtualGatewayData::VirtualGatewayData
VirtualGatewayData()
Aws::AppMesh::Model::VirtualGatewayData::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VirtualGatewayData.h:143
Aws::AppMesh::Model::VirtualGatewayData::WithMeshName
VirtualGatewayData & WithMeshName(const Aws::String &value)
Definition: VirtualGatewayData.h:72
Aws::AppMesh::Model::VirtualGatewayData::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: VirtualGatewayData.h:174
Aws::AppMesh::Model::VirtualGatewayData::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: VirtualGatewayData.h:189
Aws::AppMesh::Model::VirtualGatewayData::WithStatus
VirtualGatewayData & WithStatus(VirtualGatewayStatus &&value)
Definition: VirtualGatewayData.h:163
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualGatewayData::GetSpec
const VirtualGatewaySpec & GetSpec() const
Definition: VirtualGatewayData.h:107
Aws::AppMesh::Model::VirtualGatewayData::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: VirtualGatewayData.h:52
Aws::AppMesh::Model::VirtualGatewayData::WithVirtualGatewayName
VirtualGatewayData & WithVirtualGatewayName(const Aws::String &value)
Definition: VirtualGatewayData.h:194
Aws::AppMesh::Model::VirtualGatewayData::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: VirtualGatewayData.h:169
Aws::AppMesh::Model::VirtualGatewayData::SetStatus
void SetStatus(VirtualGatewayStatus &&value)
Definition: VirtualGatewayData.h:153
Aws::AppMesh::Model::VirtualGatewayData::WithMetadata
VirtualGatewayData & WithMetadata(const ResourceMetadata &value)
Definition: VirtualGatewayData.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayData::VirtualGatewayData
VirtualGatewayData(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayData::WithMetadata
VirtualGatewayData & WithMetadata(ResourceMetadata &&value)
Definition: VirtualGatewayData.h:101
VirtualGatewaySpec.h
Aws::AppMesh::Model::VirtualGatewayStatus
Definition: VirtualGatewayStatus.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualGatewayData::GetMeshName
const Aws::String & GetMeshName() const
Definition: VirtualGatewayData.h:47
Aws::AppMesh::Model::VirtualGatewaySpec
Definition: VirtualGatewaySpec.h:36
Aws::AppMesh::Model::VirtualGatewayData::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: VirtualGatewayData.h:184
Aws::AppMesh::Model::VirtualGatewayData::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: VirtualGatewayData.h:57
Aws::AppMesh::Model::VirtualGatewayData::GetStatus
const VirtualGatewayStatus & GetStatus() const
Definition: VirtualGatewayData.h:138
Aws::AppMesh::Model::VirtualGatewayData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualGatewayData::WithMeshName
VirtualGatewayData & WithMeshName(const char *value)
Definition: VirtualGatewayData.h:82