/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { /** *

Configuration information for a deployment launch.

See Also:

* AWS * API Reference

*/ class DeploymentLaunchConfig { public: AWS_ROBOMAKER_API DeploymentLaunchConfig(); AWS_ROBOMAKER_API DeploymentLaunchConfig(Aws::Utils::Json::JsonView jsonValue); AWS_ROBOMAKER_API DeploymentLaunchConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The package name.

*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *

The package name.

*/ inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } /** *

The package name.

*/ inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; } /** *

The package name.

*/ inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); } /** *

The package name.

*/ inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); } /** *

The package name.

*/ inline DeploymentLaunchConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *

The package name.

*/ inline DeploymentLaunchConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *

The package name.

*/ inline DeploymentLaunchConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline const Aws::String& GetPreLaunchFile() const{ return m_preLaunchFile; } /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline bool PreLaunchFileHasBeenSet() const { return m_preLaunchFileHasBeenSet; } /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline void SetPreLaunchFile(const Aws::String& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = value; } /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline void SetPreLaunchFile(Aws::String&& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = std::move(value); } /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline void SetPreLaunchFile(const char* value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile.assign(value); } /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline DeploymentLaunchConfig& WithPreLaunchFile(const Aws::String& value) { SetPreLaunchFile(value); return *this;} /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline DeploymentLaunchConfig& WithPreLaunchFile(Aws::String&& value) { SetPreLaunchFile(std::move(value)); return *this;} /** *

The deployment pre-launch file. This file will be executed prior to the * launch file.

*/ inline DeploymentLaunchConfig& WithPreLaunchFile(const char* value) { SetPreLaunchFile(value); return *this;} /** *

The launch file name.

*/ inline const Aws::String& GetLaunchFile() const{ return m_launchFile; } /** *

The launch file name.

*/ inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; } /** *

The launch file name.

*/ inline void SetLaunchFile(const Aws::String& value) { m_launchFileHasBeenSet = true; m_launchFile = value; } /** *

The launch file name.

*/ inline void SetLaunchFile(Aws::String&& value) { m_launchFileHasBeenSet = true; m_launchFile = std::move(value); } /** *

The launch file name.

*/ inline void SetLaunchFile(const char* value) { m_launchFileHasBeenSet = true; m_launchFile.assign(value); } /** *

The launch file name.

*/ inline DeploymentLaunchConfig& WithLaunchFile(const Aws::String& value) { SetLaunchFile(value); return *this;} /** *

The launch file name.

*/ inline DeploymentLaunchConfig& WithLaunchFile(Aws::String&& value) { SetLaunchFile(std::move(value)); return *this;} /** *

The launch file name.

*/ inline DeploymentLaunchConfig& WithLaunchFile(const char* value) { SetLaunchFile(value); return *this;} /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline const Aws::String& GetPostLaunchFile() const{ return m_postLaunchFile; } /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline bool PostLaunchFileHasBeenSet() const { return m_postLaunchFileHasBeenSet; } /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline void SetPostLaunchFile(const Aws::String& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = value; } /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline void SetPostLaunchFile(Aws::String&& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = std::move(value); } /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline void SetPostLaunchFile(const char* value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile.assign(value); } /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline DeploymentLaunchConfig& WithPostLaunchFile(const Aws::String& value) { SetPostLaunchFile(value); return *this;} /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline DeploymentLaunchConfig& WithPostLaunchFile(Aws::String&& value) { SetPostLaunchFile(std::move(value)); return *this;} /** *

The deployment post-launch file. This file will be executed after the launch * file.

*/ inline DeploymentLaunchConfig& WithPostLaunchFile(const char* value) { SetPostLaunchFile(value); return *this;} /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline const Aws::Map& GetEnvironmentVariables() const{ return m_environmentVariables; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline void SetEnvironmentVariables(const Aws::Map& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline void SetEnvironmentVariables(Aws::Map&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& WithEnvironmentVariables(const Aws::Map& value) { SetEnvironmentVariables(value); return *this;} /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& WithEnvironmentVariables(Aws::Map&& value) { SetEnvironmentVariables(std::move(value)); return *this;} /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; } /** *

An array of key/value pairs specifying environment variables for the robot * application

*/ inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; } private: Aws::String m_packageName; bool m_packageNameHasBeenSet = false; Aws::String m_preLaunchFile; bool m_preLaunchFileHasBeenSet = false; Aws::String m_launchFile; bool m_launchFileHasBeenSet = false; Aws::String m_postLaunchFile; bool m_postLaunchFileHasBeenSet = false; Aws::Map m_environmentVariables; bool m_environmentVariablesHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws