This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LaunchConfig.h

278 lines
10 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/PortForwardingConfig.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Information about a launch configuration.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/LaunchConfig">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API LaunchConfig
{
public:
LaunchConfig();
LaunchConfig(Aws::Utils::Json::JsonView jsonValue);
LaunchConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The package name.</p>
*/
inline const Aws::String& GetPackageName() const{ return m_packageName; }
/**
* <p>The package name.</p>
*/
inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
/**
* <p>The package name.</p>
*/
inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
/**
* <p>The package name.</p>
*/
inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
/**
* <p>The package name.</p>
*/
inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
/**
* <p>The package name.</p>
*/
inline LaunchConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
/**
* <p>The package name.</p>
*/
inline LaunchConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
/**
* <p>The package name.</p>
*/
inline LaunchConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
/**
* <p>The launch file name.</p>
*/
inline const Aws::String& GetLaunchFile() const{ return m_launchFile; }
/**
* <p>The launch file name.</p>
*/
inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; }
/**
* <p>The launch file name.</p>
*/
inline void SetLaunchFile(const Aws::String& value) { m_launchFileHasBeenSet = true; m_launchFile = value; }
/**
* <p>The launch file name.</p>
*/
inline void SetLaunchFile(Aws::String&& value) { m_launchFileHasBeenSet = true; m_launchFile = std::move(value); }
/**
* <p>The launch file name.</p>
*/
inline void SetLaunchFile(const char* value) { m_launchFileHasBeenSet = true; m_launchFile.assign(value); }
/**
* <p>The launch file name.</p>
*/
inline LaunchConfig& WithLaunchFile(const Aws::String& value) { SetLaunchFile(value); return *this;}
/**
* <p>The launch file name.</p>
*/
inline LaunchConfig& WithLaunchFile(Aws::String&& value) { SetLaunchFile(std::move(value)); return *this;}
/**
* <p>The launch file name.</p>
*/
inline LaunchConfig& WithLaunchFile(const char* value) { SetLaunchFile(value); return *this;}
/**
* <p>The environment variables for the application launch.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& WithEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironmentVariables(value); return *this;}
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& WithEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironmentVariables(std::move(value)); return *this;}
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
/**
* <p>The environment variables for the application launch.</p>
*/
inline LaunchConfig& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
/**
* <p>The port forwarding configuration.</p>
*/
inline const PortForwardingConfig& GetPortForwardingConfig() const{ return m_portForwardingConfig; }
/**
* <p>The port forwarding configuration.</p>
*/
inline bool PortForwardingConfigHasBeenSet() const { return m_portForwardingConfigHasBeenSet; }
/**
* <p>The port forwarding configuration.</p>
*/
inline void SetPortForwardingConfig(const PortForwardingConfig& value) { m_portForwardingConfigHasBeenSet = true; m_portForwardingConfig = value; }
/**
* <p>The port forwarding configuration.</p>
*/
inline void SetPortForwardingConfig(PortForwardingConfig&& value) { m_portForwardingConfigHasBeenSet = true; m_portForwardingConfig = std::move(value); }
/**
* <p>The port forwarding configuration.</p>
*/
inline LaunchConfig& WithPortForwardingConfig(const PortForwardingConfig& value) { SetPortForwardingConfig(value); return *this;}
/**
* <p>The port forwarding configuration.</p>
*/
inline LaunchConfig& WithPortForwardingConfig(PortForwardingConfig&& value) { SetPortForwardingConfig(std::move(value)); return *this;}
/**
* <p>Boolean indicating whether a streaming session will be configured for the
* application. If <code>True</code>, AWS RoboMaker will configure a connection so
* you can interact with your application as it is running in the simulation. You
* must configure and luanch the component. It must have a graphical user
* interface. </p>
*/
inline bool GetStreamUI() const{ return m_streamUI; }
/**
* <p>Boolean indicating whether a streaming session will be configured for the
* application. If <code>True</code>, AWS RoboMaker will configure a connection so
* you can interact with your application as it is running in the simulation. You
* must configure and luanch the component. It must have a graphical user
* interface. </p>
*/
inline bool StreamUIHasBeenSet() const { return m_streamUIHasBeenSet; }
/**
* <p>Boolean indicating whether a streaming session will be configured for the
* application. If <code>True</code>, AWS RoboMaker will configure a connection so
* you can interact with your application as it is running in the simulation. You
* must configure and luanch the component. It must have a graphical user
* interface. </p>
*/
inline void SetStreamUI(bool value) { m_streamUIHasBeenSet = true; m_streamUI = value; }
/**
* <p>Boolean indicating whether a streaming session will be configured for the
* application. If <code>True</code>, AWS RoboMaker will configure a connection so
* you can interact with your application as it is running in the simulation. You
* must configure and luanch the component. It must have a graphical user
* interface. </p>
*/
inline LaunchConfig& WithStreamUI(bool value) { SetStreamUI(value); return *this;}
private:
Aws::String m_packageName;
bool m_packageNameHasBeenSet;
Aws::String m_launchFile;
bool m_launchFileHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_environmentVariables;
bool m_environmentVariablesHasBeenSet;
PortForwardingConfig m_portForwardingConfig;
bool m_portForwardingConfigHasBeenSet;
bool m_streamUI;
bool m_streamUIHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws