/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an application in the application catalog.See Also:
* AWS
* API Reference
The name of the application.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the application.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the application.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the application.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the application.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the application.
*/ inline Application& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the application.
*/ inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the application.
*/ inline Application& WithName(const char* value) { SetName(value); return *this;} /** *The application name to display.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The application name to display.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The application name to display.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The application name to display.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The application name to display.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The application name to display.
*/ inline Application& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The application name to display.
*/ inline Application& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The application name to display.
*/ inline Application& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The URL for the application icon. This URL might be time-limited.
*/ inline const Aws::String& GetIconURL() const{ return m_iconURL; } /** *The URL for the application icon. This URL might be time-limited.
*/ inline bool IconURLHasBeenSet() const { return m_iconURLHasBeenSet; } /** *The URL for the application icon. This URL might be time-limited.
*/ inline void SetIconURL(const Aws::String& value) { m_iconURLHasBeenSet = true; m_iconURL = value; } /** *The URL for the application icon. This URL might be time-limited.
*/ inline void SetIconURL(Aws::String&& value) { m_iconURLHasBeenSet = true; m_iconURL = std::move(value); } /** *The URL for the application icon. This URL might be time-limited.
*/ inline void SetIconURL(const char* value) { m_iconURLHasBeenSet = true; m_iconURL.assign(value); } /** *The URL for the application icon. This URL might be time-limited.
*/ inline Application& WithIconURL(const Aws::String& value) { SetIconURL(value); return *this;} /** *The URL for the application icon. This URL might be time-limited.
*/ inline Application& WithIconURL(Aws::String&& value) { SetIconURL(std::move(value)); return *this;} /** *The URL for the application icon. This URL might be time-limited.
*/ inline Application& WithIconURL(const char* value) { SetIconURL(value); return *this;} /** *The path to the application executable in the instance.
*/ inline const Aws::String& GetLaunchPath() const{ return m_launchPath; } /** *The path to the application executable in the instance.
*/ inline bool LaunchPathHasBeenSet() const { return m_launchPathHasBeenSet; } /** *The path to the application executable in the instance.
*/ inline void SetLaunchPath(const Aws::String& value) { m_launchPathHasBeenSet = true; m_launchPath = value; } /** *The path to the application executable in the instance.
*/ inline void SetLaunchPath(Aws::String&& value) { m_launchPathHasBeenSet = true; m_launchPath = std::move(value); } /** *The path to the application executable in the instance.
*/ inline void SetLaunchPath(const char* value) { m_launchPathHasBeenSet = true; m_launchPath.assign(value); } /** *The path to the application executable in the instance.
*/ inline Application& WithLaunchPath(const Aws::String& value) { SetLaunchPath(value); return *this;} /** *The path to the application executable in the instance.
*/ inline Application& WithLaunchPath(Aws::String&& value) { SetLaunchPath(std::move(value)); return *this;} /** *The path to the application executable in the instance.
*/ inline Application& WithLaunchPath(const char* value) { SetLaunchPath(value); return *this;} /** *The arguments that are passed to the application at launch.
*/ inline const Aws::String& GetLaunchParameters() const{ return m_launchParameters; } /** *The arguments that are passed to the application at launch.
*/ inline bool LaunchParametersHasBeenSet() const { return m_launchParametersHasBeenSet; } /** *The arguments that are passed to the application at launch.
*/ inline void SetLaunchParameters(const Aws::String& value) { m_launchParametersHasBeenSet = true; m_launchParameters = value; } /** *The arguments that are passed to the application at launch.
*/ inline void SetLaunchParameters(Aws::String&& value) { m_launchParametersHasBeenSet = true; m_launchParameters = std::move(value); } /** *The arguments that are passed to the application at launch.
*/ inline void SetLaunchParameters(const char* value) { m_launchParametersHasBeenSet = true; m_launchParameters.assign(value); } /** *The arguments that are passed to the application at launch.
*/ inline Application& WithLaunchParameters(const Aws::String& value) { SetLaunchParameters(value); return *this;} /** *The arguments that are passed to the application at launch.
*/ inline Application& WithLaunchParameters(Aws::String&& value) { SetLaunchParameters(std::move(value)); return *this;} /** *The arguments that are passed to the application at launch.
*/ inline Application& WithLaunchParameters(const char* value) { SetLaunchParameters(value); return *this;} /** *If there is a problem, the application can be disabled after image * creation.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *If there is a problem, the application can be disabled after image * creation.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *If there is a problem, the application can be disabled after image * creation.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *If there is a problem, the application can be disabled after image * creation.
*/ inline Application& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *Additional attributes that describe the application.
*/ inline const Aws::MapAdditional attributes that describe the application.
*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *Additional attributes that describe the application.
*/ inline void SetMetadata(const Aws::MapAdditional attributes that describe the application.
*/ inline void SetMetadata(Aws::MapAdditional attributes that describe the application.
*/ inline Application& WithMetadata(const Aws::MapAdditional attributes that describe the application.
*/ inline Application& WithMetadata(Aws::MapAdditional attributes that describe the application.
*/ inline Application& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; } /** *Additional attributes that describe the application.
*/ inline Application& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; } /** *Additional attributes that describe the application.
*/ inline Application& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; } /** *Additional attributes that describe the application.
*/ inline Application& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; } /** *Additional attributes that describe the application.
*/ inline Application& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; } /** *Additional attributes that describe the application.
*/ inline Application& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; } /** *Additional attributes that describe the application.
*/ inline Application& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; } /** *The working directory for the application.
*/ inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; } /** *The working directory for the application.
*/ inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; } /** *The working directory for the application.
*/ inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; } /** *The working directory for the application.
*/ inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); } /** *The working directory for the application.
*/ inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); } /** *The working directory for the application.
*/ inline Application& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;} /** *The working directory for the application.
*/ inline Application& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;} /** *The working directory for the application.
*/ inline Application& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;} /** *The description of the application.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the application.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the application.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the application.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the application.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the application.
*/ inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the application.
*/ inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the application.
*/ inline Application& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ARN of the application.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the application.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the application.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the application.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the application.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the application.
*/ inline Application& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the application.
*/ inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the application.
*/ inline Application& WithArn(const char* value) { SetArn(value); return *this;} /** *The app block ARN of the application.
*/ inline const Aws::String& GetAppBlockArn() const{ return m_appBlockArn; } /** *The app block ARN of the application.
*/ inline bool AppBlockArnHasBeenSet() const { return m_appBlockArnHasBeenSet; } /** *The app block ARN of the application.
*/ inline void SetAppBlockArn(const Aws::String& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = value; } /** *The app block ARN of the application.
*/ inline void SetAppBlockArn(Aws::String&& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = std::move(value); } /** *The app block ARN of the application.
*/ inline void SetAppBlockArn(const char* value) { m_appBlockArnHasBeenSet = true; m_appBlockArn.assign(value); } /** *The app block ARN of the application.
*/ inline Application& WithAppBlockArn(const Aws::String& value) { SetAppBlockArn(value); return *this;} /** *The app block ARN of the application.
*/ inline Application& WithAppBlockArn(Aws::String&& value) { SetAppBlockArn(std::move(value)); return *this;} /** *The app block ARN of the application.
*/ inline Application& WithAppBlockArn(const char* value) { SetAppBlockArn(value); return *this;} /** *The S3 location of the application icon.
*/ inline const S3Location& GetIconS3Location() const{ return m_iconS3Location; } /** *The S3 location of the application icon.
*/ inline bool IconS3LocationHasBeenSet() const { return m_iconS3LocationHasBeenSet; } /** *The S3 location of the application icon.
*/ inline void SetIconS3Location(const S3Location& value) { m_iconS3LocationHasBeenSet = true; m_iconS3Location = value; } /** *The S3 location of the application icon.
*/ inline void SetIconS3Location(S3Location&& value) { m_iconS3LocationHasBeenSet = true; m_iconS3Location = std::move(value); } /** *The S3 location of the application icon.
*/ inline Application& WithIconS3Location(const S3Location& value) { SetIconS3Location(value); return *this;} /** *The S3 location of the application icon.
*/ inline Application& WithIconS3Location(S3Location&& value) { SetIconS3Location(std::move(value)); return *this;} /** *The platforms on which the application can run.
*/ inline const Aws::VectorThe platforms on which the application can run.
*/ inline bool PlatformsHasBeenSet() const { return m_platformsHasBeenSet; } /** *The platforms on which the application can run.
*/ inline void SetPlatforms(const Aws::VectorThe platforms on which the application can run.
*/ inline void SetPlatforms(Aws::VectorThe platforms on which the application can run.
*/ inline Application& WithPlatforms(const Aws::VectorThe platforms on which the application can run.
*/ inline Application& WithPlatforms(Aws::VectorThe platforms on which the application can run.
*/ inline Application& AddPlatforms(const PlatformType& value) { m_platformsHasBeenSet = true; m_platforms.push_back(value); return *this; } /** *The platforms on which the application can run.
*/ inline Application& AddPlatforms(PlatformType&& value) { m_platformsHasBeenSet = true; m_platforms.push_back(std::move(value)); return *this; } /** *The instance families for the application.
*/ inline const Aws::VectorThe instance families for the application.
*/ inline bool InstanceFamiliesHasBeenSet() const { return m_instanceFamiliesHasBeenSet; } /** *The instance families for the application.
*/ inline void SetInstanceFamilies(const Aws::VectorThe instance families for the application.
*/ inline void SetInstanceFamilies(Aws::VectorThe instance families for the application.
*/ inline Application& WithInstanceFamilies(const Aws::VectorThe instance families for the application.
*/ inline Application& WithInstanceFamilies(Aws::VectorThe instance families for the application.
*/ inline Application& AddInstanceFamilies(const Aws::String& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(value); return *this; } /** *The instance families for the application.
*/ inline Application& AddInstanceFamilies(Aws::String&& value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(std::move(value)); return *this; } /** *The instance families for the application.
*/ inline Application& AddInstanceFamilies(const char* value) { m_instanceFamiliesHasBeenSet = true; m_instanceFamilies.push_back(value); return *this; } /** *The time at which the application was created within the app block.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time at which the application was created within the app block.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time at which the application was created within the app block.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time at which the application was created within the app block.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time at which the application was created within the app block.
*/ inline Application& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time at which the application was created within the app block.
*/ inline Application& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_iconURL; bool m_iconURLHasBeenSet = false; Aws::String m_launchPath; bool m_launchPathHasBeenSet = false; Aws::String m_launchParameters; bool m_launchParametersHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::Map