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/SimulationApplicationConfig.h

215 lines
7.3 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/robomaker/model/LaunchConfig.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/WorldConfig.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 simulation application configuration.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SimulationApplicationConfig">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API SimulationApplicationConfig
{
public:
SimulationApplicationConfig();
SimulationApplicationConfig(Aws::Utils::Json::JsonView jsonValue);
SimulationApplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The application information for the simulation application.</p>
*/
inline const Aws::String& GetApplication() const{ return m_application; }
/**
* <p>The application information for the simulation application.</p>
*/
inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
/**
* <p>The application information for the simulation application.</p>
*/
inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
/**
* <p>The application information for the simulation application.</p>
*/
inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
/**
* <p>The application information for the simulation application.</p>
*/
inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
/**
* <p>The application information for the simulation application.</p>
*/
inline SimulationApplicationConfig& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The application information for the simulation application.</p>
*/
inline SimulationApplicationConfig& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The application information for the simulation application.</p>
*/
inline SimulationApplicationConfig& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
/**
* <p>The version of the simulation application.</p>
*/
inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline SimulationApplicationConfig& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline SimulationApplicationConfig& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline SimulationApplicationConfig& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
/**
* <p>The launch configuration for the simulation application.</p>
*/
inline const LaunchConfig& GetLaunchConfig() const{ return m_launchConfig; }
/**
* <p>The launch configuration for the simulation application.</p>
*/
inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
/**
* <p>The launch configuration for the simulation application.</p>
*/
inline void SetLaunchConfig(const LaunchConfig& value) { m_launchConfigHasBeenSet = true; m_launchConfig = value; }
/**
* <p>The launch configuration for the simulation application.</p>
*/
inline void SetLaunchConfig(LaunchConfig&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::move(value); }
/**
* <p>The launch configuration for the simulation application.</p>
*/
inline SimulationApplicationConfig& WithLaunchConfig(const LaunchConfig& value) { SetLaunchConfig(value); return *this;}
/**
* <p>The launch configuration for the simulation application.</p>
*/
inline SimulationApplicationConfig& WithLaunchConfig(LaunchConfig&& value) { SetLaunchConfig(std::move(value)); return *this;}
/**
* <p>A list of world configurations.</p>
*/
inline const Aws::Vector<WorldConfig>& GetWorldConfigs() const{ return m_worldConfigs; }
/**
* <p>A list of world configurations.</p>
*/
inline bool WorldConfigsHasBeenSet() const { return m_worldConfigsHasBeenSet; }
/**
* <p>A list of world configurations.</p>
*/
inline void SetWorldConfigs(const Aws::Vector<WorldConfig>& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs = value; }
/**
* <p>A list of world configurations.</p>
*/
inline void SetWorldConfigs(Aws::Vector<WorldConfig>&& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs = std::move(value); }
/**
* <p>A list of world configurations.</p>
*/
inline SimulationApplicationConfig& WithWorldConfigs(const Aws::Vector<WorldConfig>& value) { SetWorldConfigs(value); return *this;}
/**
* <p>A list of world configurations.</p>
*/
inline SimulationApplicationConfig& WithWorldConfigs(Aws::Vector<WorldConfig>&& value) { SetWorldConfigs(std::move(value)); return *this;}
/**
* <p>A list of world configurations.</p>
*/
inline SimulationApplicationConfig& AddWorldConfigs(const WorldConfig& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs.push_back(value); return *this; }
/**
* <p>A list of world configurations.</p>
*/
inline SimulationApplicationConfig& AddWorldConfigs(WorldConfig&& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs.push_back(std::move(value)); return *this; }
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_applicationVersion;
bool m_applicationVersionHasBeenSet;
LaunchConfig m_launchConfig;
bool m_launchConfigHasBeenSet;
Aws::Vector<WorldConfig> m_worldConfigs;
bool m_worldConfigsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws