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/ServicePipeline.h>
11#include <aws/proton/model/ServiceStatus.h>
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>
62 template<
typename BranchNameT = Aws::String>
63 void SetBranchName(BranchNameT&& value) { m_branchNameHasBeenSet =
true; m_branchName = std::forward<BranchNameT>(value); }
64 template<
typename BranchNameT = Aws::String>
74 template<
typename CreatedAtT = Aws::Utils::DateTime>
75 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
76 template<
typename CreatedAtT = Aws::Utils::DateTime>
86 template<
typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
88 template<
typename DescriptionT = Aws::String>
98 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
99 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
100 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
110 template<
typename NameT = Aws::String>
111 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
112 template<
typename NameT = Aws::String>
122 template<
typename PipelineT = ServicePipeline>
123 void SetPipeline(PipelineT&& value) { m_pipelineHasBeenSet =
true; m_pipeline = std::forward<PipelineT>(value); }
124 template<
typename PipelineT = ServicePipeline>
137 template<
typename RepositoryConnectionArnT = Aws::String>
138 void SetRepositoryConnectionArn(RepositoryConnectionArnT&& value) { m_repositoryConnectionArnHasBeenSet =
true; m_repositoryConnectionArn = std::forward<RepositoryConnectionArnT>(value); }
139 template<
typename RepositoryConnectionArnT = Aws::String>
149 template<
typename RepositoryIdT = Aws::String>
150 void SetRepositoryId(RepositoryIdT&& value) { m_repositoryIdHasBeenSet =
true; m_repositoryId = std::forward<RepositoryIdT>(value); }
151 template<
typename RepositoryIdT = Aws::String>
161 template<
typename SpecT = Aws::String>
162 void SetSpec(SpecT&& value) { m_specHasBeenSet =
true; m_spec = std::forward<SpecT>(value); }
163 template<
typename SpecT = Aws::String>
183 template<
typename StatusMessageT = Aws::String>
184 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
185 template<
typename StatusMessageT = Aws::String>
195 template<
typename TemplateNameT = Aws::String>
196 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
197 template<
typename TemplateNameT = Aws::String>
203 bool m_arnHasBeenSet =
false;
206 bool m_branchNameHasBeenSet =
false;
209 bool m_createdAtHasBeenSet =
false;
212 bool m_descriptionHasBeenSet =
false;
215 bool m_lastModifiedAtHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
220 ServicePipeline m_pipeline;
221 bool m_pipelineHasBeenSet =
false;
224 bool m_repositoryConnectionArnHasBeenSet =
false;
227 bool m_repositoryIdHasBeenSet =
false;
230 bool m_specHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
236 bool m_statusMessageHasBeenSet =
false;
239 bool m_templateNameHasBeenSet =
false;
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRepositoryId(RepositoryIdT &&value)
Service & WithCreatedAt(CreatedAtT &&value)
Service & WithRepositoryId(RepositoryIdT &&value)
const Aws::String & GetRepositoryId() const
void SetSpec(SpecT &&value)
Service & WithArn(ArnT &&value)
const Aws::String & GetDescription() const
Service & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetName() const
void SetCreatedAt(CreatedAtT &&value)
Service & WithSpec(SpecT &&value)
void SetTemplateName(TemplateNameT &&value)
void SetRepositoryConnectionArn(RepositoryConnectionArnT &&value)
bool RepositoryConnectionArnHasBeenSet() const
bool SpecHasBeenSet() const
bool RepositoryIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
const Aws::String & GetSpec() const
Service & WithDescription(DescriptionT &&value)
Service & WithTemplateName(TemplateNameT &&value)
void SetDescription(DescriptionT &&value)
Service & WithRepositoryConnectionArn(RepositoryConnectionArnT &&value)
void SetArn(ArnT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
void SetStatusMessage(StatusMessageT &&value)
AWS_PROTON_API Service()=default
bool ArnHasBeenSet() const
void SetStatus(ServiceStatus value)
const Aws::String & GetRepositoryConnectionArn() const
const ServicePipeline & GetPipeline() const
ServiceStatus GetStatus() const
bool LastModifiedAtHasBeenSet() const
Service & WithBranchName(BranchNameT &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetTemplateName() const
const Aws::String & GetBranchName() const
bool BranchNameHasBeenSet() const
AWS_PROTON_API Service(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
Service & WithName(NameT &&value)
AWS_PROTON_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetBranchName(BranchNameT &&value)
Service & WithStatus(ServiceStatus value)
Service & WithPipeline(PipelineT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool PipelineHasBeenSet() const
bool TemplateNameHasBeenSet() const
const Aws::String & GetStatusMessage() const
void SetName(NameT &&value)
const Aws::String & GetArn() const
void SetPipeline(PipelineT &&value)
bool StatusHasBeenSet() const
Service & WithLastModifiedAt(LastModifiedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue