AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
WorkflowVersion.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/WorkflowType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API WorkflowVersion() = default;
37 AWS_IMAGEBUILDER_API WorkflowVersion(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API WorkflowVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 WorkflowVersion& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 WorkflowVersion& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetVersion() const { return m_version; }
72 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
73 template<typename VersionT = Aws::String>
74 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
75 template<typename VersionT = Aws::String>
76 WorkflowVersion& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 WorkflowVersion& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
96 inline WorkflowType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
99 inline WorkflowVersion& WithType(WorkflowType value) { SetType(value); return *this;}
101
103
106 inline const Aws::String& GetOwner() const { return m_owner; }
107 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
108 template<typename OwnerT = Aws::String>
109 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
110 template<typename OwnerT = Aws::String>
111 WorkflowVersion& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
113
115
118 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
119 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
120 template<typename DateCreatedT = Aws::String>
121 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
122 template<typename DateCreatedT = Aws::String>
123 WorkflowVersion& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
125 private:
126
127 Aws::String m_arn;
128 bool m_arnHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_version;
134 bool m_versionHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
140 bool m_typeHasBeenSet = false;
141
142 Aws::String m_owner;
143 bool m_ownerHasBeenSet = false;
144
145 Aws::String m_dateCreated;
146 bool m_dateCreatedHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace imagebuilder
151} // namespace Aws
WorkflowVersion & WithName(NameT &&value)
AWS_IMAGEBUILDER_API WorkflowVersion()=default
void SetDateCreated(DateCreatedT &&value)
const Aws::String & GetVersion() const
WorkflowVersion & WithVersion(VersionT &&value)
const Aws::String & GetDateCreated() const
WorkflowVersion & WithOwner(OwnerT &&value)
WorkflowVersion & WithType(WorkflowType value)
const Aws::String & GetDescription() const
WorkflowVersion & WithArn(ArnT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API WorkflowVersion(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
WorkflowVersion & WithDescription(DescriptionT &&value)
AWS_IMAGEBUILDER_API WorkflowVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowVersion & WithDateCreated(DateCreatedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue