AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename CreatedAtT = Aws::Utils::DateTime>
50 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 DeploymentData& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(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 template<typename DeletedAtT = Aws::Utils::DateTime>
62 void SetDeletedAt(DeletedAtT&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::forward<DeletedAtT>(value); }
63 template<typename DeletedAtT = Aws::Utils::DateTime>
64 DeploymentData& WithDeletedAt(DeletedAtT&& value) { SetDeletedAt(std::forward<DeletedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDeploymentArn() const { return m_deploymentArn; }
72 inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
73 template<typename DeploymentArnT = Aws::String>
74 void SetDeploymentArn(DeploymentArnT&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::forward<DeploymentArnT>(value); }
75 template<typename DeploymentArnT = Aws::String>
76 DeploymentData& WithDeploymentArn(DeploymentArnT&& value) { SetDeploymentArn(std::forward<DeploymentArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetId() const { return m_id; }
84 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
85 template<typename IdT = Aws::String>
86 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
87 template<typename IdT = Aws::String>
88 DeploymentData& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 template<typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
99 template<typename NameT = Aws::String>
100 DeploymentData& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
102
104
107 inline const Aws::String& GetPatternName() const { return m_patternName; }
108 inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
109 template<typename PatternNameT = Aws::String>
110 void SetPatternName(PatternNameT&& value) { m_patternNameHasBeenSet = true; m_patternName = std::forward<PatternNameT>(value); }
111 template<typename PatternNameT = Aws::String>
112 DeploymentData& WithPatternName(PatternNameT&& value) { SetPatternName(std::forward<PatternNameT>(value)); return *this;}
114
116
119 inline const Aws::String& GetResourceGroup() const { return m_resourceGroup; }
120 inline bool ResourceGroupHasBeenSet() const { return m_resourceGroupHasBeenSet; }
121 template<typename ResourceGroupT = Aws::String>
122 void SetResourceGroup(ResourceGroupT&& value) { m_resourceGroupHasBeenSet = true; m_resourceGroup = std::forward<ResourceGroupT>(value); }
123 template<typename ResourceGroupT = Aws::String>
124 DeploymentData& WithResourceGroup(ResourceGroupT&& value) { SetResourceGroup(std::forward<ResourceGroupT>(value)); return *this;}
126
128
139 inline const Aws::Map<Aws::String, Aws::String>& GetSpecifications() const { return m_specifications; }
140 inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; }
141 template<typename SpecificationsT = Aws::Map<Aws::String, Aws::String>>
142 void SetSpecifications(SpecificationsT&& value) { m_specificationsHasBeenSet = true; m_specifications = std::forward<SpecificationsT>(value); }
143 template<typename SpecificationsT = Aws::Map<Aws::String, Aws::String>>
144 DeploymentData& WithSpecifications(SpecificationsT&& value) { SetSpecifications(std::forward<SpecificationsT>(value)); return *this;}
145 template<typename SpecificationsKeyT = Aws::String, typename SpecificationsValueT = Aws::String>
146 DeploymentData& AddSpecifications(SpecificationsKeyT&& key, SpecificationsValueT&& value) {
147 m_specificationsHasBeenSet = true; m_specifications.emplace(std::forward<SpecificationsKeyT>(key), std::forward<SpecificationsValueT>(value)); return *this;
148 }
150
152
155 inline DeploymentStatus GetStatus() const { return m_status; }
156 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
157 inline void SetStatus(DeploymentStatus value) { m_statusHasBeenSet = true; m_status = value; }
158 inline DeploymentData& WithStatus(DeploymentStatus value) { SetStatus(value); return *this;}
160
162
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
166 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
167 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
169 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 DeploymentData& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
171 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
172 DeploymentData& AddTags(TagsKeyT&& key, TagsValueT&& value) {
173 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
174 }
176
178
181 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
182 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
183 template<typename WorkloadNameT = Aws::String>
184 void SetWorkloadName(WorkloadNameT&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::forward<WorkloadNameT>(value); }
185 template<typename WorkloadNameT = Aws::String>
186 DeploymentData& WithWorkloadName(WorkloadNameT&& value) { SetWorkloadName(std::forward<WorkloadNameT>(value)); return *this;}
188 private:
189
190 Aws::Utils::DateTime m_createdAt{};
191 bool m_createdAtHasBeenSet = false;
192
193 Aws::Utils::DateTime m_deletedAt{};
194 bool m_deletedAtHasBeenSet = false;
195
196 Aws::String m_deploymentArn;
197 bool m_deploymentArnHasBeenSet = false;
198
199 Aws::String m_id;
200 bool m_idHasBeenSet = false;
201
202 Aws::String m_name;
203 bool m_nameHasBeenSet = false;
204
205 Aws::String m_patternName;
206 bool m_patternNameHasBeenSet = false;
207
208 Aws::String m_resourceGroup;
209 bool m_resourceGroupHasBeenSet = false;
210
211 Aws::Map<Aws::String, Aws::String> m_specifications;
212 bool m_specificationsHasBeenSet = false;
213
215 bool m_statusHasBeenSet = false;
216
218 bool m_tagsHasBeenSet = false;
219
220 Aws::String m_workloadName;
221 bool m_workloadNameHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace LaunchWizard
226} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DeploymentData & WithId(IdT &&value)
void SetResourceGroup(ResourceGroupT &&value)
DeploymentData & WithPatternName(PatternNameT &&value)
DeploymentData & WithDeploymentArn(DeploymentArnT &&value)
DeploymentData & WithName(NameT &&value)
const Aws::String & GetResourceGroup() const
DeploymentData & WithCreatedAt(CreatedAtT &&value)
DeploymentData & WithDeletedAt(DeletedAtT &&value)
AWS_LAUNCHWIZARD_API DeploymentData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkloadName() const
const Aws::Utils::DateTime & GetDeletedAt() const
AWS_LAUNCHWIZARD_API DeploymentData()=default
void SetSpecifications(SpecificationsT &&value)
void SetStatus(DeploymentStatus value)
const Aws::String & GetPatternName() const
const Aws::Map< Aws::String, Aws::String > & GetSpecifications() const
void SetPatternName(PatternNameT &&value)
DeploymentData & WithWorkloadName(WorkloadNameT &&value)
DeploymentData & WithStatus(DeploymentStatus value)
const Aws::String & GetId() const
DeploymentData & AddSpecifications(SpecificationsKeyT &&key, SpecificationsValueT &&value)
DeploymentData & WithTags(TagsT &&value)
DeploymentData & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetWorkloadName(WorkloadNameT &&value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAUNCHWIZARD_API DeploymentData(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
DeploymentData & WithSpecifications(SpecificationsT &&value)
const Aws::String & GetDeploymentArn() const
const Aws::String & GetName() const
void SetDeploymentArn(DeploymentArnT &&value)
DeploymentData & WithResourceGroup(ResourceGroupT &&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