AWS SDK for C++  1.9.123
AWS SDK for C++
VirtualServiceData.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 VirtualServiceData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline VirtualServiceData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline VirtualServiceData& 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 VirtualServiceData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
99 
100 
101  inline VirtualServiceData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
102 
103 
107  inline const VirtualServiceSpec& GetSpec() const{ return m_spec; }
108 
112  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
113 
117  inline void SetSpec(const VirtualServiceSpec& value) { m_specHasBeenSet = true; m_spec = value; }
118 
122  inline void SetSpec(VirtualServiceSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
123 
127  inline VirtualServiceData& WithSpec(const VirtualServiceSpec& value) { SetSpec(value); return *this;}
128 
132  inline VirtualServiceData& WithSpec(VirtualServiceSpec&& value) { SetSpec(std::move(value)); return *this;}
133 
134 
138  inline const VirtualServiceStatus& GetStatus() const{ return m_status; }
139 
143  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 
148  inline void SetStatus(const VirtualServiceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 
153  inline void SetStatus(VirtualServiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
154 
158  inline VirtualServiceData& WithStatus(const VirtualServiceStatus& value) { SetStatus(value); return *this;}
159 
163  inline VirtualServiceData& WithStatus(VirtualServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
164 
165 
169  inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
170 
174  inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
175 
179  inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
180 
184  inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
185 
189  inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
190 
194  inline VirtualServiceData& WithVirtualServiceName(const Aws::String& value) { SetVirtualServiceName(value); return *this;}
195 
199  inline VirtualServiceData& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
200 
204  inline VirtualServiceData& WithVirtualServiceName(const char* value) { SetVirtualServiceName(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  VirtualServiceSpec m_spec;
215  bool m_specHasBeenSet;
216 
217  VirtualServiceStatus m_status;
218  bool m_statusHasBeenSet;
219 
220  Aws::String m_virtualServiceName;
221  bool m_virtualServiceNameHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace AppMesh
226 } // namespace Aws
Aws::AppMesh::Model::VirtualServiceData::WithMetadata
VirtualServiceData & WithMetadata(ResourceMetadata &&value)
Definition: VirtualServiceData.h:101
Aws::AppMesh::Model::VirtualServiceData::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: VirtualServiceData.h:62
Aws::AppMesh::Model::VirtualServiceData::SetStatus
void SetStatus(VirtualServiceStatus &&value)
Definition: VirtualServiceData.h:153
Aws::AppMesh::Model::VirtualServiceData::WithStatus
VirtualServiceData & WithStatus(VirtualServiceStatus &&value)
Definition: VirtualServiceData.h:163
Aws::AppMesh::Model::VirtualServiceData::SetVirtualServiceName
void SetVirtualServiceName(const char *value)
Definition: VirtualServiceData.h:189
Aws::AppMesh::Model::VirtualServiceData::GetMetadata
const ResourceMetadata & GetMetadata() const
Definition: VirtualServiceData.h:86
Aws::AppMesh::Model::VirtualServiceData::SetVirtualServiceName
void SetVirtualServiceName(Aws::String &&value)
Definition: VirtualServiceData.h:184
Aws::AppMesh::Model::VirtualServiceData::WithMeshName
VirtualServiceData & WithMeshName(const Aws::String &value)
Definition: VirtualServiceData.h:72
Aws::AppMesh::Model::VirtualServiceData::SetSpec
void SetSpec(const VirtualServiceSpec &value)
Definition: VirtualServiceData.h:117
Aws::AppMesh::Model::VirtualServiceData::WithVirtualServiceName
VirtualServiceData & WithVirtualServiceName(const Aws::String &value)
Definition: VirtualServiceData.h:194
Aws::AppMesh::Model::VirtualServiceData::operator=
VirtualServiceData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ResourceMetadata
Definition: ResourceMetadata.h:34
AppMesh_EXPORTS.h
ResourceMetadata.h
Aws::AppMesh::Model::VirtualServiceData::VirtualServiceData
VirtualServiceData()
Aws::AppMesh::Model::VirtualServiceData::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: VirtualServiceData.h:52
Aws::AppMesh::Model::VirtualServiceData::GetVirtualServiceName
const Aws::String & GetVirtualServiceName() const
Definition: VirtualServiceData.h:169
Aws::AppMesh::Model::VirtualServiceData::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: VirtualServiceData.h:112
Aws::AppMesh::Model::VirtualServiceData::WithSpec
VirtualServiceData & WithSpec(const VirtualServiceSpec &value)
Definition: VirtualServiceData.h:127
VirtualServiceStatus.h
Aws::AppMesh::Model::VirtualServiceData::SetSpec
void SetSpec(VirtualServiceSpec &&value)
Definition: VirtualServiceData.h:122
Aws::AppMesh::Model::VirtualServiceData::WithMeshName
VirtualServiceData & WithMeshName(const char *value)
Definition: VirtualServiceData.h:82
Aws::AppMesh::Model::VirtualServiceData::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VirtualServiceData.h:143
Aws::AppMesh::Model::VirtualServiceStatus
Definition: VirtualServiceStatus.h:33
Aws::AppMesh::Model::VirtualServiceData::WithSpec
VirtualServiceData & WithSpec(VirtualServiceSpec &&value)
Definition: VirtualServiceData.h:132
Aws::AppMesh::Model::VirtualServiceData::SetMetadata
void SetMetadata(const ResourceMetadata &value)
Definition: VirtualServiceData.h:92
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualServiceData::WithVirtualServiceName
VirtualServiceData & WithVirtualServiceName(const char *value)
Definition: VirtualServiceData.h:204
Aws::AppMesh::Model::VirtualServiceData::GetStatus
const VirtualServiceStatus & GetStatus() const
Definition: VirtualServiceData.h:138
Aws::AppMesh::Model::VirtualServiceData::SetMetadata
void SetMetadata(ResourceMetadata &&value)
Definition: VirtualServiceData.h:95
Aws::AppMesh::Model::VirtualServiceData::WithVirtualServiceName
VirtualServiceData & WithVirtualServiceName(Aws::String &&value)
Definition: VirtualServiceData.h:199
Aws::AppMesh::Model::VirtualServiceData::GetMeshName
const Aws::String & GetMeshName() const
Definition: VirtualServiceData.h:47
Aws::AppMesh::Model::VirtualServiceData::VirtualServiceData
VirtualServiceData(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualServiceData::SetStatus
void SetStatus(const VirtualServiceStatus &value)
Definition: VirtualServiceData.h:148
Aws::AppMesh::Model::VirtualServiceData::SetMeshName
void SetMeshName(const char *value)
Definition: VirtualServiceData.h:67
Aws::AppMesh::Model::VirtualServiceData::SetVirtualServiceName
void SetVirtualServiceName(const Aws::String &value)
Definition: VirtualServiceData.h:179
Aws::AppMesh::Model::VirtualServiceData::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: VirtualServiceData.h:89
Aws::AppMesh::Model::VirtualServiceData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualServiceData::WithStatus
VirtualServiceData & WithStatus(const VirtualServiceStatus &value)
Definition: VirtualServiceData.h:158
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualServiceData::WithMetadata
VirtualServiceData & WithMetadata(const ResourceMetadata &value)
Definition: VirtualServiceData.h:98
Aws::AppMesh::Model::VirtualServiceSpec
Definition: VirtualServiceSpec.h:33
Aws::AppMesh::Model::VirtualServiceData::WithMeshName
VirtualServiceData & WithMeshName(Aws::String &&value)
Definition: VirtualServiceData.h:77
Aws::AppMesh::Model::VirtualServiceData::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: VirtualServiceData.h:57
Aws::AppMesh::Model::VirtualServiceData
Definition: VirtualServiceData.h:36
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
VirtualServiceSpec.h
Aws::AppMesh::Model::VirtualServiceData::VirtualServiceNameHasBeenSet
bool VirtualServiceNameHasBeenSet() const
Definition: VirtualServiceData.h:174
Aws::AppMesh::Model::VirtualServiceData::GetSpec
const VirtualServiceSpec & GetSpec() const
Definition: VirtualServiceData.h:107