AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
WorkflowVersion.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/WorkflowType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace imagebuilder {
21namespace Model {
22
30 public:
31 AWS_IMAGEBUILDER_API WorkflowVersion() = default;
32 AWS_IMAGEBUILDER_API WorkflowVersion(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IMAGEBUILDER_API WorkflowVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 WorkflowVersion& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
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) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 WorkflowVersion& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetVersion() const { return m_version; }
78 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
79 template <typename VersionT = Aws::String>
80 void SetVersion(VersionT&& value) {
81 m_versionHasBeenSet = true;
82 m_version = std::forward<VersionT>(value);
83 }
84 template <typename VersionT = Aws::String>
85 WorkflowVersion& WithVersion(VersionT&& value) {
86 SetVersion(std::forward<VersionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
103 WorkflowVersion& WithDescription(DescriptionT&& value) {
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
114 inline WorkflowType GetType() const { return m_type; }
115 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
116 inline void SetType(WorkflowType value) {
117 m_typeHasBeenSet = true;
118 m_type = value;
119 }
121 SetType(value);
122 return *this;
123 }
125
127
130 inline const Aws::String& GetOwner() const { return m_owner; }
131 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
132 template <typename OwnerT = Aws::String>
133 void SetOwner(OwnerT&& value) {
134 m_ownerHasBeenSet = true;
135 m_owner = std::forward<OwnerT>(value);
136 }
137 template <typename OwnerT = Aws::String>
138 WorkflowVersion& WithOwner(OwnerT&& value) {
139 SetOwner(std::forward<OwnerT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
149 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
150 template <typename DateCreatedT = Aws::String>
151 void SetDateCreated(DateCreatedT&& value) {
152 m_dateCreatedHasBeenSet = true;
153 m_dateCreated = std::forward<DateCreatedT>(value);
154 }
155 template <typename DateCreatedT = Aws::String>
156 WorkflowVersion& WithDateCreated(DateCreatedT&& value) {
157 SetDateCreated(std::forward<DateCreatedT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_arn;
163
164 Aws::String m_name;
165
166 Aws::String m_version;
167
168 Aws::String m_description;
169
171
172 Aws::String m_owner;
173
174 Aws::String m_dateCreated;
175 bool m_arnHasBeenSet = false;
176 bool m_nameHasBeenSet = false;
177 bool m_versionHasBeenSet = false;
178 bool m_descriptionHasBeenSet = false;
179 bool m_typeHasBeenSet = false;
180 bool m_ownerHasBeenSet = false;
181 bool m_dateCreatedHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace imagebuilder
186} // 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