AWS SDK for C++  1.9.20
AWS SDK for C++
MeshData.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 MeshData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline MeshData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline MeshData& 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 MeshData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
109 
113  inline MeshData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
114 
115 
119  inline const MeshSpec& GetSpec() const{ return m_spec; }
120 
124  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
125 
129  inline void SetSpec(const MeshSpec& value) { m_specHasBeenSet = true; m_spec = value; }
130 
134  inline void SetSpec(MeshSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
135 
139  inline MeshData& WithSpec(const MeshSpec& value) { SetSpec(value); return *this;}
140 
144  inline MeshData& WithSpec(MeshSpec&& value) { SetSpec(std::move(value)); return *this;}
145 
146 
150  inline const MeshStatus& GetStatus() const{ return m_status; }
151 
155  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
156 
160  inline void SetStatus(const MeshStatus& value) { m_statusHasBeenSet = true; m_status = value; }
161 
165  inline void SetStatus(MeshStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
166 
170  inline MeshData& WithStatus(const MeshStatus& value) { SetStatus(value); return *this;}
171 
175  inline MeshData& WithStatus(MeshStatus&& value) { SetStatus(std::move(value)); return *this;}
176 
177  private:
178 
179  Aws::String m_meshName;
180  bool m_meshNameHasBeenSet;
181 
182  ResourceMetadata m_metadata;
183  bool m_metadataHasBeenSet;
184 
185  MeshSpec m_spec;
186  bool m_specHasBeenSet;
187 
188  MeshStatus m_status;
189  bool m_statusHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace AppMesh
194 } // namespace Aws
Aws::AppMesh::Model::MeshData::WithMeshName
MeshData & WithMeshName(Aws::String &&value)
Definition: MeshData.h:77
Aws::AppMesh::Model::MeshData::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: MeshData.h:124
Aws::AppMesh::Model::MeshData::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: MeshData.h:62
Aws::AppMesh::Model::MeshData::WithMeshName
MeshData & WithMeshName(const Aws::String &value)
Definition: MeshData.h:72
Aws::AppMesh::Model::MeshData::GetMeshName
const Aws::String & GetMeshName() const
Definition: MeshData.h:47
Aws::AppMesh::Model::ResourceMetadata
Definition: ResourceMetadata.h:34
Aws::AppMesh::Model::MeshData::WithMetadata
MeshData & WithMetadata(const ResourceMetadata &value)
Definition: MeshData.h:108
AppMesh_EXPORTS.h
MeshSpec.h
ResourceMetadata.h
Aws::AppMesh::Model::MeshData
Definition: MeshData.h:36
Aws::AppMesh::Model::MeshData::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: MeshData.h:155
Aws::AppMesh::Model::MeshData::WithStatus
MeshData & WithStatus(MeshStatus &&value)
Definition: MeshData.h:175
Aws::AppMesh::Model::MeshData::MeshData
MeshData(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::MeshData::SetSpec
void SetSpec(MeshSpec &&value)
Definition: MeshData.h:134
Aws::AppMesh::Model::MeshData::SetStatus
void SetStatus(const MeshStatus &value)
Definition: MeshData.h:160
Aws::AppMesh::Model::MeshData::WithStatus
MeshData & WithStatus(const MeshStatus &value)
Definition: MeshData.h:170
Aws::AppMesh::Model::MeshData::SetSpec
void SetSpec(const MeshSpec &value)
Definition: MeshData.h:129
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::AppMesh::Model::MeshData::operator=
MeshData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::MeshData::GetSpec
const MeshSpec & GetSpec() const
Definition: MeshData.h:119
Aws::AppMesh::Model::MeshData::SetMetadata
void SetMetadata(ResourceMetadata &&value)
Definition: MeshData.h:103
Aws::AppMesh::Model::MeshData::MeshData
MeshData()
Aws::AppMesh::Model::MeshData::WithMeshName
MeshData & WithMeshName(const char *value)
Definition: MeshData.h:82
Aws::AppMesh::Model::MeshData::WithSpec
MeshData & WithSpec(const MeshSpec &value)
Definition: MeshData.h:139
Aws::AppMesh::Model::MeshStatus
Definition: MeshStatus.h:33
MeshStatus.h
Aws::AppMesh::Model::MeshData::GetStatus
const MeshStatus & GetStatus() const
Definition: MeshData.h:150
Aws::AppMesh::Model::MeshData::SetStatus
void SetStatus(MeshStatus &&value)
Definition: MeshData.h:165
Aws::AppMesh::Model::MeshData::WithSpec
MeshData & WithSpec(MeshSpec &&value)
Definition: MeshData.h:144
Aws::AppMesh::Model::MeshData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::MeshSpec
Definition: MeshSpec.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::MeshData::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: MeshData.h:52
Aws::AppMesh::Model::MeshData::SetMeshName
void SetMeshName(const char *value)
Definition: MeshData.h:67
Aws::AppMesh::Model::MeshData::SetMetadata
void SetMetadata(const ResourceMetadata &value)
Definition: MeshData.h:98
Aws::AppMesh::Model::MeshData::WithMetadata
MeshData & WithMetadata(ResourceMetadata &&value)
Definition: MeshData.h:113
Aws::AppMesh::Model::MeshData::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: MeshData.h:57
Aws::AppMesh::Model::MeshData::GetMetadata
const ResourceMetadata & GetMetadata() const
Definition: MeshData.h:88
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::MeshData::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: MeshData.h:93