AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
53 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
54 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
55 inline GetDeploymentRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
56 inline GetDeploymentRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
57 inline GetDeploymentRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
59
61
64 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
65 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
66 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
67 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
68 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
69 inline GetDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
70 inline GetDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
71 inline GetDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
73
75
87 inline const Aws::Vector<Aws::String>& GetEmbed() const{ return m_embed; }
88 inline bool EmbedHasBeenSet() const { return m_embedHasBeenSet; }
89 inline void SetEmbed(const Aws::Vector<Aws::String>& value) { m_embedHasBeenSet = true; m_embed = value; }
90 inline void SetEmbed(Aws::Vector<Aws::String>&& value) { m_embedHasBeenSet = true; m_embed = std::move(value); }
91 inline GetDeploymentRequest& WithEmbed(const Aws::Vector<Aws::String>& value) { SetEmbed(value); return *this;}
92 inline GetDeploymentRequest& WithEmbed(Aws::Vector<Aws::String>&& value) { SetEmbed(std::move(value)); return *this;}
93 inline GetDeploymentRequest& AddEmbed(const Aws::String& value) { m_embedHasBeenSet = true; m_embed.push_back(value); return *this; }
94 inline GetDeploymentRequest& AddEmbed(Aws::String&& value) { m_embedHasBeenSet = true; m_embed.push_back(std::move(value)); return *this; }
95 inline GetDeploymentRequest& AddEmbed(const char* value) { m_embedHasBeenSet = true; m_embed.push_back(value); return *this; }
97 private:
98
99 Aws::String m_restApiId;
100 bool m_restApiIdHasBeenSet = false;
101
102 Aws::String m_deploymentId;
103 bool m_deploymentIdHasBeenSet = false;
104
106 bool m_embedHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace APIGateway
111} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetDeploymentRequest & WithRestApiId(Aws::String &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetDeploymentRequest & WithDeploymentId(const char *value)
GetDeploymentRequest & WithEmbed(const Aws::Vector< Aws::String > &value)
GetDeploymentRequest & WithRestApiId(const Aws::String &value)
GetDeploymentRequest & AddEmbed(Aws::String &&value)
void SetEmbed(Aws::Vector< Aws::String > &&value)
GetDeploymentRequest & AddEmbed(const char *value)
GetDeploymentRequest & WithDeploymentId(Aws::String &&value)
GetDeploymentRequest & WithRestApiId(const char *value)
GetDeploymentRequest & WithEmbed(Aws::Vector< Aws::String > &&value)
void SetEmbed(const Aws::Vector< Aws::String > &value)
GetDeploymentRequest & AddEmbed(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEmbed() const
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDeploymentRequest & WithDeploymentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector