AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/appstream/model/S3Location.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/appstream/model/PlatformType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace AppStream
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_APPSTREAM_API Application();
41 AWS_APPSTREAM_API Application(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPSTREAM_API Application& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline Application& WithName(const char* value) { SetName(value); return *this;}
59
61
64 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
65 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
66 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
67 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
68 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
69 inline Application& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
70 inline Application& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
71 inline Application& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
73
75
78 inline const Aws::String& GetIconURL() const{ return m_iconURL; }
79 inline bool IconURLHasBeenSet() const { return m_iconURLHasBeenSet; }
80 inline void SetIconURL(const Aws::String& value) { m_iconURLHasBeenSet = true; m_iconURL = value; }
81 inline void SetIconURL(Aws::String&& value) { m_iconURLHasBeenSet = true; m_iconURL = std::move(value); }
82 inline void SetIconURL(const char* value) { m_iconURLHasBeenSet = true; m_iconURL.assign(value); }
83 inline Application& WithIconURL(const Aws::String& value) { SetIconURL(value); return *this;}
84 inline Application& WithIconURL(Aws::String&& value) { SetIconURL(std::move(value)); return *this;}
85 inline Application& WithIconURL(const char* value) { SetIconURL(value); return *this;}
87
89
92 inline const Aws::String& GetLaunchPath() const{ return m_launchPath; }
93 inline bool LaunchPathHasBeenSet() const { return m_launchPathHasBeenSet; }
94 inline void SetLaunchPath(const Aws::String& value) { m_launchPathHasBeenSet = true; m_launchPath = value; }
95 inline void SetLaunchPath(Aws::String&& value) { m_launchPathHasBeenSet = true; m_launchPath = std::move(value); }
96 inline void SetLaunchPath(const char* value) { m_launchPathHasBeenSet = true; m_launchPath.assign(value); }
97 inline Application& WithLaunchPath(const Aws::String& value) { SetLaunchPath(value); return *this;}
98 inline Application& WithLaunchPath(Aws::String&& value) { SetLaunchPath(std::move(value)); return *this;}
99 inline Application& WithLaunchPath(const char* value) { SetLaunchPath(value); return *this;}
101
103
106 inline const Aws::String& GetLaunchParameters() const{ return m_launchParameters; }
107 inline bool LaunchParametersHasBeenSet() const { return m_launchParametersHasBeenSet; }
108 inline void SetLaunchParameters(const Aws::String& value) { m_launchParametersHasBeenSet = true; m_launchParameters = value; }
109 inline void SetLaunchParameters(Aws::String&& value) { m_launchParametersHasBeenSet = true; m_launchParameters = std::move(value); }
110 inline void SetLaunchParameters(const char* value) { m_launchParametersHasBeenSet = true; m_launchParameters.assign(value); }
111 inline Application& WithLaunchParameters(const Aws::String& value) { SetLaunchParameters(value); return *this;}
112 inline Application& WithLaunchParameters(Aws::String&& value) { SetLaunchParameters(std::move(value)); return *this;}
113 inline Application& WithLaunchParameters(const char* value) { SetLaunchParameters(value); return *this;}
115
117
121 inline bool GetEnabled() const{ return m_enabled; }
122 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
123 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
124 inline Application& WithEnabled(bool value) { SetEnabled(value); return *this;}
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
132 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
133 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
134 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
135 inline Application& WithMetadata(const Aws::Map<Aws::String, Aws::String>& value) { SetMetadata(value); return *this;}
136 inline Application& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
137 inline Application& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
138 inline Application& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
139 inline Application& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
140 inline Application& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
141 inline Application& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
142 inline Application& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
143 inline Application& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
145
147
150 inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; }
151 inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; }
152 inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; }
153 inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); }
154 inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); }
155 inline Application& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;}
156 inline Application& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;}
157 inline Application& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;}
159
161
164 inline const Aws::String& GetDescription() const{ return m_description; }
165 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
166 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
167 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
168 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
169 inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
170 inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
171 inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
173
175
178 inline const Aws::String& GetArn() const{ return m_arn; }
179 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
180 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
181 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
182 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
183 inline Application& WithArn(const Aws::String& value) { SetArn(value); return *this;}
184 inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
185 inline Application& WithArn(const char* value) { SetArn(value); return *this;}
187
189
192 inline const Aws::String& GetAppBlockArn() const{ return m_appBlockArn; }
193 inline bool AppBlockArnHasBeenSet() const { return m_appBlockArnHasBeenSet; }
194 inline void SetAppBlockArn(const Aws::String& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = value; }
195 inline void SetAppBlockArn(Aws::String&& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = std::move(value); }
196 inline void SetAppBlockArn(const char* value) { m_appBlockArnHasBeenSet = true; m_appBlockArn.assign(value); }
197 inline Application& WithAppBlockArn(const Aws::String& value) { SetAppBlockArn(value); return *this;}
198 inline Application& WithAppBlockArn(Aws::String&& value) { SetAppBlockArn(std::move(value)); return *this;}
199 inline Application& WithAppBlockArn(const char* value) { SetAppBlockArn(value); return *this;}
201
203
206 inline const S3Location& GetIconS3Location() const{ return m_iconS3Location; }
207 inline bool IconS3LocationHasBeenSet() const { return m_iconS3LocationHasBeenSet; }
208 inline void SetIconS3Location(const S3Location& value) { m_iconS3LocationHasBeenSet = true; m_iconS3Location = value; }
209 inline void SetIconS3Location(S3Location&& value) { m_iconS3LocationHasBeenSet = true; m_iconS3Location = std::move(value); }
210 inline Application& WithIconS3Location(const S3Location& value) { SetIconS3Location(value); return *this;}
211 inline Application& WithIconS3Location(S3Location&& value) { SetIconS3Location(std::move(value)); return *this;}
213
215
218 inline const Aws::Vector<PlatformType>& GetPlatforms() const{ return m_platforms; }
219 inline bool PlatformsHasBeenSet() const { return m_platformsHasBeenSet; }
220 inline void SetPlatforms(const Aws::Vector<PlatformType>& value) { m_platformsHasBeenSet = true; m_platforms = value; }
221 inline void SetPlatforms(Aws::Vector<PlatformType>&& value) { m_platformsHasBeenSet = true; m_platforms = std::move(value); }
222 inline Application& WithPlatforms(const Aws::Vector<PlatformType>& value) { SetPlatforms(value); return *this;}
223 inline Application& WithPlatforms(Aws::Vector<PlatformType>&& value) { SetPlatforms(std::move(value)); return *this;}
224 inline Application& AddPlatforms(const PlatformType& value) { m_platformsHasBeenSet = true; m_platforms.push_back(value); return *this; }
225 inline Application& AddPlatforms(PlatformType&& value) { m_platformsHasBeenSet = true; m_platforms.push_back(std::move(value)); return *this; }
227
229
232 inline const Aws::Vector<Aws::String>& GetInstanceFamilies() const{ return m_instanceFamilies; }
233 inline bool InstanceFamiliesHasBeenSet() const { return m_instanceFamiliesHasBeenSet; }
234 inline void SetInstanceFamilies(const Aws::Vector<Aws::String>& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies = value; }
235 inline void SetInstanceFamilies(Aws::Vector<Aws::String>&& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies = std::move(value); }
237 inline Application& WithInstanceFamilies(Aws::Vector<Aws::String>&& value) { SetInstanceFamilies(std::move(value)); return *this;}
238 inline Application& AddInstanceFamilies(const Aws::String& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(value); return *this; }
239 inline Application& AddInstanceFamilies(Aws::String&& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(std::move(value)); return *this; }
240 inline Application& AddInstanceFamilies(const char* value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(value); return *this; }
242
244
247 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
248 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
249 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
250 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
251 inline Application& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
252 inline Application& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
254 private:
255
256 Aws::String m_name;
257 bool m_nameHasBeenSet = false;
258
259 Aws::String m_displayName;
260 bool m_displayNameHasBeenSet = false;
261
262 Aws::String m_iconURL;
263 bool m_iconURLHasBeenSet = false;
264
265 Aws::String m_launchPath;
266 bool m_launchPathHasBeenSet = false;
267
268 Aws::String m_launchParameters;
269 bool m_launchParametersHasBeenSet = false;
270
271 bool m_enabled;
272 bool m_enabledHasBeenSet = false;
273
275 bool m_metadataHasBeenSet = false;
276
277 Aws::String m_workingDirectory;
278 bool m_workingDirectoryHasBeenSet = false;
279
280 Aws::String m_description;
281 bool m_descriptionHasBeenSet = false;
282
283 Aws::String m_arn;
284 bool m_arnHasBeenSet = false;
285
286 Aws::String m_appBlockArn;
287 bool m_appBlockArnHasBeenSet = false;
288
289 S3Location m_iconS3Location;
290 bool m_iconS3LocationHasBeenSet = false;
291
292 Aws::Vector<PlatformType> m_platforms;
293 bool m_platformsHasBeenSet = false;
294
295 Aws::Vector<Aws::String> m_instanceFamilies;
296 bool m_instanceFamiliesHasBeenSet = false;
297
298 Aws::Utils::DateTime m_createdTime;
299 bool m_createdTimeHasBeenSet = false;
300 };
301
302} // namespace Model
303} // namespace AppStream
304} // namespace Aws
void SetDescription(const Aws::String &value)
const Aws::String & GetAppBlockArn() const
Application & AddMetadata(const Aws::String &key, const Aws::String &value)
Application & WithLaunchPath(const Aws::String &value)
Definition Application.h:97
void SetIconS3Location(S3Location &&value)
const Aws::Vector< PlatformType > & GetPlatforms() const
void SetDescription(Aws::String &&value)
void SetIconURL(Aws::String &&value)
Definition Application.h:81
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
Application & WithWorkingDirectory(const Aws::String &value)
Application & AddMetadata(Aws::String &&key, Aws::String &&value)
Application & AddInstanceFamilies(Aws::String &&value)
Application & WithInstanceFamilies(const Aws::Vector< Aws::String > &value)
void SetWorkingDirectory(const char *value)
Application & WithName(Aws::String &&value)
Definition Application.h:56
void SetArn(const Aws::String &value)
void SetLaunchParameters(Aws::String &&value)
void SetIconURL(const char *value)
Definition Application.h:82
void SetLaunchPath(const Aws::String &value)
Definition Application.h:94
void SetLaunchPath(const char *value)
Definition Application.h:96
void SetName(const Aws::String &value)
Definition Application.h:52
Application & WithIconURL(const Aws::String &value)
Definition Application.h:83
Application & AddInstanceFamilies(const Aws::String &value)
void SetInstanceFamilies(Aws::Vector< Aws::String > &&value)
void SetPlatforms(const Aws::Vector< PlatformType > &value)
AWS_APPSTREAM_API Application(Aws::Utils::Json::JsonView jsonValue)
Application & WithArn(const Aws::String &value)
Application & WithIconURL(const char *value)
Definition Application.h:85
Application & WithLaunchParameters(const char *value)
Application & WithPlatforms(const Aws::Vector< PlatformType > &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetDisplayName(const char *value)
Definition Application.h:68
void SetLaunchParameters(const char *value)
const Aws::String & GetName() const
Definition Application.h:50
void SetDisplayName(const Aws::String &value)
Definition Application.h:66
Application & WithLaunchPath(const char *value)
Definition Application.h:99
Application & WithDescription(const char *value)
Application & AddInstanceFamilies(const char *value)
Application & WithInstanceFamilies(Aws::Vector< Aws::String > &&value)
Application & WithCreatedTime(const Aws::Utils::DateTime &value)
Application & WithName(const char *value)
Definition Application.h:57
Application & WithDescription(const Aws::String &value)
Application & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
Application & WithAppBlockArn(Aws::String &&value)
void SetLaunchPath(Aws::String &&value)
Definition Application.h:95
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetAppBlockArn(const char *value)
void SetWorkingDirectory(Aws::String &&value)
Application & WithWorkingDirectory(Aws::String &&value)
Application & AddMetadata(const Aws::String &key, Aws::String &&value)
Application & WithWorkingDirectory(const char *value)
void SetPlatforms(Aws::Vector< PlatformType > &&value)
Application & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetWorkingDirectory(const Aws::String &value)
void SetDescription(const char *value)
Application & WithDisplayName(Aws::String &&value)
Definition Application.h:70
Application & WithDisplayName(const Aws::String &value)
Definition Application.h:69
Application & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
AWS_APPSTREAM_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIconURL(const Aws::String &value)
Definition Application.h:80
void SetAppBlockArn(Aws::String &&value)
Application & AddMetadata(const char *key, const char *value)
Application & WithLaunchParameters(const Aws::String &value)
Application & AddMetadata(Aws::String &&key, const char *value)
void SetDisplayName(Aws::String &&value)
Definition Application.h:67
const Aws::Vector< Aws::String > & GetInstanceFamilies() const
void SetArn(Aws::String &&value)
Application & WithPlatforms(Aws::Vector< PlatformType > &&value)
Application & WithName(const Aws::String &value)
Definition Application.h:55
Application & WithIconS3Location(const S3Location &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
Application & WithIconS3Location(S3Location &&value)
Application & WithAppBlockArn(const char *value)
const Aws::String & GetWorkingDirectory() const
const Aws::String & GetArn() const
void SetName(Aws::String &&value)
Definition Application.h:53
const Aws::String & GetLaunchParameters() const
void SetName(const char *value)
Definition Application.h:54
Application & WithArn(const char *value)
void SetInstanceFamilies(const Aws::Vector< Aws::String > &value)
Application & WithAppBlockArn(const Aws::String &value)
Application & WithEnabled(bool value)
Application & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
const S3Location & GetIconS3Location() const
Application & WithLaunchPath(Aws::String &&value)
Definition Application.h:98
void SetLaunchParameters(const Aws::String &value)
const Aws::String & GetDisplayName() const
Definition Application.h:64
const Aws::String & GetIconURL() const
Definition Application.h:78
Application & WithLaunchParameters(Aws::String &&value)
void SetIconS3Location(const S3Location &value)
Application & WithDescription(Aws::String &&value)
Application & WithIconURL(Aws::String &&value)
Definition Application.h:84
void SetAppBlockArn(const Aws::String &value)
Application & AddMetadata(const char *key, Aws::String &&value)
Application & AddPlatforms(const PlatformType &value)
Application & AddMetadata(Aws::String &&key, const Aws::String &value)
Application & WithDisplayName(const char *value)
Definition Application.h:71
void SetArn(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetLaunchPath() const
Definition Application.h:92
Application & AddPlatforms(PlatformType &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue