AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkloadData.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/launch-wizard/model/WorkloadStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LaunchWizard
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LAUNCHWIZARD_API WorkloadData();
36 AWS_LAUNCHWIZARD_API WorkloadData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAUNCHWIZARD_API WorkloadData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDescription() const{ return m_description; }
46 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
48 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
49 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
50 inline WorkloadData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
51 inline WorkloadData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
52 inline WorkloadData& WithDescription(const char* value) { SetDescription(value); return *this;}
54
56
59 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
60 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
61 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
62 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
63 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
64 inline WorkloadData& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
65 inline WorkloadData& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
66 inline WorkloadData& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
68
70
73 inline const Aws::String& GetDocumentationUrl() const{ return m_documentationUrl; }
74 inline bool DocumentationUrlHasBeenSet() const { return m_documentationUrlHasBeenSet; }
75 inline void SetDocumentationUrl(const Aws::String& value) { m_documentationUrlHasBeenSet = true; m_documentationUrl = value; }
76 inline void SetDocumentationUrl(Aws::String&& value) { m_documentationUrlHasBeenSet = true; m_documentationUrl = std::move(value); }
77 inline void SetDocumentationUrl(const char* value) { m_documentationUrlHasBeenSet = true; m_documentationUrl.assign(value); }
78 inline WorkloadData& WithDocumentationUrl(const Aws::String& value) { SetDocumentationUrl(value); return *this;}
79 inline WorkloadData& WithDocumentationUrl(Aws::String&& value) { SetDocumentationUrl(std::move(value)); return *this;}
80 inline WorkloadData& WithDocumentationUrl(const char* value) { SetDocumentationUrl(value); return *this;}
82
84
87 inline const Aws::String& GetIconUrl() const{ return m_iconUrl; }
88 inline bool IconUrlHasBeenSet() const { return m_iconUrlHasBeenSet; }
89 inline void SetIconUrl(const Aws::String& value) { m_iconUrlHasBeenSet = true; m_iconUrl = value; }
90 inline void SetIconUrl(Aws::String&& value) { m_iconUrlHasBeenSet = true; m_iconUrl = std::move(value); }
91 inline void SetIconUrl(const char* value) { m_iconUrlHasBeenSet = true; m_iconUrl.assign(value); }
92 inline WorkloadData& WithIconUrl(const Aws::String& value) { SetIconUrl(value); return *this;}
93 inline WorkloadData& WithIconUrl(Aws::String&& value) { SetIconUrl(std::move(value)); return *this;}
94 inline WorkloadData& WithIconUrl(const char* value) { SetIconUrl(value); return *this;}
96
98
101 inline const WorkloadStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const WorkloadStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(WorkloadStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline WorkloadData& WithStatus(const WorkloadStatus& value) { SetStatus(value); return *this;}
106 inline WorkloadData& WithStatus(WorkloadStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
114 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
115 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
116 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
117 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
118 inline WorkloadData& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
119 inline WorkloadData& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
120 inline WorkloadData& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
122
124
127 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
128 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
129 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
130 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
131 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
132 inline WorkloadData& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
133 inline WorkloadData& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
134 inline WorkloadData& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
136 private:
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::String m_displayName;
142 bool m_displayNameHasBeenSet = false;
143
144 Aws::String m_documentationUrl;
145 bool m_documentationUrlHasBeenSet = false;
146
147 Aws::String m_iconUrl;
148 bool m_iconUrlHasBeenSet = false;
149
150 WorkloadStatus m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::String m_statusMessage;
154 bool m_statusMessageHasBeenSet = false;
155
156 Aws::String m_workloadName;
157 bool m_workloadNameHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace LaunchWizard
162} // namespace Aws
AWS_LAUNCHWIZARD_API WorkloadData()
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWorkloadName(const char *value)
void SetWorkloadName(Aws::String &&value)
WorkloadData & WithIconUrl(const Aws::String &value)
WorkloadData & WithStatusMessage(const char *value)
WorkloadData & WithDocumentationUrl(const char *value)
const Aws::String & GetDisplayName() const
void SetDescription(const char *value)
WorkloadData & WithWorkloadName(Aws::String &&value)
void SetStatus(const WorkloadStatus &value)
WorkloadData & WithDescription(const char *value)
void SetStatusMessage(const Aws::String &value)
const Aws::String & GetIconUrl() const
AWS_LAUNCHWIZARD_API WorkloadData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWorkloadName(const Aws::String &value)
WorkloadData & WithDocumentationUrl(Aws::String &&value)
void SetDocumentationUrl(const char *value)
void SetIconUrl(const char *value)
void SetStatusMessage(const char *value)
WorkloadData & WithStatusMessage(Aws::String &&value)
WorkloadData & WithWorkloadName(const Aws::String &value)
void SetDocumentationUrl(Aws::String &&value)
WorkloadData & WithDescription(Aws::String &&value)
void SetIconUrl(const Aws::String &value)
WorkloadData & WithDisplayName(Aws::String &&value)
void SetDisplayName(const char *value)
const Aws::String & GetWorkloadName() const
WorkloadData & WithDisplayName(const char *value)
WorkloadData & WithIconUrl(Aws::String &&value)
WorkloadData & WithWorkloadName(const char *value)
WorkloadData & WithIconUrl(const char *value)
WorkloadData & WithStatusMessage(const Aws::String &value)
WorkloadData & WithDisplayName(const Aws::String &value)
void SetStatus(WorkloadStatus &&value)
void SetDisplayName(const Aws::String &value)
WorkloadData & WithStatus(const WorkloadStatus &value)
WorkloadData & WithDescription(const Aws::String &value)
const Aws::String & GetDocumentationUrl() const
void SetIconUrl(Aws::String &&value)
WorkloadData & WithStatus(WorkloadStatus &&value)
void SetStatusMessage(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_LAUNCHWIZARD_API WorkloadData(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentationUrl(const Aws::String &value)
WorkloadData & WithDocumentationUrl(const Aws::String &value)
const Aws::String & GetStatusMessage() const
const Aws::String & GetDescription() const
const WorkloadStatus & GetStatus() const
void SetDescription(Aws::String &&value)
void SetDisplayName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue