AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigatewayv2/model/DeploymentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApiGatewayV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APIGATEWAYV2_API CreateDeploymentResult() = default;
35
36
38
41 inline bool GetAutoDeployed() const { return m_autoDeployed; }
42 inline void SetAutoDeployed(bool value) { m_autoDeployedHasBeenSet = true; m_autoDeployed = value; }
43 inline CreateDeploymentResult& WithAutoDeployed(bool value) { SetAutoDeployed(value); return *this;}
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) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
53 template<typename CreatedDateT = Aws::Utils::DateTime>
54 CreateDeploymentResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
62 template<typename DeploymentIdT = Aws::String>
63 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
64 template<typename DeploymentIdT = Aws::String>
65 CreateDeploymentResult& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
67
69
72 inline DeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
73 inline void SetDeploymentStatus(DeploymentStatus value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
76
78
81 inline const Aws::String& GetDeploymentStatusMessage() const { return m_deploymentStatusMessage; }
82 template<typename DeploymentStatusMessageT = Aws::String>
83 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
84 template<typename DeploymentStatusMessageT = Aws::String>
85 CreateDeploymentResult& WithDeploymentStatusMessage(DeploymentStatusMessageT&& value) { SetDeploymentStatusMessage(std::forward<DeploymentStatusMessageT>(value)); return *this;}
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 template<typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
95 template<typename DescriptionT = Aws::String>
96 CreateDeploymentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template<typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
104 template<typename RequestIdT = Aws::String>
105 CreateDeploymentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
107 private:
108
109 bool m_autoDeployed{false};
110 bool m_autoDeployedHasBeenSet = false;
111
112 Aws::Utils::DateTime m_createdDate{};
113 bool m_createdDateHasBeenSet = false;
114
115 Aws::String m_deploymentId;
116 bool m_deploymentIdHasBeenSet = false;
117
119 bool m_deploymentStatusHasBeenSet = false;
120
121 Aws::String m_deploymentStatusMessage;
122 bool m_deploymentStatusMessageHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::String m_requestId;
128 bool m_requestIdHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ApiGatewayV2
133} // 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