AWS SDK for C++  1.9.20
AWS SDK for C++
DeleteMeshRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AppMesh
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteMesh"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetMeshName() const{ return m_meshName; }
42 
46  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
47 
51  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
52 
56  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
57 
61  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
62 
66  inline DeleteMeshRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
67 
71  inline DeleteMeshRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
72 
76  inline DeleteMeshRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
77 
78  private:
79 
80  Aws::String m_meshName;
81  bool m_meshNameHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace AppMesh
86 } // namespace Aws
Aws::AppMesh::Model::DeleteMeshRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: DeleteMeshRequest.h:56
Aws::AppMesh::Model::DeleteMeshRequest::WithMeshName
DeleteMeshRequest & WithMeshName(const Aws::String &value)
Definition: DeleteMeshRequest.h:66
AppMesh_EXPORTS.h
Aws::AppMesh::Model::DeleteMeshRequest::DeleteMeshRequest
DeleteMeshRequest()
Aws::AppMesh::Model::DeleteMeshRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::DeleteMeshRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: DeleteMeshRequest.h:51
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::DeleteMeshRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: DeleteMeshRequest.h:46
AWSString.h
Aws::AppMesh::Model::DeleteMeshRequest::SetMeshName
void SetMeshName(const char *value)
Definition: DeleteMeshRequest.h:61
Aws::AppMesh::Model::DeleteMeshRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteMeshRequest.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::DeleteMeshRequest
Definition: DeleteMeshRequest.h:25
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::DeleteMeshRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: DeleteMeshRequest.h:41
Aws::AppMesh::Model::DeleteMeshRequest::WithMeshName
DeleteMeshRequest & WithMeshName(Aws::String &&value)
Definition: DeleteMeshRequest.h:71
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::DeleteMeshRequest::WithMeshName
DeleteMeshRequest & WithMeshName(const char *value)
Definition: DeleteMeshRequest.h:76
AppMeshRequest.h