AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentData.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/launch-wizard/model/DeploymentStatus.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 LaunchWizard
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_LAUNCHWIZARD_API DeploymentData();
38 AWS_LAUNCHWIZARD_API DeploymentData(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAUNCHWIZARD_API DeploymentData& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
50 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
51 inline DeploymentData& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
52 inline DeploymentData& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetDeletedAt() const{ return m_deletedAt; }
60 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
61 inline void SetDeletedAt(const Aws::Utils::DateTime& value) { m_deletedAtHasBeenSet = true; m_deletedAt = value; }
62 inline void SetDeletedAt(Aws::Utils::DateTime&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::move(value); }
63 inline DeploymentData& WithDeletedAt(const Aws::Utils::DateTime& value) { SetDeletedAt(value); return *this;}
64 inline DeploymentData& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetDeploymentArn() const{ return m_deploymentArn; }
72 inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
73 inline void SetDeploymentArn(const Aws::String& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = value; }
74 inline void SetDeploymentArn(Aws::String&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::move(value); }
75 inline void SetDeploymentArn(const char* value) { m_deploymentArnHasBeenSet = true; m_deploymentArn.assign(value); }
76 inline DeploymentData& WithDeploymentArn(const Aws::String& value) { SetDeploymentArn(value); return *this;}
77 inline DeploymentData& WithDeploymentArn(Aws::String&& value) { SetDeploymentArn(std::move(value)); return *this;}
78 inline DeploymentData& WithDeploymentArn(const char* value) { SetDeploymentArn(value); return *this;}
80
82
85 inline const Aws::String& GetId() const{ return m_id; }
86 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
88 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
89 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
90 inline DeploymentData& WithId(const Aws::String& value) { SetId(value); return *this;}
91 inline DeploymentData& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
92 inline DeploymentData& WithId(const char* value) { SetId(value); return *this;}
94
96
99 inline const Aws::String& GetName() const{ return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 inline DeploymentData& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline DeploymentData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline DeploymentData& WithName(const char* value) { SetName(value); return *this;}
108
110
113 inline const Aws::String& GetPatternName() const{ return m_patternName; }
114 inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
115 inline void SetPatternName(const Aws::String& value) { m_patternNameHasBeenSet = true; m_patternName = value; }
116 inline void SetPatternName(Aws::String&& value) { m_patternNameHasBeenSet = true; m_patternName = std::move(value); }
117 inline void SetPatternName(const char* value) { m_patternNameHasBeenSet = true; m_patternName.assign(value); }
118 inline DeploymentData& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;}
119 inline DeploymentData& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;}
120 inline DeploymentData& WithPatternName(const char* value) { SetPatternName(value); return *this;}
122
124
127 inline const Aws::String& GetResourceGroup() const{ return m_resourceGroup; }
128 inline bool ResourceGroupHasBeenSet() const { return m_resourceGroupHasBeenSet; }
129 inline void SetResourceGroup(const Aws::String& value) { m_resourceGroupHasBeenSet = true; m_resourceGroup = value; }
130 inline void SetResourceGroup(Aws::String&& value) { m_resourceGroupHasBeenSet = true; m_resourceGroup = std::move(value); }
131 inline void SetResourceGroup(const char* value) { m_resourceGroupHasBeenSet = true; m_resourceGroup.assign(value); }
132 inline DeploymentData& WithResourceGroup(const Aws::String& value) { SetResourceGroup(value); return *this;}
133 inline DeploymentData& WithResourceGroup(Aws::String&& value) { SetResourceGroup(std::move(value)); return *this;}
134 inline DeploymentData& WithResourceGroup(const char* value) { SetResourceGroup(value); return *this;}
136
138
149 inline const Aws::Map<Aws::String, Aws::String>& GetSpecifications() const{ return m_specifications; }
150 inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; }
151 inline void SetSpecifications(const Aws::Map<Aws::String, Aws::String>& value) { m_specificationsHasBeenSet = true; m_specifications = value; }
152 inline void SetSpecifications(Aws::Map<Aws::String, Aws::String>&& value) { m_specificationsHasBeenSet = true; m_specifications = std::move(value); }
155 inline DeploymentData& AddSpecifications(const Aws::String& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; }
156 inline DeploymentData& AddSpecifications(Aws::String&& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; }
157 inline DeploymentData& AddSpecifications(const Aws::String& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; }
158 inline DeploymentData& AddSpecifications(Aws::String&& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), std::move(value)); return *this; }
159 inline DeploymentData& AddSpecifications(const char* key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; }
160 inline DeploymentData& AddSpecifications(Aws::String&& key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; }
161 inline DeploymentData& AddSpecifications(const char* key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; }
163
165
168 inline const DeploymentStatus& GetStatus() const{ return m_status; }
169 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
170 inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
171 inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
172 inline DeploymentData& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
173 inline DeploymentData& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
175
177
180 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
181 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
182 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
183 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
184 inline DeploymentData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
185 inline DeploymentData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
186 inline DeploymentData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
187 inline DeploymentData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
188 inline DeploymentData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
189 inline DeploymentData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
190 inline DeploymentData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
191 inline DeploymentData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
192 inline DeploymentData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
194
196
199 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
200 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
201 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
202 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
203 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
204 inline DeploymentData& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
205 inline DeploymentData& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
206 inline DeploymentData& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
208 private:
209
210 Aws::Utils::DateTime m_createdAt;
211 bool m_createdAtHasBeenSet = false;
212
213 Aws::Utils::DateTime m_deletedAt;
214 bool m_deletedAtHasBeenSet = false;
215
216 Aws::String m_deploymentArn;
217 bool m_deploymentArnHasBeenSet = false;
218
219 Aws::String m_id;
220 bool m_idHasBeenSet = false;
221
222 Aws::String m_name;
223 bool m_nameHasBeenSet = false;
224
225 Aws::String m_patternName;
226 bool m_patternNameHasBeenSet = false;
227
228 Aws::String m_resourceGroup;
229 bool m_resourceGroupHasBeenSet = false;
230
231 Aws::Map<Aws::String, Aws::String> m_specifications;
232 bool m_specificationsHasBeenSet = false;
233
234 DeploymentStatus m_status;
235 bool m_statusHasBeenSet = false;
236
238 bool m_tagsHasBeenSet = false;
239
240 Aws::String m_workloadName;
241 bool m_workloadNameHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace LaunchWizard
246} // namespace Aws
DeploymentData & AddSpecifications(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DeploymentData & WithCreatedAt(const Aws::Utils::DateTime &value)
DeploymentData & AddTags(Aws::String &&key, const char *value)
DeploymentData & WithDeploymentArn(const char *value)
DeploymentData & WithDeploymentArn(const Aws::String &value)
void SetStatus(const DeploymentStatus &value)
DeploymentData & WithWorkloadName(const Aws::String &value)
const DeploymentStatus & GetStatus() const
void SetDeletedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetResourceGroup() const
DeploymentData & AddSpecifications(const Aws::String &key, Aws::String &&value)
DeploymentData & WithResourceGroup(const Aws::String &value)
void SetSpecifications(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LAUNCHWIZARD_API DeploymentData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPatternName(const Aws::String &value)
const Aws::String & GetWorkloadName() const
void SetDeploymentArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetDeletedAt() const
void SetWorkloadName(const Aws::String &value)
DeploymentData & WithPatternName(Aws::String &&value)
DeploymentData & WithId(Aws::String &&value)
void SetDeploymentArn(Aws::String &&value)
DeploymentData & WithResourceGroup(const char *value)
DeploymentData & AddSpecifications(const char *key, const char *value)
DeploymentData & WithDeletedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetPatternName() const
DeploymentData & WithWorkloadName(const char *value)
DeploymentData & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetSpecifications() const
DeploymentData & WithId(const char *value)
void SetId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DeploymentData & WithResourceGroup(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DeploymentData & WithSpecifications(Aws::Map< Aws::String, Aws::String > &&value)
DeploymentData & WithStatus(DeploymentStatus &&value)
DeploymentData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DeploymentData & WithSpecifications(const Aws::Map< Aws::String, Aws::String > &value)
DeploymentData & AddTags(const char *key, const char *value)
void SetResourceGroup(const Aws::String &value)
DeploymentData & AddSpecifications(Aws::String &&key, const char *value)
DeploymentData & AddTags(Aws::String &&key, const Aws::String &value)
DeploymentData & AddSpecifications(const char *key, Aws::String &&value)
DeploymentData & AddTags(const char *key, Aws::String &&value)
DeploymentData & AddSpecifications(Aws::String &&key, const Aws::String &value)
DeploymentData & AddTags(Aws::String &&key, Aws::String &&value)
DeploymentData & WithId(const Aws::String &value)
const Aws::String & GetId() const
DeploymentData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetResourceGroup(Aws::String &&value)
DeploymentData & AddSpecifications(Aws::String &&key, Aws::String &&value)
DeploymentData & WithDeploymentArn(Aws::String &&value)
void SetStatus(DeploymentStatus &&value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAUNCHWIZARD_API DeploymentData(Aws::Utils::Json::JsonView jsonValue)
DeploymentData & WithPatternName(const char *value)
DeploymentData & WithPatternName(const Aws::String &value)
void SetName(const Aws::String &value)
void SetPatternName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DeploymentData & WithName(Aws::String &&value)
DeploymentData & AddTags(const Aws::String &key, Aws::String &&value)
DeploymentData & WithWorkloadName(Aws::String &&value)
const Aws::String & GetDeploymentArn() const
DeploymentData & WithDeletedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetSpecifications(Aws::Map< Aws::String, Aws::String > &&value)
void SetDeletedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
DeploymentData & WithName(const Aws::String &value)
DeploymentData & AddTags(const Aws::String &key, const Aws::String &value)
DeploymentData & WithName(const char *value)
void SetWorkloadName(Aws::String &&value)
DeploymentData & WithStatus(const DeploymentStatus &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