AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGatewayRouteRequest.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
26 {
27 public:
28 AWS_APPMESH_API DescribeGatewayRouteRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeGatewayRoute"; }
35
36 AWS_APPMESH_API Aws::String SerializePayload() const override;
37
38 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
46 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
47 inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
48 inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
49 inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
51 inline DescribeGatewayRouteRequest& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
52 inline DescribeGatewayRouteRequest& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
54
56
59 inline const Aws::String& GetMeshName() const{ return m_meshName; }
60 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
61 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
62 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
63 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
64 inline DescribeGatewayRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
65 inline DescribeGatewayRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
66 inline DescribeGatewayRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
68
70
77 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
78 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
79 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
80 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
81 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
82 inline DescribeGatewayRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
83 inline DescribeGatewayRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
84 inline DescribeGatewayRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
86
88
92 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
93 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
94 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
95 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
96 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
98 inline DescribeGatewayRouteRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
99 inline DescribeGatewayRouteRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
101 private:
102
103 Aws::String m_gatewayRouteName;
104 bool m_gatewayRouteNameHasBeenSet = false;
105
106 Aws::String m_meshName;
107 bool m_meshNameHasBeenSet = false;
108
109 Aws::String m_meshOwner;
110 bool m_meshOwnerHasBeenSet = false;
111
112 Aws::String m_virtualGatewayName;
113 bool m_virtualGatewayNameHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace AppMesh
118} // namespace Aws
DescribeGatewayRouteRequest & WithMeshName(Aws::String &&value)
DescribeGatewayRouteRequest & WithVirtualGatewayName(const char *value)
AWS_APPMESH_API Aws::String SerializePayload() const override
DescribeGatewayRouteRequest & WithMeshOwner(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeGatewayRouteRequest & WithMeshOwner(const Aws::String &value)
DescribeGatewayRouteRequest & WithGatewayRouteName(Aws::String &&value)
DescribeGatewayRouteRequest & WithVirtualGatewayName(Aws::String &&value)
DescribeGatewayRouteRequest & WithMeshName(const char *value)
DescribeGatewayRouteRequest & WithGatewayRouteName(const char *value)
DescribeGatewayRouteRequest & WithMeshName(const Aws::String &value)
DescribeGatewayRouteRequest & WithVirtualGatewayName(const Aws::String &value)
DescribeGatewayRouteRequest & WithMeshOwner(Aws::String &&value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeGatewayRouteRequest & WithGatewayRouteName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String