AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/DeploymentStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ApiGatewayV2 {
24namespace Model {
26 public:
27 AWS_APIGATEWAYV2_API CreateDeploymentResult() = default;
30
32
35 inline bool GetAutoDeployed() const { return m_autoDeployed; }
36 inline void SetAutoDeployed(bool value) {
37 m_autoDeployedHasBeenSet = true;
38 m_autoDeployed = value;
39 }
41 SetAutoDeployed(value);
42 return *this;
43 }
45
47
50 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
51 template <typename CreatedDateT = Aws::Utils::DateTime>
52 void SetCreatedDate(CreatedDateT&& value) {
53 m_createdDateHasBeenSet = true;
54 m_createdDate = std::forward<CreatedDateT>(value);
55 }
56 template <typename CreatedDateT = Aws::Utils::DateTime>
57 CreateDeploymentResult& WithCreatedDate(CreatedDateT&& value) {
58 SetCreatedDate(std::forward<CreatedDateT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
68 template <typename DeploymentIdT = Aws::String>
69 void SetDeploymentId(DeploymentIdT&& value) {
70 m_deploymentIdHasBeenSet = true;
71 m_deploymentId = std::forward<DeploymentIdT>(value);
72 }
73 template <typename DeploymentIdT = Aws::String>
74 CreateDeploymentResult& WithDeploymentId(DeploymentIdT&& value) {
75 SetDeploymentId(std::forward<DeploymentIdT>(value));
76 return *this;
77 }
79
81
84 inline DeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
86 m_deploymentStatusHasBeenSet = true;
87 m_deploymentStatus = value;
88 }
91 return *this;
92 }
94
96
99 inline const Aws::String& GetDeploymentStatusMessage() const { return m_deploymentStatusMessage; }
100 template <typename DeploymentStatusMessageT = Aws::String>
101 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) {
102 m_deploymentStatusMessageHasBeenSet = true;
103 m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value);
104 }
105 template <typename DeploymentStatusMessageT = Aws::String>
106 CreateDeploymentResult& WithDeploymentStatusMessage(DeploymentStatusMessageT&& value) {
107 SetDeploymentStatusMessage(std::forward<DeploymentStatusMessageT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetDescription() const { return m_description; }
117 template <typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) {
119 m_descriptionHasBeenSet = true;
120 m_description = std::forward<DescriptionT>(value);
121 }
122 template <typename DescriptionT = Aws::String>
124 SetDescription(std::forward<DescriptionT>(value));
125 return *this;
126 }
128
130
131 inline const Aws::String& GetRequestId() const { return m_requestId; }
132 template <typename RequestIdT = Aws::String>
133 void SetRequestId(RequestIdT&& value) {
134 m_requestIdHasBeenSet = true;
135 m_requestId = std::forward<RequestIdT>(value);
136 }
137 template <typename RequestIdT = Aws::String>
139 SetRequestId(std::forward<RequestIdT>(value));
140 return *this;
141 }
143 private:
144 bool m_autoDeployed{false};
145
146 Aws::Utils::DateTime m_createdDate{};
147
148 Aws::String m_deploymentId;
149
151
152 Aws::String m_deploymentStatusMessage;
153
154 Aws::String m_description;
155
156 Aws::String m_requestId;
157 bool m_autoDeployedHasBeenSet = false;
158 bool m_createdDateHasBeenSet = false;
159 bool m_deploymentIdHasBeenSet = false;
160 bool m_deploymentStatusHasBeenSet = false;
161 bool m_deploymentStatusMessageHasBeenSet = false;
162 bool m_descriptionHasBeenSet = false;
163 bool m_requestIdHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace ApiGatewayV2
168} // namespace Aws
AWS_APIGATEWAYV2_API CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAYV2_API CreateDeploymentResult()=default
const Aws::Utils::DateTime & GetCreatedDate() const
CreateDeploymentResult & WithRequestId(RequestIdT &&value)
CreateDeploymentResult & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
CreateDeploymentResult & WithDescription(DescriptionT &&value)
CreateDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
CreateDeploymentResult & WithAutoDeployed(bool value)
AWS_APIGATEWAYV2_API CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithDeploymentStatus(DeploymentStatus value)
CreateDeploymentResult & WithCreatedDate(CreatedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue