AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkloadDeploymentPatternData.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/launch-wizard/model/WorkloadDeploymentPatternStatus.h>
11#include <aws/launch-wizard/model/DeploymentSpecificationsField.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
36 {
37 public:
38 AWS_LAUNCHWIZARD_API WorkloadDeploymentPatternData();
41 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDeploymentPatternName() const{ return m_deploymentPatternName; }
49 inline bool DeploymentPatternNameHasBeenSet() const { return m_deploymentPatternNameHasBeenSet; }
50 inline void SetDeploymentPatternName(const Aws::String& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = value; }
51 inline void SetDeploymentPatternName(Aws::String&& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = std::move(value); }
52 inline void SetDeploymentPatternName(const char* value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName.assign(value); }
55 inline WorkloadDeploymentPatternData& WithDeploymentPatternName(const char* value) { SetDeploymentPatternName(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline WorkloadDeploymentPatternData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline WorkloadDeploymentPatternData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline WorkloadDeploymentPatternData& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
76 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
79 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
80 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
81 inline WorkloadDeploymentPatternData& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
82 inline WorkloadDeploymentPatternData& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
83 inline WorkloadDeploymentPatternData& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
85
87
98 inline const Aws::Vector<DeploymentSpecificationsField>& GetSpecifications() const{ return m_specifications; }
99 inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; }
100 inline void SetSpecifications(const Aws::Vector<DeploymentSpecificationsField>& value) { m_specificationsHasBeenSet = true; m_specifications = value; }
101 inline void SetSpecifications(Aws::Vector<DeploymentSpecificationsField>&& value) { m_specificationsHasBeenSet = true; m_specifications = std::move(value); }
104 inline WorkloadDeploymentPatternData& AddSpecifications(const DeploymentSpecificationsField& value) { m_specificationsHasBeenSet = true; m_specifications.push_back(value); return *this; }
105 inline WorkloadDeploymentPatternData& AddSpecifications(DeploymentSpecificationsField&& value) { m_specificationsHasBeenSet = true; m_specifications.push_back(std::move(value)); return *this; }
107
109
112 inline const WorkloadDeploymentPatternStatus& GetStatus() const{ return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(const WorkloadDeploymentPatternStatus& value) { m_statusHasBeenSet = true; m_status = value; }
115 inline void SetStatus(WorkloadDeploymentPatternStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
117 inline WorkloadDeploymentPatternData& WithStatus(WorkloadDeploymentPatternStatus&& value) { SetStatus(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
125 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
126 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
127 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
128 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
130 inline WorkloadDeploymentPatternData& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
131 inline WorkloadDeploymentPatternData& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
133
135
138 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
139 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
140 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
141 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
142 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
143 inline WorkloadDeploymentPatternData& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
144 inline WorkloadDeploymentPatternData& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
145 inline WorkloadDeploymentPatternData& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
147
149
152 inline const Aws::String& GetWorkloadVersionName() const{ return m_workloadVersionName; }
153 inline bool WorkloadVersionNameHasBeenSet() const { return m_workloadVersionNameHasBeenSet; }
154 inline void SetWorkloadVersionName(const Aws::String& value) { m_workloadVersionNameHasBeenSet = true; m_workloadVersionName = value; }
155 inline void SetWorkloadVersionName(Aws::String&& value) { m_workloadVersionNameHasBeenSet = true; m_workloadVersionName = std::move(value); }
156 inline void SetWorkloadVersionName(const char* value) { m_workloadVersionNameHasBeenSet = true; m_workloadVersionName.assign(value); }
159 inline WorkloadDeploymentPatternData& WithWorkloadVersionName(const char* value) { SetWorkloadVersionName(value); return *this;}
161 private:
162
163 Aws::String m_deploymentPatternName;
164 bool m_deploymentPatternNameHasBeenSet = false;
165
166 Aws::String m_description;
167 bool m_descriptionHasBeenSet = false;
168
169 Aws::String m_displayName;
170 bool m_displayNameHasBeenSet = false;
171
173 bool m_specificationsHasBeenSet = false;
174
176 bool m_statusHasBeenSet = false;
177
178 Aws::String m_statusMessage;
179 bool m_statusMessageHasBeenSet = false;
180
181 Aws::String m_workloadName;
182 bool m_workloadNameHasBeenSet = false;
183
184 Aws::String m_workloadVersionName;
185 bool m_workloadVersionNameHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace LaunchWizard
190} // namespace Aws
WorkloadDeploymentPatternData & WithDisplayName(const Aws::String &value)
void SetSpecifications(Aws::Vector< DeploymentSpecificationsField > &&value)
void SetSpecifications(const Aws::Vector< DeploymentSpecificationsField > &value)
WorkloadDeploymentPatternData & WithStatus(WorkloadDeploymentPatternStatus &&value)
WorkloadDeploymentPatternData & WithDescription(Aws::String &&value)
WorkloadDeploymentPatternData & WithStatus(const WorkloadDeploymentPatternStatus &value)
WorkloadDeploymentPatternData & WithDisplayName(const char *value)
WorkloadDeploymentPatternData & WithWorkloadVersionName(const char *value)
WorkloadDeploymentPatternData & WithStatusMessage(const char *value)
WorkloadDeploymentPatternData & WithStatusMessage(const Aws::String &value)
WorkloadDeploymentPatternData & WithDescription(const Aws::String &value)
const WorkloadDeploymentPatternStatus & GetStatus() const
WorkloadDeploymentPatternData & WithWorkloadVersionName(Aws::String &&value)
WorkloadDeploymentPatternData & WithDeploymentPatternName(const Aws::String &value)
WorkloadDeploymentPatternData & AddSpecifications(const DeploymentSpecificationsField &value)
void SetStatus(const WorkloadDeploymentPatternStatus &value)
const Aws::Vector< DeploymentSpecificationsField > & GetSpecifications() const
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
WorkloadDeploymentPatternData & WithWorkloadVersionName(const Aws::String &value)
WorkloadDeploymentPatternData & WithStatusMessage(Aws::String &&value)
WorkloadDeploymentPatternData & AddSpecifications(DeploymentSpecificationsField &&value)
WorkloadDeploymentPatternData & WithWorkloadName(Aws::String &&value)
WorkloadDeploymentPatternData & WithDeploymentPatternName(Aws::String &&value)
WorkloadDeploymentPatternData & WithWorkloadName(const char *value)
WorkloadDeploymentPatternData & WithSpecifications(Aws::Vector< DeploymentSpecificationsField > &&value)
WorkloadDeploymentPatternData & WithDeploymentPatternName(const char *value)
WorkloadDeploymentPatternData & WithWorkloadName(const Aws::String &value)
WorkloadDeploymentPatternData & WithDescription(const char *value)
AWS_LAUNCHWIZARD_API WorkloadDeploymentPatternData(Aws::Utils::Json::JsonView jsonValue)
WorkloadDeploymentPatternData & WithDisplayName(Aws::String &&value)
AWS_LAUNCHWIZARD_API WorkloadDeploymentPatternData & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkloadDeploymentPatternData & WithSpecifications(const Aws::Vector< DeploymentSpecificationsField > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue