AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateDeploymentRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ApiGatewayV2 {
15namespace Model {
16
24 public:
25 AWS_APIGATEWAYV2_API CreateDeploymentRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateDeployment"; }
32
33 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetApiId() const { return m_apiId; }
40 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
41 template <typename ApiIdT = Aws::String>
42 void SetApiId(ApiIdT&& value) {
43 m_apiIdHasBeenSet = true;
44 m_apiId = std::forward<ApiIdT>(value);
45 }
46 template <typename ApiIdT = Aws::String>
48 SetApiId(std::forward<ApiIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStageName() const { return m_stageName; }
76 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
77 template <typename StageNameT = Aws::String>
78 void SetStageName(StageNameT&& value) {
79 m_stageNameHasBeenSet = true;
80 m_stageName = std::forward<StageNameT>(value);
81 }
82 template <typename StageNameT = Aws::String>
84 SetStageName(std::forward<StageNameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_apiId;
90
91 Aws::String m_description;
92
93 Aws::String m_stageName;
94 bool m_apiIdHasBeenSet = false;
95 bool m_descriptionHasBeenSet = false;
96 bool m_stageNameHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ApiGatewayV2
101} // namespace Aws
CreateDeploymentRequest & WithDescription(DescriptionT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
CreateDeploymentRequest & WithStageName(StageNameT &&value)
AWS_APIGATEWAYV2_API CreateDeploymentRequest()=default
CreateDeploymentRequest & WithApiId(ApiIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String