AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowSummary.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 <aws/imagebuilder/model/WorkflowState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace imagebuilder
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IMAGEBUILDER_API WorkflowSummary();
38 AWS_IMAGEBUILDER_API WorkflowSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API WorkflowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline WorkflowSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline WorkflowSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline WorkflowSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline WorkflowSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline WorkflowSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline WorkflowSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
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 WorkflowSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
81 inline WorkflowSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
82 inline WorkflowSummary& 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 WorkflowSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline WorkflowSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline WorkflowSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::String& GetChangeDescription() const{ return m_changeDescription; }
104 inline bool ChangeDescriptionHasBeenSet() const { return m_changeDescriptionHasBeenSet; }
105 inline void SetChangeDescription(const Aws::String& value) { m_changeDescriptionHasBeenSet = true; m_changeDescription = value; }
106 inline void SetChangeDescription(Aws::String&& value) { m_changeDescriptionHasBeenSet = true; m_changeDescription = std::move(value); }
107 inline void SetChangeDescription(const char* value) { m_changeDescriptionHasBeenSet = true; m_changeDescription.assign(value); }
108 inline WorkflowSummary& WithChangeDescription(const Aws::String& value) { SetChangeDescription(value); return *this;}
109 inline WorkflowSummary& WithChangeDescription(Aws::String&& value) { SetChangeDescription(std::move(value)); return *this;}
110 inline WorkflowSummary& WithChangeDescription(const char* value) { SetChangeDescription(value); return *this;}
112
114
118 inline const WorkflowType& GetType() const{ return m_type; }
119 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
120 inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; }
121 inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
122 inline WorkflowSummary& WithType(const WorkflowType& value) { SetType(value); return *this;}
123 inline WorkflowSummary& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetOwner() const{ return m_owner; }
131 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
132 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
133 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
134 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
135 inline WorkflowSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
136 inline WorkflowSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
137 inline WorkflowSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
139
141
144 inline const WorkflowState& GetState() const{ return m_state; }
145 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
146 inline void SetState(const WorkflowState& value) { m_stateHasBeenSet = true; m_state = value; }
147 inline void SetState(WorkflowState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
148 inline WorkflowSummary& WithState(const WorkflowState& value) { SetState(value); return *this;}
149 inline WorkflowSummary& WithState(WorkflowState&& value) { SetState(std::move(value)); return *this;}
151
153
156 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
157 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
158 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
159 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
160 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
161 inline WorkflowSummary& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
162 inline WorkflowSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
163 inline WorkflowSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
171 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
172 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
173 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
174 inline WorkflowSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
175 inline WorkflowSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
176 inline WorkflowSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
177 inline WorkflowSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
178 inline WorkflowSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
179 inline WorkflowSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
180 inline WorkflowSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
181 inline WorkflowSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
182 inline WorkflowSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
184 private:
185
186 Aws::String m_arn;
187 bool m_arnHasBeenSet = false;
188
189 Aws::String m_name;
190 bool m_nameHasBeenSet = false;
191
192 Aws::String m_version;
193 bool m_versionHasBeenSet = false;
194
195 Aws::String m_description;
196 bool m_descriptionHasBeenSet = false;
197
198 Aws::String m_changeDescription;
199 bool m_changeDescriptionHasBeenSet = false;
200
201 WorkflowType m_type;
202 bool m_typeHasBeenSet = false;
203
204 Aws::String m_owner;
205 bool m_ownerHasBeenSet = false;
206
207 WorkflowState m_state;
208 bool m_stateHasBeenSet = false;
209
210 Aws::String m_dateCreated;
211 bool m_dateCreatedHasBeenSet = false;
212
214 bool m_tagsHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace imagebuilder
219} // namespace Aws
void SetChangeDescription(const Aws::String &value)
void SetState(const WorkflowState &value)
const Aws::String & GetChangeDescription() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
WorkflowSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkflowSummary & WithName(const char *value)
WorkflowSummary & WithType(const WorkflowType &value)
AWS_IMAGEBUILDER_API WorkflowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const WorkflowState & GetState() const
WorkflowSummary & WithDescription(Aws::String &&value)
WorkflowSummary & AddTags(Aws::String &&key, const Aws::String &value)
WorkflowSummary & AddTags(const char *key, const char *value)
WorkflowSummary & WithChangeDescription(const Aws::String &value)
AWS_IMAGEBUILDER_API WorkflowSummary(Aws::Utils::Json::JsonView jsonValue)
WorkflowSummary & WithVersion(const Aws::String &value)
void SetDescription(const Aws::String &value)
WorkflowSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkflowSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
WorkflowSummary & WithOwner(const char *value)
WorkflowSummary & WithVersion(const char *value)
WorkflowSummary & WithState(WorkflowState &&value)
WorkflowSummary & WithOwner(const Aws::String &value)
WorkflowSummary & WithName(Aws::String &&value)
WorkflowSummary & AddTags(const char *key, Aws::String &&value)
WorkflowSummary & AddTags(Aws::String &&key, Aws::String &&value)
WorkflowSummary & WithDescription(const Aws::String &value)
void SetType(const WorkflowType &value)
void SetArn(const Aws::String &value)
const Aws::String & GetVersion() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::String & GetDateCreated() const
WorkflowSummary & WithName(const Aws::String &value)
WorkflowSummary & WithOwner(Aws::String &&value)
WorkflowSummary & AddTags(Aws::String &&key, const char *value)
WorkflowSummary & WithDateCreated(Aws::String &&value)
void SetVersion(const Aws::String &value)
void SetChangeDescription(Aws::String &&value)
void SetOwner(const Aws::String &value)
WorkflowSummary & WithState(const WorkflowState &value)
WorkflowSummary & WithDateCreated(const char *value)
WorkflowSummary & WithDateCreated(const Aws::String &value)
WorkflowSummary & WithArn(Aws::String &&value)
void SetDateCreated(const Aws::String &value)
WorkflowSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
WorkflowSummary & WithChangeDescription(Aws::String &&value)
WorkflowSummary & WithDescription(const char *value)
WorkflowSummary & WithChangeDescription(const char *value)
WorkflowSummary & WithType(WorkflowType &&value)
WorkflowSummary & WithArn(const char *value)
WorkflowSummary & WithArn(const Aws::String &value)
WorkflowSummary & WithVersion(Aws::String &&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
Aws::Utils::Json::JsonValue JsonValue