7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/WorkflowParameterDetail.h>
12#include <aws/imagebuilder/model/WorkflowState.h>
13#include <aws/imagebuilder/model/WorkflowType.h>
24namespace imagebuilder {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
83 template <
typename VersionT = Aws::String>
85 m_versionHasBeenSet =
true;
86 m_version = std::forward<VersionT>(value);
88 template <
typename VersionT = Aws::String>
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
120 template <
typename ChangeDescriptionT = Aws::String>
122 m_changeDescriptionHasBeenSet =
true;
123 m_changeDescription = std::forward<ChangeDescriptionT>(value);
125 template <
typename ChangeDescriptionT = Aws::String>
140 m_typeHasBeenSet =
true;
156 template <
typename StateT = WorkflowState>
158 m_stateHasBeenSet =
true;
159 m_state = std::forward<StateT>(value);
161 template <
typename StateT = WorkflowState>
163 SetState(std::forward<StateT>(value));
174 template <
typename OwnerT = Aws::String>
176 m_ownerHasBeenSet =
true;
177 m_owner = std::forward<OwnerT>(value);
179 template <
typename OwnerT = Aws::String>
181 SetOwner(std::forward<OwnerT>(value));
192 template <
typename DataT = Aws::String>
194 m_dataHasBeenSet =
true;
195 m_data = std::forward<DataT>(value);
197 template <
typename DataT = Aws::String>
199 SetData(std::forward<DataT>(value));
214 template <
typename KmsKeyIdT = Aws::String>
216 m_kmsKeyIdHasBeenSet =
true;
217 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
219 template <
typename KmsKeyIdT = Aws::String>
232 template <
typename DateCreatedT = Aws::String>
234 m_dateCreatedHasBeenSet =
true;
235 m_dateCreated = std::forward<DateCreatedT>(value);
237 template <
typename DateCreatedT = Aws::String>
250 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
252 m_tagsHasBeenSet =
true;
253 m_tags = std::forward<TagsT>(value);
255 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
257 SetTags(std::forward<TagsT>(value));
260 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
262 m_tagsHasBeenSet =
true;
263 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
275 template <
typename ParametersT = Aws::Vector<WorkflowParameterDetail>>
277 m_parametersHasBeenSet =
true;
278 m_parameters = std::forward<ParametersT>(value);
280 template <
typename ParametersT = Aws::Vector<WorkflowParameterDetail>>
285 template <
typename ParametersT = WorkflowParameterDetail>
287 m_parametersHasBeenSet =
true;
288 m_parameters.emplace_back(std::forward<ParametersT>(value));
305 WorkflowState m_state;
318 bool m_arnHasBeenSet =
false;
319 bool m_nameHasBeenSet =
false;
320 bool m_versionHasBeenSet =
false;
321 bool m_descriptionHasBeenSet =
false;
322 bool m_changeDescriptionHasBeenSet =
false;
323 bool m_typeHasBeenSet =
false;
324 bool m_stateHasBeenSet =
false;
325 bool m_ownerHasBeenSet =
false;
326 bool m_dataHasBeenSet =
false;
327 bool m_kmsKeyIdHasBeenSet =
false;
328 bool m_dateCreatedHasBeenSet =
false;
329 bool m_tagsHasBeenSet =
false;
330 bool m_parametersHasBeenSet =
false;
Workflow & WithName(NameT &&value)
Workflow & WithDescription(DescriptionT &&value)
const Aws::String & GetDateCreated() const
void SetVersion(VersionT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool StateHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
void SetChangeDescription(ChangeDescriptionT &&value)
Workflow & WithVersion(VersionT &&value)
const Aws::String & GetDescription() const
Workflow & WithArn(ArnT &&value)
const Aws::String & GetVersion() const
const Aws::String & GetChangeDescription() const
Workflow & WithParameters(ParametersT &&value)
Workflow & WithOwner(OwnerT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
Workflow & WithState(StateT &&value)
Workflow & WithTags(TagsT &&value)
bool DescriptionHasBeenSet() const
bool OwnerHasBeenSet() const
Workflow & AddParameters(ParametersT &&value)
const Aws::Vector< WorkflowParameterDetail > & GetParameters() const
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
Workflow & AddTags(TagsKeyT &&key, TagsValueT &&value)
Workflow & WithKmsKeyId(KmsKeyIdT &&value)
bool TagsHasBeenSet() const
Workflow & WithData(DataT &&value)
Workflow & WithChangeDescription(ChangeDescriptionT &&value)
const Aws::String & GetData() const
const Aws::String & GetKmsKeyId() const
bool ChangeDescriptionHasBeenSet() const
Workflow & WithType(WorkflowType value)
const Aws::String & GetName() const
void SetArn(ArnT &&value)
AWS_IMAGEBUILDER_API Workflow(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Workflow & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DataHasBeenSet() const
bool TypeHasBeenSet() const
void SetOwner(OwnerT &&value)
const Aws::String & GetOwner() const
void SetDateCreated(DateCreatedT &&value)
void SetParameters(ParametersT &&value)
void SetType(WorkflowType value)
void SetData(DataT &&value)
void SetState(StateT &&value)
bool NameHasBeenSet() const
WorkflowType GetType() const
bool DateCreatedHasBeenSet() const
AWS_IMAGEBUILDER_API Workflow()=default
Workflow & WithDateCreated(DateCreatedT &&value)
bool ParametersHasBeenSet() const
bool VersionHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const WorkflowState & GetState() const
void SetName(NameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue