AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDeploymentRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace APIGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAY_API GetDeploymentRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "GetDeployment"; }
40
41 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
42
43 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
51 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
52 template<typename RestApiIdT = Aws::String>
53 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
54 template<typename RestApiIdT = Aws::String>
55 GetDeploymentRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
63 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
64 template<typename DeploymentIdT = Aws::String>
65 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
66 template<typename DeploymentIdT = Aws::String>
67 GetDeploymentRequest& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
69
71
83 inline const Aws::Vector<Aws::String>& GetEmbed() const { return m_embed; }
84 inline bool EmbedHasBeenSet() const { return m_embedHasBeenSet; }
85 template<typename EmbedT = Aws::Vector<Aws::String>>
86 void SetEmbed(EmbedT&& value) { m_embedHasBeenSet = true; m_embed = std::forward<EmbedT>(value); }
87 template<typename EmbedT = Aws::Vector<Aws::String>>
88 GetDeploymentRequest& WithEmbed(EmbedT&& value) { SetEmbed(std::forward<EmbedT>(value)); return *this;}
89 template<typename EmbedT = Aws::String>
90 GetDeploymentRequest& AddEmbed(EmbedT&& value) { m_embedHasBeenSet = true; m_embed.emplace_back(std::forward<EmbedT>(value)); return *this; }
92 private:
93
94 Aws::String m_restApiId;
95 bool m_restApiIdHasBeenSet = false;
96
97 Aws::String m_deploymentId;
98 bool m_deploymentIdHasBeenSet = false;
99
101 bool m_embedHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace APIGateway
106} // 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