AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DeploymentDataSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
10#include <aws/launch-wizard/model/DeploymentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LaunchWizard {
22namespace Model {
23
30 public:
31 AWS_LAUNCHWIZARD_API DeploymentDataSummary() = default;
32 AWS_LAUNCHWIZARD_API DeploymentDataSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
77 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
78 template <typename WorkloadNameT = Aws::String>
79 void SetWorkloadName(WorkloadNameT&& value) {
80 m_workloadNameHasBeenSet = true;
81 m_workloadName = std::forward<WorkloadNameT>(value);
82 }
83 template <typename WorkloadNameT = Aws::String>
84 DeploymentDataSummary& WithWorkloadName(WorkloadNameT&& value) {
85 SetWorkloadName(std::forward<WorkloadNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetPatternName() const { return m_patternName; }
95 inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
96 template <typename PatternNameT = Aws::String>
97 void SetPatternName(PatternNameT&& value) {
98 m_patternNameHasBeenSet = true;
99 m_patternName = std::forward<PatternNameT>(value);
100 }
101 template <typename PatternNameT = Aws::String>
102 DeploymentDataSummary& WithPatternName(PatternNameT&& value) {
103 SetPatternName(std::forward<PatternNameT>(value));
104 return *this;
105 }
107
109
112 inline DeploymentStatus GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(DeploymentStatus value) {
115 m_statusHasBeenSet = true;
116 m_status = value;
117 }
119 SetStatus(value);
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
129 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
130 template <typename CreatedAtT = Aws::Utils::DateTime>
131 void SetCreatedAt(CreatedAtT&& value) {
132 m_createdAtHasBeenSet = true;
133 m_createdAt = std::forward<CreatedAtT>(value);
134 }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
137 SetCreatedAt(std::forward<CreatedAtT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
147 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
148 template <typename ModifiedAtT = Aws::Utils::DateTime>
149 void SetModifiedAt(ModifiedAtT&& value) {
150 m_modifiedAtHasBeenSet = true;
151 m_modifiedAt = std::forward<ModifiedAtT>(value);
152 }
153 template <typename ModifiedAtT = Aws::Utils::DateTime>
154 DeploymentDataSummary& WithModifiedAt(ModifiedAtT&& value) {
155 SetModifiedAt(std::forward<ModifiedAtT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_name;
161
162 Aws::String m_id;
163
164 Aws::String m_workloadName;
165
166 Aws::String m_patternName;
167
169
170 Aws::Utils::DateTime m_createdAt{};
171
172 Aws::Utils::DateTime m_modifiedAt{};
173 bool m_nameHasBeenSet = false;
174 bool m_idHasBeenSet = false;
175 bool m_workloadNameHasBeenSet = false;
176 bool m_patternNameHasBeenSet = false;
177 bool m_statusHasBeenSet = false;
178 bool m_createdAtHasBeenSet = false;
179 bool m_modifiedAtHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace LaunchWizard
184} // namespace Aws
DeploymentDataSummary & WithId(IdT &&value)
DeploymentDataSummary & WithModifiedAt(ModifiedAtT &&value)
DeploymentDataSummary & WithPatternName(PatternNameT &&value)
DeploymentDataSummary & WithStatus(DeploymentStatus value)
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_LAUNCHWIZARD_API DeploymentDataSummary()=default
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentDataSummary & WithCreatedAt(CreatedAtT &&value)
DeploymentDataSummary & WithWorkloadName(WorkloadNameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LAUNCHWIZARD_API DeploymentDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAUNCHWIZARD_API DeploymentDataSummary(Aws::Utils::Json::JsonView jsonValue)
DeploymentDataSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue