AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
GetDeploymentRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace APIGateway {
19namespace Model {
20
28 public:
29 AWS_APIGATEWAY_API GetDeploymentRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetDeployment"; }
36
37 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
38
39 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
45 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
46 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
47 template <typename RestApiIdT = Aws::String>
48 void SetRestApiId(RestApiIdT&& value) {
49 m_restApiIdHasBeenSet = true;
50 m_restApiId = std::forward<RestApiIdT>(value);
51 }
52 template <typename RestApiIdT = Aws::String>
53 GetDeploymentRequest& WithRestApiId(RestApiIdT&& value) {
54 SetRestApiId(std::forward<RestApiIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
64 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
65 template <typename DeploymentIdT = Aws::String>
66 void SetDeploymentId(DeploymentIdT&& value) {
67 m_deploymentIdHasBeenSet = true;
68 m_deploymentId = std::forward<DeploymentIdT>(value);
69 }
70 template <typename DeploymentIdT = Aws::String>
71 GetDeploymentRequest& WithDeploymentId(DeploymentIdT&& value) {
72 SetDeploymentId(std::forward<DeploymentIdT>(value));
73 return *this;
74 }
76
78
90 inline const Aws::Vector<Aws::String>& GetEmbed() const { return m_embed; }
91 inline bool EmbedHasBeenSet() const { return m_embedHasBeenSet; }
92 template <typename EmbedT = Aws::Vector<Aws::String>>
93 void SetEmbed(EmbedT&& value) {
94 m_embedHasBeenSet = true;
95 m_embed = std::forward<EmbedT>(value);
96 }
97 template <typename EmbedT = Aws::Vector<Aws::String>>
99 SetEmbed(std::forward<EmbedT>(value));
100 return *this;
101 }
102 template <typename EmbedT = Aws::String>
104 m_embedHasBeenSet = true;
105 m_embed.emplace_back(std::forward<EmbedT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_restApiId;
111
112 Aws::String m_deploymentId;
113
115 bool m_restApiIdHasBeenSet = false;
116 bool m_deploymentIdHasBeenSet = false;
117 bool m_embedHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace APIGateway
122} // namespace Aws
GetDeploymentRequest & WithEmbed(EmbedT &&value)
AWS_APIGATEWAY_API GetDeploymentRequest()=default
virtual const char * GetServiceRequestName() const override
GetDeploymentRequest & WithDeploymentId(DeploymentIdT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetEmbed() const
GetDeploymentRequest & AddEmbed(EmbedT &&value)
GetDeploymentRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector