AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeMeshRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace AppMesh
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "DescribeMesh"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
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 DescribeMeshRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline DescribeMeshRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline DescribeMeshRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
83 
84 
92  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
93 
101  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
102 
110  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
111 
119  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
120 
128  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
129 
137  inline DescribeMeshRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
138 
146  inline DescribeMeshRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
147 
155  inline DescribeMeshRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
156 
157  private:
158 
159  Aws::String m_meshName;
160  bool m_meshNameHasBeenSet;
161 
162  Aws::String m_meshOwner;
163  bool m_meshOwnerHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace AppMesh
168 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::DescribeMeshRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: DescribeMeshRequest.h:128
Aws::AppMesh::Model::DescribeMeshRequest::WithMeshOwner
DescribeMeshRequest & WithMeshOwner(Aws::String &&value)
Definition: DescribeMeshRequest.h:146
Aws::AppMesh::Model::DescribeMeshRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::DescribeMeshRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: DescribeMeshRequest.h:110
Aws::AppMesh::Model::DescribeMeshRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: DescribeMeshRequest.h:57
Aws::AppMesh::Model::DescribeMeshRequest::WithMeshName
DescribeMeshRequest & WithMeshName(const char *value)
Definition: DescribeMeshRequest.h:82
AppMesh_EXPORTS.h
Aws::AppMesh::Model::DescribeMeshRequest::WithMeshOwner
DescribeMeshRequest & WithMeshOwner(const Aws::String &value)
Definition: DescribeMeshRequest.h:137
Aws::AppMesh::Model::DescribeMeshRequest::SetMeshName
void SetMeshName(const char *value)
Definition: DescribeMeshRequest.h:67
Aws::AppMesh::Model::DescribeMeshRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: DescribeMeshRequest.h:62
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::DescribeMeshRequest::WithMeshName
DescribeMeshRequest & WithMeshName(const Aws::String &value)
Definition: DescribeMeshRequest.h:72
Aws::AppMesh::Model::DescribeMeshRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeMeshRequest.h:37
AWSString.h
Aws::AppMesh::Model::DescribeMeshRequest::WithMeshName
DescribeMeshRequest & WithMeshName(Aws::String &&value)
Definition: DescribeMeshRequest.h:77
Aws::AppMesh::Model::DescribeMeshRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: DescribeMeshRequest.h:52
Aws::AppMesh::Model::DescribeMeshRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: DescribeMeshRequest.h:92
Aws::AppMesh::Model::DescribeMeshRequest
Definition: DescribeMeshRequest.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::DescribeMeshRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::DescribeMeshRequest::DescribeMeshRequest
DescribeMeshRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::DescribeMeshRequest::WithMeshOwner
DescribeMeshRequest & WithMeshOwner(const char *value)
Definition: DescribeMeshRequest.h:155
Aws::AppMesh::Model::DescribeMeshRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: DescribeMeshRequest.h:101
Aws::AppMesh::Model::DescribeMeshRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: DescribeMeshRequest.h:119
Aws::AppMesh::Model::DescribeMeshRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: DescribeMeshRequest.h:47
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h