AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Deployment.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ApiGatewayV2
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APIGATEWAYV2_API Deployment() = default;
39 AWS_APIGATEWAYV2_API Deployment(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APIGATEWAYV2_API Deployment& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline bool GetAutoDeployed() const { return m_autoDeployed; }
49 inline bool AutoDeployedHasBeenSet() const { return m_autoDeployedHasBeenSet; }
50 inline void SetAutoDeployed(bool value) { m_autoDeployedHasBeenSet = true; m_autoDeployed = value; }
51 inline Deployment& WithAutoDeployed(bool value) { SetAutoDeployed(value); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
59 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
60 template<typename CreatedDateT = Aws::Utils::DateTime>
61 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
62 template<typename CreatedDateT = Aws::Utils::DateTime>
63 Deployment& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
71 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
72 template<typename DeploymentIdT = Aws::String>
73 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
74 template<typename DeploymentIdT = Aws::String>
75 Deployment& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
77
79
82 inline DeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
83 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
84 inline void SetDeploymentStatus(DeploymentStatus value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
87
89
92 inline const Aws::String& GetDeploymentStatusMessage() const { return m_deploymentStatusMessage; }
93 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
94 template<typename DeploymentStatusMessageT = Aws::String>
95 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
96 template<typename DeploymentStatusMessageT = Aws::String>
97 Deployment& WithDeploymentStatusMessage(DeploymentStatusMessageT&& value) { SetDeploymentStatusMessage(std::forward<DeploymentStatusMessageT>(value)); return *this;}
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
106 template<typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
108 template<typename DescriptionT = Aws::String>
109 Deployment& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
111 private:
112
113 bool m_autoDeployed{false};
114 bool m_autoDeployedHasBeenSet = false;
115
116 Aws::Utils::DateTime m_createdDate{};
117 bool m_createdDateHasBeenSet = false;
118
119 Aws::String m_deploymentId;
120 bool m_deploymentIdHasBeenSet = false;
121
123 bool m_deploymentStatusHasBeenSet = false;
124
125 Aws::String m_deploymentStatusMessage;
126 bool m_deploymentStatusMessageHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ApiGatewayV2
134} // namespace Aws
void SetCreatedDate(CreatedDateT &&value)
Definition Deployment.h:61
Deployment & WithAutoDeployed(bool value)
Definition Deployment.h:51
Deployment & WithDeploymentStatus(DeploymentStatus value)
Definition Deployment.h:85
void SetDescription(DescriptionT &&value)
Definition Deployment.h:107
const Aws::String & GetDescription() const
Definition Deployment.h:104
const Aws::String & GetDeploymentStatusMessage() const
Definition Deployment.h:92
AWS_APIGATEWAYV2_API Deployment(Aws::Utils::Json::JsonView jsonValue)
DeploymentStatus GetDeploymentStatus() const
Definition Deployment.h:82
Deployment & WithCreatedDate(CreatedDateT &&value)
Definition Deployment.h:63
void SetDeploymentId(DeploymentIdT &&value)
Definition Deployment.h:73
Deployment & WithDeploymentId(DeploymentIdT &&value)
Definition Deployment.h:75
void SetDeploymentStatus(DeploymentStatus value)
Definition Deployment.h:84
const Aws::String & GetDeploymentId() const
Definition Deployment.h:70
AWS_APIGATEWAYV2_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedDate() const
Definition Deployment.h:58
Deployment & WithDescription(DescriptionT &&value)
Definition Deployment.h:109
AWS_APIGATEWAYV2_API Deployment()=default
Deployment & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
Definition Deployment.h:97
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
Definition Deployment.h:95
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue