AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRouteRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/AppMeshRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AppMesh
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_APPMESH_API DescribeRouteRequest();
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 "DescribeRoute"; }
38
39 AWS_APPMESH_API Aws::String SerializePayload() const override;
40
41 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetMeshName() const{ return m_meshName; }
49 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
50 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
51 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
52 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
53 inline DescribeRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
54 inline DescribeRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
55 inline DescribeRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
57
59
66 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
67 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
68 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
69 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
70 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
71 inline DescribeRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
72 inline DescribeRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
73 inline DescribeRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
75
77
80 inline const Aws::String& GetRouteName() const{ return m_routeName; }
81 inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
82 inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
83 inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
84 inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
85 inline DescribeRouteRequest& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
86 inline DescribeRouteRequest& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
87 inline DescribeRouteRequest& WithRouteName(const char* value) { SetRouteName(value); return *this;}
89
91
94 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
95 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
96 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
97 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
98 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
99 inline DescribeRouteRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
100 inline DescribeRouteRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
101 inline DescribeRouteRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
103 private:
104
105 Aws::String m_meshName;
106 bool m_meshNameHasBeenSet = false;
107
108 Aws::String m_meshOwner;
109 bool m_meshOwnerHasBeenSet = false;
110
111 Aws::String m_routeName;
112 bool m_routeNameHasBeenSet = false;
113
114 Aws::String m_virtualRouterName;
115 bool m_virtualRouterNameHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AppMesh
120} // namespace Aws
void SetMeshName(const Aws::String &value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetMeshOwner(const Aws::String &value)
DescribeRouteRequest & WithVirtualRouterName(const Aws::String &value)
DescribeRouteRequest & WithMeshOwner(const char *value)
DescribeRouteRequest & WithVirtualRouterName(const char *value)
const Aws::String & GetVirtualRouterName() const
DescribeRouteRequest & WithMeshName(Aws::String &&value)
void SetVirtualRouterName(const Aws::String &value)
AWS_APPMESH_API Aws::String SerializePayload() const override
void SetRouteName(const Aws::String &value)
DescribeRouteRequest & WithMeshName(const Aws::String &value)
DescribeRouteRequest & WithVirtualRouterName(Aws::String &&value)
DescribeRouteRequest & WithMeshName(const char *value)
DescribeRouteRequest & WithMeshOwner(Aws::String &&value)
DescribeRouteRequest & WithRouteName(const char *value)
DescribeRouteRequest & WithRouteName(const Aws::String &value)
DescribeRouteRequest & WithMeshOwner(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeRouteRequest & WithRouteName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String