7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/robomaker/model/PortForwardingConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename PackageNameT = Aws::String>
50 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet =
true; m_packageName = std::forward<PackageNameT>(value); }
51 template<
typename PackageNameT = Aws::String>
61 template<
typename LaunchFileT = Aws::String>
62 void SetLaunchFile(LaunchFileT&& value) { m_launchFileHasBeenSet =
true; m_launchFile = std::forward<LaunchFileT>(value); }
63 template<
typename LaunchFileT = Aws::String>
73 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
74 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
75 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
77 template<
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
79 m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
return *
this;
89 template<
typename PortForwardingConfigT = PortForwardingConfig>
90 void SetPortForwardingConfig(PortForwardingConfigT&& value) { m_portForwardingConfigHasBeenSet =
true; m_portForwardingConfig = std::forward<PortForwardingConfigT>(value); }
91 template<
typename PortForwardingConfigT = PortForwardingConfig>
105 inline void SetStreamUI(
bool value) { m_streamUIHasBeenSet =
true; m_streamUI = value; }
120 template<
typename CommandT = Aws::Vector<Aws::String>>
121 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
122 template<
typename CommandT = Aws::Vector<Aws::String>>
124 template<
typename CommandT = Aws::String>
125 LaunchConfig&
AddCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command.emplace_back(std::forward<CommandT>(value));
return *
this; }
130 bool m_packageNameHasBeenSet =
false;
133 bool m_launchFileHasBeenSet =
false;
136 bool m_environmentVariablesHasBeenSet =
false;
139 bool m_portForwardingConfigHasBeenSet =
false;
141 bool m_streamUI{
false};
142 bool m_streamUIHasBeenSet =
false;
145 bool m_commandHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
bool PortForwardingConfigHasBeenSet() const
LaunchConfig & WithEnvironmentVariables(EnvironmentVariablesT &&value)
LaunchConfig & WithPortForwardingConfig(PortForwardingConfigT &&value)
void SetPackageName(PackageNameT &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API LaunchConfig()=default
const Aws::String & GetLaunchFile() const
void SetStreamUI(bool value)
AWS_ROBOMAKER_API LaunchConfig(Aws::Utils::Json::JsonView jsonValue)
LaunchConfig & AddCommand(CommandT &&value)
bool EnvironmentVariablesHasBeenSet() const
LaunchConfig & WithCommand(CommandT &&value)
void SetCommand(CommandT &&value)
bool PackageNameHasBeenSet() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
const Aws::Vector< Aws::String > & GetCommand() const
LaunchConfig & WithLaunchFile(LaunchFileT &&value)
void SetLaunchFile(LaunchFileT &&value)
LaunchConfig & WithPackageName(PackageNameT &&value)
bool StreamUIHasBeenSet() const
bool CommandHasBeenSet() const
const Aws::String & GetPackageName() const
void SetPortForwardingConfig(PortForwardingConfigT &&value)
const PortForwardingConfig & GetPortForwardingConfig() const
LaunchConfig & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
LaunchConfig & WithStreamUI(bool value)
AWS_ROBOMAKER_API LaunchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LaunchFileHasBeenSet() const
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