AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
46 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
47 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
48 inline CreateDeploymentRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
49 inline CreateDeploymentRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
50 inline CreateDeploymentRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline CreateDeploymentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateDeploymentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateDeploymentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::String& GetStageName() const{ return m_stageName; }
72 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
73 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
74 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
75 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
76 inline CreateDeploymentRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
77 inline CreateDeploymentRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
78 inline CreateDeploymentRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
80 private:
81
82 Aws::String m_apiId;
83 bool m_apiIdHasBeenSet = false;
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87
88 Aws::String m_stageName;
89 bool m_stageNameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ApiGatewayV2
94} // namespace Aws
CreateDeploymentRequest & WithStageName(const char *value)
CreateDeploymentRequest & WithApiId(const char *value)
CreateDeploymentRequest & WithApiId(const Aws::String &value)
CreateDeploymentRequest & WithDescription(const Aws::String &value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
CreateDeploymentRequest & WithDescription(const char *value)
CreateDeploymentRequest & WithStageName(const Aws::String &value)
CreateDeploymentRequest & WithStageName(Aws::String &&value)
CreateDeploymentRequest & WithApiId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String