AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
61 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
62 inline Deployment& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
63 inline Deployment& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
71 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
72 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
73 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
74 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
75 inline Deployment& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
76 inline Deployment& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
77 inline Deployment& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
79
81
84 inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
85 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
86 inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
87 inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
88 inline Deployment& WithDeploymentStatus(const DeploymentStatus& value) { SetDeploymentStatus(value); return *this;}
89 inline Deployment& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetDeploymentStatusMessage() const{ return m_deploymentStatusMessage; }
97 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
98 inline void SetDeploymentStatusMessage(const Aws::String& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = value; }
99 inline void SetDeploymentStatusMessage(Aws::String&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::move(value); }
100 inline void SetDeploymentStatusMessage(const char* value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage.assign(value); }
102 inline Deployment& WithDeploymentStatusMessage(Aws::String&& value) { SetDeploymentStatusMessage(std::move(value)); return *this;}
103 inline Deployment& WithDeploymentStatusMessage(const char* value) { SetDeploymentStatusMessage(value); return *this;}
105
107
110 inline const Aws::String& GetDescription() const{ return m_description; }
111 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
112 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
113 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
114 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
115 inline Deployment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
116 inline Deployment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
117 inline Deployment& WithDescription(const char* value) { SetDescription(value); return *this;}
119 private:
120
121 bool m_autoDeployed;
122 bool m_autoDeployedHasBeenSet = false;
123
124 Aws::Utils::DateTime m_createdDate;
125 bool m_createdDateHasBeenSet = false;
126
127 Aws::String m_deploymentId;
128 bool m_deploymentIdHasBeenSet = false;
129
130 DeploymentStatus m_deploymentStatus;
131 bool m_deploymentStatusHasBeenSet = false;
132
133 Aws::String m_deploymentStatusMessage;
134 bool m_deploymentStatusMessageHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ApiGatewayV2
142} // namespace Aws
void SetDeploymentId(const Aws::String &value)
Definition Deployment.h:72
Deployment & WithAutoDeployed(bool value)
Definition Deployment.h:51
Deployment & WithDeploymentId(const char *value)
Definition Deployment.h:77
void SetDeploymentStatusMessage(const Aws::String &value)
Definition Deployment.h:98
Deployment & WithDeploymentStatus(DeploymentStatus &&value)
Definition Deployment.h:89
const Aws::String & GetDescription() const
Definition Deployment.h:110
AWS_APIGATEWAYV2_API Deployment()
void SetDescription(Aws::String &&value)
Definition Deployment.h:113
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition Deployment.h:61
void SetDeploymentId(const char *value)
Definition Deployment.h:74
void SetDescription(const char *value)
Definition Deployment.h:114
Deployment & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition Deployment.h:62
const DeploymentStatus & GetDeploymentStatus() const
Definition Deployment.h:84
const Aws::String & GetDeploymentStatusMessage() const
Definition Deployment.h:96
AWS_APIGATEWAYV2_API Deployment(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition Deployment.h:60
void SetDeploymentId(Aws::String &&value)
Definition Deployment.h:73
Deployment & WithDeploymentStatusMessage(const char *value)
Definition Deployment.h:103
Deployment & WithDeploymentStatusMessage(Aws::String &&value)
Definition Deployment.h:102
Deployment & WithDescription(const Aws::String &value)
Definition Deployment.h:115
const Aws::String & GetDeploymentId() const
Definition Deployment.h:70
Deployment & WithDescription(Aws::String &&value)
Definition Deployment.h:116
AWS_APIGATEWAYV2_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedDate() const
Definition Deployment.h:58
void SetDeploymentStatus(DeploymentStatus &&value)
Definition Deployment.h:87
void SetDeploymentStatusMessage(Aws::String &&value)
Definition Deployment.h:99
void SetDescription(const Aws::String &value)
Definition Deployment.h:112
void SetDeploymentStatusMessage(const char *value)
Definition Deployment.h:100
Deployment & WithDeploymentStatusMessage(const Aws::String &value)
Definition Deployment.h:101
Deployment & WithDeploymentId(const Aws::String &value)
Definition Deployment.h:75
Deployment & WithDeploymentId(Aws::String &&value)
Definition Deployment.h:76
Deployment & WithDescription(const char *value)
Definition Deployment.h:117
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
Deployment & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition Deployment.h:63
void SetDeploymentStatus(const DeploymentStatus &value)
Definition Deployment.h:86
Deployment & WithDeploymentStatus(const DeploymentStatus &value)
Definition Deployment.h:88
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue