AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline bool GetAutoDeployed() const{ return m_autoDeployed; }
42 inline void SetAutoDeployed(bool value) { 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 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
52 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
53 inline CreateDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
54 inline CreateDeploymentResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
62 inline void SetDeploymentId(const Aws::String& value) { m_deploymentId = value; }
63 inline void SetDeploymentId(Aws::String&& value) { m_deploymentId = std::move(value); }
64 inline void SetDeploymentId(const char* value) { m_deploymentId.assign(value); }
65 inline CreateDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
66 inline CreateDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
67 inline CreateDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
69
71
74 inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
75 inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatus = value; }
76 inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatus = std::move(value); }
78 inline CreateDeploymentResult& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetDeploymentStatusMessage() const{ return m_deploymentStatusMessage; }
86 inline void SetDeploymentStatusMessage(const Aws::String& value) { m_deploymentStatusMessage = value; }
87 inline void SetDeploymentStatusMessage(Aws::String&& value) { m_deploymentStatusMessage = std::move(value); }
88 inline void SetDeploymentStatusMessage(const char* value) { m_deploymentStatusMessage.assign(value); }
91 inline CreateDeploymentResult& WithDeploymentStatusMessage(const char* value) { SetDeploymentStatusMessage(value); return *this;}
93
95
98 inline const Aws::String& GetDescription() const{ return m_description; }
99 inline void SetDescription(const Aws::String& value) { m_description = value; }
100 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
101 inline void SetDescription(const char* value) { m_description.assign(value); }
102 inline CreateDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
103 inline CreateDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline CreateDeploymentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
106
108
109 inline const Aws::String& GetRequestId() const{ return m_requestId; }
110 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
111 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
112 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
113 inline CreateDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
114 inline CreateDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 inline CreateDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
117 private:
118
119 bool m_autoDeployed;
120
121 Aws::Utils::DateTime m_createdDate;
122
123 Aws::String m_deploymentId;
124
125 DeploymentStatus m_deploymentStatus;
126
127 Aws::String m_deploymentStatusMessage;
128
129 Aws::String m_description;
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace ApiGatewayV2
136} // namespace Aws
CreateDeploymentResult & WithDeploymentStatusMessage(Aws::String &&value)
AWS_APIGATEWAYV2_API CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedDate() const
CreateDeploymentResult & WithRequestId(const char *value)
CreateDeploymentResult & WithDeploymentId(const Aws::String &value)
CreateDeploymentResult & WithDescription(const char *value)
CreateDeploymentResult & WithDescription(const Aws::String &value)
CreateDeploymentResult & WithDeploymentStatusMessage(const Aws::String &value)
CreateDeploymentResult & WithAutoDeployed(bool value)
AWS_APIGATEWAYV2_API CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithRequestId(const Aws::String &value)
CreateDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
CreateDeploymentResult & WithDeploymentStatus(const DeploymentStatus &value)
CreateDeploymentResult & WithDeploymentStatusMessage(const char *value)
void SetDeploymentStatus(const DeploymentStatus &value)
CreateDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
CreateDeploymentResult & WithDeploymentId(Aws::String &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
CreateDeploymentResult & WithDescription(Aws::String &&value)
CreateDeploymentResult & WithDeploymentStatus(DeploymentStatus &&value)
CreateDeploymentResult & WithDeploymentId(const char *value)
CreateDeploymentResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue