AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDeploymentResult.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 UpdateDeploymentResult();
35
36
38
41 inline bool GetAutoDeployed() const{ return m_autoDeployed; }
42 inline void SetAutoDeployed(bool value) { m_autoDeployed = value; }
43 inline UpdateDeploymentResult& 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 UpdateDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
54 inline UpdateDeploymentResult& 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 UpdateDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
66 inline UpdateDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
67 inline UpdateDeploymentResult& 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 UpdateDeploymentResult& 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 UpdateDeploymentResult& 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 UpdateDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
103 inline UpdateDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline UpdateDeploymentResult& 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 UpdateDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
114 inline UpdateDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 inline UpdateDeploymentResult& 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
UpdateDeploymentResult & WithDescription(const char *value)
UpdateDeploymentResult & WithRequestId(const Aws::String &value)
UpdateDeploymentResult & WithDeploymentStatus(const DeploymentStatus &value)
UpdateDeploymentResult & WithDeploymentStatusMessage(Aws::String &&value)
UpdateDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
UpdateDeploymentResult & WithRequestId(Aws::String &&value)
UpdateDeploymentResult & WithDescription(const Aws::String &value)
UpdateDeploymentResult & WithDeploymentId(Aws::String &&value)
UpdateDeploymentResult & WithDeploymentStatus(DeploymentStatus &&value)
UpdateDeploymentResult & WithDeploymentId(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
UpdateDeploymentResult & WithDeploymentId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
AWS_APIGATEWAYV2_API UpdateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDeploymentResult & WithRequestId(const char *value)
UpdateDeploymentResult & WithDeploymentStatusMessage(const char *value)
UpdateDeploymentResult & WithDescription(Aws::String &&value)
AWS_APIGATEWAYV2_API UpdateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDeploymentResult & WithAutoDeployed(bool value)
UpdateDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
UpdateDeploymentResult & WithDeploymentStatusMessage(const Aws::String &value)
void SetDeploymentStatus(const DeploymentStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue