AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDeploymentRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ApiGatewayV2
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_APIGATEWAYV2_API CreateDeploymentRequest() = default;
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 "CreateDeployment"; }
35
36 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetApiId() const { return m_apiId; }
44 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
45 template<typename ApiIdT = Aws::String>
46 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
47 template<typename ApiIdT = Aws::String>
48 CreateDeploymentRequest& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 CreateDeploymentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetStageName() const { return m_stageName; }
68 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
69 template<typename StageNameT = Aws::String>
70 void SetStageName(StageNameT&& value) { m_stageNameHasBeenSet = true; m_stageName = std::forward<StageNameT>(value); }
71 template<typename StageNameT = Aws::String>
72 CreateDeploymentRequest& WithStageName(StageNameT&& value) { SetStageName(std::forward<StageNameT>(value)); return *this;}
74 private:
75
76 Aws::String m_apiId;
77 bool m_apiIdHasBeenSet = false;
78
79 Aws::String m_description;
80 bool m_descriptionHasBeenSet = false;
81
82 Aws::String m_stageName;
83 bool m_stageNameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ApiGatewayV2
88} // 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