AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServicePipeline.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/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 Proton
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PROTON_API ServicePipeline() = default;
40 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 ServicePipeline& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 ServicePipeline& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline DeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
72 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
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 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
83 template<typename DeploymentStatusMessageT = Aws::String>
84 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
85 template<typename DeploymentStatusMessageT = Aws::String>
86 ServicePipeline& WithDeploymentStatusMessage(DeploymentStatusMessageT&& value) { SetDeploymentStatusMessage(std::forward<DeploymentStatusMessageT>(value)); return *this;}
88
90
93 inline const Aws::String& GetLastAttemptedDeploymentId() const { return m_lastAttemptedDeploymentId; }
94 inline bool LastAttemptedDeploymentIdHasBeenSet() const { return m_lastAttemptedDeploymentIdHasBeenSet; }
95 template<typename LastAttemptedDeploymentIdT = Aws::String>
96 void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value); }
97 template<typename LastAttemptedDeploymentIdT = Aws::String>
98 ServicePipeline& WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { SetLastAttemptedDeploymentId(std::forward<LastAttemptedDeploymentIdT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastDeploymentAttemptedAt() const { return m_lastDeploymentAttemptedAt; }
106 inline bool LastDeploymentAttemptedAtHasBeenSet() const { return m_lastDeploymentAttemptedAtHasBeenSet; }
107 template<typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
108 void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { m_lastDeploymentAttemptedAtHasBeenSet = true; m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value); }
109 template<typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
110 ServicePipeline& WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { SetLastDeploymentAttemptedAt(std::forward<LastDeploymentAttemptedAtT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastDeploymentSucceededAt() const { return m_lastDeploymentSucceededAt; }
118 inline bool LastDeploymentSucceededAtHasBeenSet() const { return m_lastDeploymentSucceededAtHasBeenSet; }
119 template<typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
120 void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { m_lastDeploymentSucceededAtHasBeenSet = true; m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value); }
121 template<typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
122 ServicePipeline& WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { SetLastDeploymentSucceededAt(std::forward<LastDeploymentSucceededAtT>(value)); return *this;}
124
126
129 inline const Aws::String& GetLastSucceededDeploymentId() const { return m_lastSucceededDeploymentId; }
130 inline bool LastSucceededDeploymentIdHasBeenSet() const { return m_lastSucceededDeploymentIdHasBeenSet; }
131 template<typename LastSucceededDeploymentIdT = Aws::String>
132 void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value); }
133 template<typename LastSucceededDeploymentIdT = Aws::String>
134 ServicePipeline& WithLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { SetLastSucceededDeploymentId(std::forward<LastSucceededDeploymentIdT>(value)); return *this;}
136
138
141 inline const Aws::String& GetSpec() const { return m_spec; }
142 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
143 template<typename SpecT = Aws::String>
144 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
145 template<typename SpecT = Aws::String>
146 ServicePipeline& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
148
150
154 inline const Aws::String& GetTemplateMajorVersion() const { return m_templateMajorVersion; }
155 inline bool TemplateMajorVersionHasBeenSet() const { return m_templateMajorVersionHasBeenSet; }
156 template<typename TemplateMajorVersionT = Aws::String>
157 void SetTemplateMajorVersion(TemplateMajorVersionT&& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value); }
158 template<typename TemplateMajorVersionT = Aws::String>
159 ServicePipeline& WithTemplateMajorVersion(TemplateMajorVersionT&& value) { SetTemplateMajorVersion(std::forward<TemplateMajorVersionT>(value)); return *this;}
161
163
167 inline const Aws::String& GetTemplateMinorVersion() const { return m_templateMinorVersion; }
168 inline bool TemplateMinorVersionHasBeenSet() const { return m_templateMinorVersionHasBeenSet; }
169 template<typename TemplateMinorVersionT = Aws::String>
170 void SetTemplateMinorVersion(TemplateMinorVersionT&& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value); }
171 template<typename TemplateMinorVersionT = Aws::String>
172 ServicePipeline& WithTemplateMinorVersion(TemplateMinorVersionT&& value) { SetTemplateMinorVersion(std::forward<TemplateMinorVersionT>(value)); return *this;}
174
176
180 inline const Aws::String& GetTemplateName() const { return m_templateName; }
181 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
182 template<typename TemplateNameT = Aws::String>
183 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
184 template<typename TemplateNameT = Aws::String>
185 ServicePipeline& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
187 private:
188
189 Aws::String m_arn;
190 bool m_arnHasBeenSet = false;
191
192 Aws::Utils::DateTime m_createdAt{};
193 bool m_createdAtHasBeenSet = false;
194
196 bool m_deploymentStatusHasBeenSet = false;
197
198 Aws::String m_deploymentStatusMessage;
199 bool m_deploymentStatusMessageHasBeenSet = false;
200
201 Aws::String m_lastAttemptedDeploymentId;
202 bool m_lastAttemptedDeploymentIdHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastDeploymentAttemptedAt{};
205 bool m_lastDeploymentAttemptedAtHasBeenSet = false;
206
207 Aws::Utils::DateTime m_lastDeploymentSucceededAt{};
208 bool m_lastDeploymentSucceededAtHasBeenSet = false;
209
210 Aws::String m_lastSucceededDeploymentId;
211 bool m_lastSucceededDeploymentIdHasBeenSet = false;
212
213 Aws::String m_spec;
214 bool m_specHasBeenSet = false;
215
216 Aws::String m_templateMajorVersion;
217 bool m_templateMajorVersionHasBeenSet = false;
218
219 Aws::String m_templateMinorVersion;
220 bool m_templateMinorVersionHasBeenSet = false;
221
222 Aws::String m_templateName;
223 bool m_templateNameHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace Proton
228} // namespace Aws
ServicePipeline & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
const Aws::String & GetLastSucceededDeploymentId() const
ServicePipeline & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetArn() const
void SetTemplateMajorVersion(TemplateMajorVersionT &&value)
ServicePipeline & WithDeploymentStatus(DeploymentStatus value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API ServicePipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
void SetTemplateName(TemplateNameT &&value)
const Aws::String & GetDeploymentStatusMessage() const
ServicePipeline & WithArn(ArnT &&value)
const Aws::String & GetLastAttemptedDeploymentId() const
ServicePipeline & WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
void SetDeploymentStatus(DeploymentStatus value)
ServicePipeline & WithTemplateName(TemplateNameT &&value)
const Aws::String & GetTemplateMajorVersion() const
AWS_PROTON_API ServicePipeline(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTemplateMinorVersion() const
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
ServicePipeline & WithTemplateMajorVersion(TemplateMajorVersionT &&value)
ServicePipeline & WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
AWS_PROTON_API ServicePipeline()=default
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
ServicePipeline & WithTemplateMinorVersion(TemplateMinorVersionT &&value)
ServicePipeline & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
DeploymentStatus GetDeploymentStatus() const
const Aws::String & GetTemplateName() const
const Aws::String & GetSpec() const
void SetTemplateMinorVersion(TemplateMinorVersionT &&value)
ServicePipeline & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
ServicePipeline & WithSpec(SpecT &&value)
void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue