AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DescribeMeshRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppMesh {
18namespace Model {
19
26 public:
27 AWS_APPMESH_API DescribeMeshRequest() = default;
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 "DescribeMesh"; }
34
35 AWS_APPMESH_API Aws::String SerializePayload() const override;
36
37 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetMeshName() const { return m_meshName; }
44 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
45 template <typename MeshNameT = Aws::String>
46 void SetMeshName(MeshNameT&& value) {
47 m_meshNameHasBeenSet = true;
48 m_meshName = std::forward<MeshNameT>(value);
49 }
50 template <typename MeshNameT = Aws::String>
51 DescribeMeshRequest& WithMeshName(MeshNameT&& value) {
52 SetMeshName(std::forward<MeshNameT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
66 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
67 template <typename MeshOwnerT = Aws::String>
68 void SetMeshOwner(MeshOwnerT&& value) {
69 m_meshOwnerHasBeenSet = true;
70 m_meshOwner = std::forward<MeshOwnerT>(value);
71 }
72 template <typename MeshOwnerT = Aws::String>
73 DescribeMeshRequest& WithMeshOwner(MeshOwnerT&& value) {
74 SetMeshOwner(std::forward<MeshOwnerT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_meshName;
80
81 Aws::String m_meshOwner;
82 bool m_meshNameHasBeenSet = false;
83 bool m_meshOwnerHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace AppMesh
88} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeMeshRequest & WithMeshName(MeshNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPMESH_API Aws::String SerializePayload() const override
AWS_APPMESH_API DescribeMeshRequest()=default
DescribeMeshRequest & WithMeshOwner(MeshOwnerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String