/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace AppStream { namespace Model { /** */ class UpdateApplicationRequest : public AppStreamRequest { public: AWS_APPSTREAM_API UpdateApplicationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; } AWS_APPSTREAM_API Aws::String SerializePayload() const override; AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline UpdateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline UpdateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the application. This name is visible to users when display name * is not specified.

*/ inline UpdateApplicationRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline UpdateApplicationRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline UpdateApplicationRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The display name of the application. This name is visible to users in the * application catalog.

*/ inline UpdateApplicationRequest& WithDisplayName(const char* value) { SetDisplayName(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 UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the application.

*/ inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the application.

*/ inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The icon S3 location of the application.

*/ inline const S3Location& GetIconS3Location() const{ return m_iconS3Location; } /** *

The icon S3 location of the application.

*/ inline bool IconS3LocationHasBeenSet() const { return m_iconS3LocationHasBeenSet; } /** *

The icon S3 location of the application.

*/ inline void SetIconS3Location(const S3Location& value) { m_iconS3LocationHasBeenSet = true; m_iconS3Location = value; } /** *

The icon S3 location of the application.

*/ inline void SetIconS3Location(S3Location&& value) { m_iconS3LocationHasBeenSet = true; m_iconS3Location = std::move(value); } /** *

The icon S3 location of the application.

*/ inline UpdateApplicationRequest& WithIconS3Location(const S3Location& value) { SetIconS3Location(value); return *this;} /** *

The icon S3 location of the application.

*/ inline UpdateApplicationRequest& WithIconS3Location(S3Location&& value) { SetIconS3Location(std::move(value)); return *this;} /** *

The launch path of the application.

*/ inline const Aws::String& GetLaunchPath() const{ return m_launchPath; } /** *

The launch path of the application.

*/ inline bool LaunchPathHasBeenSet() const { return m_launchPathHasBeenSet; } /** *

The launch path of the application.

*/ inline void SetLaunchPath(const Aws::String& value) { m_launchPathHasBeenSet = true; m_launchPath = value; } /** *

The launch path of the application.

*/ inline void SetLaunchPath(Aws::String&& value) { m_launchPathHasBeenSet = true; m_launchPath = std::move(value); } /** *

The launch path of the application.

*/ inline void SetLaunchPath(const char* value) { m_launchPathHasBeenSet = true; m_launchPath.assign(value); } /** *

The launch path of the application.

*/ inline UpdateApplicationRequest& WithLaunchPath(const Aws::String& value) { SetLaunchPath(value); return *this;} /** *

The launch path of the application.

*/ inline UpdateApplicationRequest& WithLaunchPath(Aws::String&& value) { SetLaunchPath(std::move(value)); return *this;} /** *

The launch path of the application.

*/ inline UpdateApplicationRequest& WithLaunchPath(const char* value) { SetLaunchPath(value); return *this;} /** *

The working directory of the application.

*/ inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; } /** *

The working directory of the application.

*/ inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; } /** *

The working directory of the application.

*/ inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; } /** *

The working directory of the application.

*/ inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); } /** *

The working directory of the application.

*/ inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); } /** *

The working directory of the application.

*/ inline UpdateApplicationRequest& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;} /** *

The working directory of the application.

*/ inline UpdateApplicationRequest& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;} /** *

The working directory of the application.

*/ inline UpdateApplicationRequest& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;} /** *

The launch parameters of the application.

*/ inline const Aws::String& GetLaunchParameters() const{ return m_launchParameters; } /** *

The launch parameters of the application.

*/ inline bool LaunchParametersHasBeenSet() const { return m_launchParametersHasBeenSet; } /** *

The launch parameters of the application.

*/ inline void SetLaunchParameters(const Aws::String& value) { m_launchParametersHasBeenSet = true; m_launchParameters = value; } /** *

The launch parameters of the application.

*/ inline void SetLaunchParameters(Aws::String&& value) { m_launchParametersHasBeenSet = true; m_launchParameters = std::move(value); } /** *

The launch parameters of the application.

*/ inline void SetLaunchParameters(const char* value) { m_launchParametersHasBeenSet = true; m_launchParameters.assign(value); } /** *

The launch parameters of the application.

*/ inline UpdateApplicationRequest& WithLaunchParameters(const Aws::String& value) { SetLaunchParameters(value); return *this;} /** *

The launch parameters of the application.

*/ inline UpdateApplicationRequest& WithLaunchParameters(Aws::String&& value) { SetLaunchParameters(std::move(value)); return *this;} /** *

The launch parameters of the application.

*/ inline UpdateApplicationRequest& WithLaunchParameters(const char* value) { SetLaunchParameters(value); return *this;} /** *

The ARN of the app block.

*/ inline const Aws::String& GetAppBlockArn() const{ return m_appBlockArn; } /** *

The ARN of the app block.

*/ inline bool AppBlockArnHasBeenSet() const { return m_appBlockArnHasBeenSet; } /** *

The ARN of the app block.

*/ inline void SetAppBlockArn(const Aws::String& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = value; } /** *

The ARN of the app block.

*/ inline void SetAppBlockArn(Aws::String&& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = std::move(value); } /** *

The ARN of the app block.

*/ inline void SetAppBlockArn(const char* value) { m_appBlockArnHasBeenSet = true; m_appBlockArn.assign(value); } /** *

The ARN of the app block.

*/ inline UpdateApplicationRequest& WithAppBlockArn(const Aws::String& value) { SetAppBlockArn(value); return *this;} /** *

The ARN of the app block.

*/ inline UpdateApplicationRequest& WithAppBlockArn(Aws::String&& value) { SetAppBlockArn(std::move(value)); return *this;} /** *

The ARN of the app block.

*/ inline UpdateApplicationRequest& WithAppBlockArn(const char* value) { SetAppBlockArn(value); return *this;} /** *

The attributes to delete for an application.

*/ inline const Aws::Vector& GetAttributesToDelete() const{ return m_attributesToDelete; } /** *

The attributes to delete for an application.

*/ inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; } /** *

The attributes to delete for an application.

*/ inline void SetAttributesToDelete(const Aws::Vector& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = value; } /** *

The attributes to delete for an application.

*/ inline void SetAttributesToDelete(Aws::Vector&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::move(value); } /** *

The attributes to delete for an application.

*/ inline UpdateApplicationRequest& WithAttributesToDelete(const Aws::Vector& value) { SetAttributesToDelete(value); return *this;} /** *

The attributes to delete for an application.

*/ inline UpdateApplicationRequest& WithAttributesToDelete(Aws::Vector&& value) { SetAttributesToDelete(std::move(value)); return *this;} /** *

The attributes to delete for an application.

*/ inline UpdateApplicationRequest& AddAttributesToDelete(const ApplicationAttribute& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; } /** *

The attributes to delete for an application.

*/ inline UpdateApplicationRequest& AddAttributesToDelete(ApplicationAttribute&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(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_description; bool m_descriptionHasBeenSet = false; S3Location m_iconS3Location; bool m_iconS3LocationHasBeenSet = false; Aws::String m_launchPath; bool m_launchPathHasBeenSet = false; Aws::String m_workingDirectory; bool m_workingDirectoryHasBeenSet = false; Aws::String m_launchParameters; bool m_launchParametersHasBeenSet = false; Aws::String m_appBlockArn; bool m_appBlockArnHasBeenSet = false; Aws::Vector m_attributesToDelete; bool m_attributesToDeleteHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws