AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline WorkflowVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline WorkflowVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline WorkflowVersion& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline WorkflowVersion& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline WorkflowVersion& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline WorkflowVersion& WithName(const char* value) { SetName(value); return *this;}
69
71
75 inline const Aws::String& GetVersion() const{ return m_version; }
76 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
77 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
78 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
79 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
80 inline WorkflowVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
81 inline WorkflowVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
82 inline WorkflowVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline WorkflowVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline WorkflowVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline WorkflowVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
104 inline const WorkflowType& GetType() const{ return m_type; }
105 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
106 inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; }
107 inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
108 inline WorkflowVersion& WithType(const WorkflowType& value) { SetType(value); return *this;}
109 inline WorkflowVersion& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetOwner() const{ return m_owner; }
117 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
118 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
119 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
120 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
121 inline WorkflowVersion& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
122 inline WorkflowVersion& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
123 inline WorkflowVersion& WithOwner(const char* value) { SetOwner(value); return *this;}
125
127
130 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
131 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
132 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
133 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
134 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
135 inline WorkflowVersion& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
136 inline WorkflowVersion& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
137 inline WorkflowVersion& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
139 private:
140
141 Aws::String m_arn;
142 bool m_arnHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_version;
148 bool m_versionHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
153 WorkflowType m_type;
154 bool m_typeHasBeenSet = false;
155
156 Aws::String m_owner;
157 bool m_ownerHasBeenSet = false;
158
159 Aws::String m_dateCreated;
160 bool m_dateCreatedHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace imagebuilder
165} // namespace Aws
WorkflowVersion & WithName(const char *value)
WorkflowVersion & WithDateCreated(const Aws::String &value)
WorkflowVersion & WithOwner(Aws::String &&value)
WorkflowVersion & WithArn(const Aws::String &value)
const Aws::String & GetVersion() const
WorkflowVersion & WithName(const Aws::String &value)
WorkflowVersion & WithVersion(const Aws::String &value)
WorkflowVersion & WithType(WorkflowType &&value)
WorkflowVersion & WithName(Aws::String &&value)
void SetArn(const Aws::String &value)
WorkflowVersion & WithDescription(Aws::String &&value)
WorkflowVersion & WithDateCreated(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetOwner(const Aws::String &value)
void SetVersion(const Aws::String &value)
const Aws::String & GetDateCreated() const
WorkflowVersion & WithArn(const char *value)
WorkflowVersion & WithDescription(const char *value)
WorkflowVersion & WithVersion(const char *value)
WorkflowVersion & WithDescription(const Aws::String &value)
WorkflowVersion & WithOwner(const Aws::String &value)
void SetType(const WorkflowType &value)
WorkflowVersion & WithOwner(const char *value)
WorkflowVersion & WithType(const WorkflowType &value)
const Aws::String & GetDescription() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowVersion & WithDateCreated(const char *value)
AWS_IMAGEBUILDER_API WorkflowVersion(Aws::Utils::Json::JsonView jsonValue)
WorkflowVersion & WithArn(Aws::String &&value)
AWS_IMAGEBUILDER_API WorkflowVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowVersion & WithVersion(Aws::String &&value)
void SetName(const Aws::String &value)
void SetDateCreated(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue