feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
/**
* 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>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
enum class Architecture
{
NOT_SET,
X86_64,
ARM64,
ARMHF
};
namespace ArchitectureMapper
{
AWS_ROBOMAKER_API Architecture GetArchitectureForName(const Aws::String& name);
AWS_ROBOMAKER_API Aws::String GetNameForArchitecture(Architecture value);
} // namespace ArchitectureMapper
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,98 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API BatchDeleteWorldsRequest : public RoboMakerRequest
{
public:
BatchDeleteWorldsRequest();
// 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 "BatchDeleteWorlds"; }
Aws::String SerializePayload() const override;
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worldsHasBeenSet = true; m_worlds = value; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline BatchDeleteWorldsRequest& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline BatchDeleteWorldsRequest& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline BatchDeleteWorldsRequest& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline BatchDeleteWorldsRequest& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* delete.</p>
*/
inline BatchDeleteWorldsRequest& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_worlds;
bool m_worldsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,91 @@
/**
* 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/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API BatchDeleteWorldsResult
{
public:
BatchDeleteWorldsResult();
BatchDeleteWorldsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchDeleteWorldsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline const Aws::Vector<Aws::String>& GetUnprocessedWorlds() const{ return m_unprocessedWorlds; }
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline void SetUnprocessedWorlds(const Aws::Vector<Aws::String>& value) { m_unprocessedWorlds = value; }
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline void SetUnprocessedWorlds(Aws::Vector<Aws::String>&& value) { m_unprocessedWorlds = std::move(value); }
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline BatchDeleteWorldsResult& WithUnprocessedWorlds(const Aws::Vector<Aws::String>& value) { SetUnprocessedWorlds(value); return *this;}
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline BatchDeleteWorldsResult& WithUnprocessedWorlds(Aws::Vector<Aws::String>&& value) { SetUnprocessedWorlds(std::move(value)); return *this;}
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline BatchDeleteWorldsResult& AddUnprocessedWorlds(const Aws::String& value) { m_unprocessedWorlds.push_back(value); return *this; }
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline BatchDeleteWorldsResult& AddUnprocessedWorlds(Aws::String&& value) { m_unprocessedWorlds.push_back(std::move(value)); return *this; }
/**
* <p>A list of unprocessed worlds associated with the call. These worlds were not
* deleted.</p>
*/
inline BatchDeleteWorldsResult& AddUnprocessedWorlds(const char* value) { m_unprocessedWorlds.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_unprocessedWorlds;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API BatchDescribeSimulationJobRequest : public RoboMakerRequest
{
public:
BatchDescribeSimulationJobRequest();
// 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 "BatchDescribeSimulationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline const Aws::Vector<Aws::String>& GetJobs() const{ return m_jobs; }
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline bool JobsHasBeenSet() const { return m_jobsHasBeenSet; }
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline void SetJobs(const Aws::Vector<Aws::String>& value) { m_jobsHasBeenSet = true; m_jobs = value; }
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline void SetJobs(Aws::Vector<Aws::String>&& value) { m_jobsHasBeenSet = true; m_jobs = std::move(value); }
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline BatchDescribeSimulationJobRequest& WithJobs(const Aws::Vector<Aws::String>& value) { SetJobs(value); return *this;}
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline BatchDescribeSimulationJobRequest& WithJobs(Aws::Vector<Aws::String>&& value) { SetJobs(std::move(value)); return *this;}
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline BatchDescribeSimulationJobRequest& AddJobs(const Aws::String& value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; }
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline BatchDescribeSimulationJobRequest& AddJobs(Aws::String&& value) { m_jobsHasBeenSet = true; m_jobs.push_back(std::move(value)); return *this; }
/**
* <p>A list of Amazon Resource Names (ARNs) of simulation jobs to describe.</p>
*/
inline BatchDescribeSimulationJobRequest& AddJobs(const char* value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_jobs;
bool m_jobsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,122 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/SimulationJob.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API BatchDescribeSimulationJobResult
{
public:
BatchDescribeSimulationJobResult();
BatchDescribeSimulationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchDescribeSimulationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of simulation jobs.</p>
*/
inline const Aws::Vector<SimulationJob>& GetJobs() const{ return m_jobs; }
/**
* <p>A list of simulation jobs.</p>
*/
inline void SetJobs(const Aws::Vector<SimulationJob>& value) { m_jobs = value; }
/**
* <p>A list of simulation jobs.</p>
*/
inline void SetJobs(Aws::Vector<SimulationJob>&& value) { m_jobs = std::move(value); }
/**
* <p>A list of simulation jobs.</p>
*/
inline BatchDescribeSimulationJobResult& WithJobs(const Aws::Vector<SimulationJob>& value) { SetJobs(value); return *this;}
/**
* <p>A list of simulation jobs.</p>
*/
inline BatchDescribeSimulationJobResult& WithJobs(Aws::Vector<SimulationJob>&& value) { SetJobs(std::move(value)); return *this;}
/**
* <p>A list of simulation jobs.</p>
*/
inline BatchDescribeSimulationJobResult& AddJobs(const SimulationJob& value) { m_jobs.push_back(value); return *this; }
/**
* <p>A list of simulation jobs.</p>
*/
inline BatchDescribeSimulationJobResult& AddJobs(SimulationJob&& value) { m_jobs.push_back(std::move(value)); return *this; }
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline const Aws::Vector<Aws::String>& GetUnprocessedJobs() const{ return m_unprocessedJobs; }
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline void SetUnprocessedJobs(const Aws::Vector<Aws::String>& value) { m_unprocessedJobs = value; }
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline void SetUnprocessedJobs(Aws::Vector<Aws::String>&& value) { m_unprocessedJobs = std::move(value); }
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline BatchDescribeSimulationJobResult& WithUnprocessedJobs(const Aws::Vector<Aws::String>& value) { SetUnprocessedJobs(value); return *this;}
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline BatchDescribeSimulationJobResult& WithUnprocessedJobs(Aws::Vector<Aws::String>&& value) { SetUnprocessedJobs(std::move(value)); return *this;}
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline BatchDescribeSimulationJobResult& AddUnprocessedJobs(const Aws::String& value) { m_unprocessedJobs.push_back(value); return *this; }
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline BatchDescribeSimulationJobResult& AddUnprocessedJobs(Aws::String&& value) { m_unprocessedJobs.push_back(std::move(value)); return *this; }
/**
* <p>A list of unprocessed simulation job Amazon Resource Names (ARNs).</p>
*/
inline BatchDescribeSimulationJobResult& AddUnprocessedJobs(const char* value) { m_unprocessedJobs.push_back(value); return *this; }
private:
Aws::Vector<SimulationJob> m_jobs;
Aws::Vector<Aws::String> m_unprocessedJobs;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,130 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Information about the batch policy.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchPolicy">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API BatchPolicy
{
public:
BatchPolicy();
BatchPolicy(Aws::Utils::Json::JsonView jsonValue);
BatchPolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If
* a batch times out, and there are pending requests that were failing due to an
* internal failure (like <code>InternalServiceError</code>), they will be moved to
* the failed list and the batch status will be <code>Failed</code>. If the pending
* requests were failing for any other reason, the failed pending requests will be
* moved to the failed list and the batch status will be <code>TimedOut</code>.
* </p>
*/
inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
/**
* <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If
* a batch times out, and there are pending requests that were failing due to an
* internal failure (like <code>InternalServiceError</code>), they will be moved to
* the failed list and the batch status will be <code>Failed</code>. If the pending
* requests were failing for any other reason, the failed pending requests will be
* moved to the failed list and the batch status will be <code>TimedOut</code>.
* </p>
*/
inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
/**
* <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If
* a batch times out, and there are pending requests that were failing due to an
* internal failure (like <code>InternalServiceError</code>), they will be moved to
* the failed list and the batch status will be <code>Failed</code>. If the pending
* requests were failing for any other reason, the failed pending requests will be
* moved to the failed list and the batch status will be <code>TimedOut</code>.
* </p>
*/
inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
/**
* <p>The amount of time, in seconds, to wait for the batch to complete. </p> <p>If
* a batch times out, and there are pending requests that were failing due to an
* internal failure (like <code>InternalServiceError</code>), they will be moved to
* the failed list and the batch status will be <code>Failed</code>. If the pending
* requests were failing for any other reason, the failed pending requests will be
* moved to the failed list and the batch status will be <code>TimedOut</code>.
* </p>
*/
inline BatchPolicy& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
/**
* <p>The number of active simulation jobs create as part of the batch that can be
* in an active state at the same time. </p> <p>Active states include:
* <code>Pending</code>,<code>Preparing</code>, <code>Running</code>,
* <code>Restarting</code>, <code>RunningFailed</code> and
* <code>Terminating</code>. All other states are terminal states. </p>
*/
inline int GetMaxConcurrency() const{ return m_maxConcurrency; }
/**
* <p>The number of active simulation jobs create as part of the batch that can be
* in an active state at the same time. </p> <p>Active states include:
* <code>Pending</code>,<code>Preparing</code>, <code>Running</code>,
* <code>Restarting</code>, <code>RunningFailed</code> and
* <code>Terminating</code>. All other states are terminal states. </p>
*/
inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
/**
* <p>The number of active simulation jobs create as part of the batch that can be
* in an active state at the same time. </p> <p>Active states include:
* <code>Pending</code>,<code>Preparing</code>, <code>Running</code>,
* <code>Restarting</code>, <code>RunningFailed</code> and
* <code>Terminating</code>. All other states are terminal states. </p>
*/
inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
/**
* <p>The number of active simulation jobs create as part of the batch that can be
* in an active state at the same time. </p> <p>Active states include:
* <code>Pending</code>,<code>Preparing</code>, <code>Running</code>,
* <code>Restarting</code>, <code>RunningFailed</code> and
* <code>Terminating</code>. All other states are terminal states. </p>
*/
inline BatchPolicy& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;}
private:
long long m_timeoutInSeconds;
bool m_timeoutInSecondsHasBeenSet;
int m_maxConcurrency;
bool m_maxConcurrencyHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CancelDeploymentJobRequest : public RoboMakerRequest
{
public:
CancelDeploymentJobRequest();
// 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 "CancelDeploymentJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline CancelDeploymentJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline CancelDeploymentJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The deployment job ARN to cancel.</p>
*/
inline CancelDeploymentJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CancelDeploymentJobResult
{
public:
CancelDeploymentJobResult();
CancelDeploymentJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelDeploymentJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CancelSimulationJobBatchRequest : public RoboMakerRequest
{
public:
CancelSimulationJobBatchRequest();
// 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 "CancelSimulationJobBatch"; }
Aws::String SerializePayload() const override;
/**
* <p>The id of the batch to cancel.</p>
*/
inline const Aws::String& GetBatch() const{ return m_batch; }
/**
* <p>The id of the batch to cancel.</p>
*/
inline bool BatchHasBeenSet() const { return m_batchHasBeenSet; }
/**
* <p>The id of the batch to cancel.</p>
*/
inline void SetBatch(const Aws::String& value) { m_batchHasBeenSet = true; m_batch = value; }
/**
* <p>The id of the batch to cancel.</p>
*/
inline void SetBatch(Aws::String&& value) { m_batchHasBeenSet = true; m_batch = std::move(value); }
/**
* <p>The id of the batch to cancel.</p>
*/
inline void SetBatch(const char* value) { m_batchHasBeenSet = true; m_batch.assign(value); }
/**
* <p>The id of the batch to cancel.</p>
*/
inline CancelSimulationJobBatchRequest& WithBatch(const Aws::String& value) { SetBatch(value); return *this;}
/**
* <p>The id of the batch to cancel.</p>
*/
inline CancelSimulationJobBatchRequest& WithBatch(Aws::String&& value) { SetBatch(std::move(value)); return *this;}
/**
* <p>The id of the batch to cancel.</p>
*/
inline CancelSimulationJobBatchRequest& WithBatch(const char* value) { SetBatch(value); return *this;}
private:
Aws::String m_batch;
bool m_batchHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CancelSimulationJobBatchResult
{
public:
CancelSimulationJobBatchResult();
CancelSimulationJobBatchResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelSimulationJobBatchResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CancelSimulationJobRequest : public RoboMakerRequest
{
public:
CancelSimulationJobRequest();
// 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 "CancelSimulationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline CancelSimulationJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline CancelSimulationJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The simulation job ARN to cancel.</p>
*/
inline CancelSimulationJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CancelSimulationJobResult
{
public:
CancelSimulationJobResult();
CancelSimulationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelSimulationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CancelWorldExportJobRequest : public RoboMakerRequest
{
public:
CancelWorldExportJobRequest();
// 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 "CancelWorldExportJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline CancelWorldExportJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline CancelWorldExportJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world export job to cancel.</p>
*/
inline CancelWorldExportJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CancelWorldExportJobResult
{
public:
CancelWorldExportJobResult();
CancelWorldExportJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelWorldExportJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CancelWorldGenerationJobRequest : public RoboMakerRequest
{
public:
CancelWorldGenerationJobRequest();
// 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 "CancelWorldGenerationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline CancelWorldGenerationJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline CancelWorldGenerationJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generator job to cancel.</p>
*/
inline CancelWorldGenerationJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CancelWorldGenerationJobResult
{
public:
CancelWorldGenerationJobResult();
CancelWorldGenerationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Compute information for the simulation job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/Compute">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API Compute
{
public:
Compute();
Compute(Aws::Utils::Json::JsonView jsonValue);
Compute& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline int GetSimulationUnitLimit() const{ return m_simulationUnitLimit; }
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline bool SimulationUnitLimitHasBeenSet() const { return m_simulationUnitLimitHasBeenSet; }
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline void SetSimulationUnitLimit(int value) { m_simulationUnitLimitHasBeenSet = true; m_simulationUnitLimit = value; }
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline Compute& WithSimulationUnitLimit(int value) { SetSimulationUnitLimit(value); return *this;}
private:
int m_simulationUnitLimit;
bool m_simulationUnitLimitHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Compute information for the simulation job</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ComputeResponse">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API ComputeResponse
{
public:
ComputeResponse();
ComputeResponse(Aws::Utils::Json::JsonView jsonValue);
ComputeResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline int GetSimulationUnitLimit() const{ return m_simulationUnitLimit; }
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline bool SimulationUnitLimitHasBeenSet() const { return m_simulationUnitLimitHasBeenSet; }
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline void SetSimulationUnitLimit(int value) { m_simulationUnitLimitHasBeenSet = true; m_simulationUnitLimit = value; }
/**
* <p>The simulation unit limit. Your simulation is allocated CPU and memory
* proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu
* and 2GB of memory. You are only billed for the SU utilization you consume up to
* the maximim value provided. The default is 15. </p>
*/
inline ComputeResponse& WithSimulationUnitLimit(int value) { SetSimulationUnitLimit(value); return *this;}
private:
int m_simulationUnitLimit;
bool m_simulationUnitLimitHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,300 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/robomaker/model/DeploymentConfig.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/DeploymentApplicationConfig.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateDeploymentJobRequest : public RoboMakerRequest
{
public:
CreateDeploymentJobRequest();
// 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 "CreateDeploymentJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The requested deployment configuration.</p>
*/
inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
/**
* <p>The requested deployment configuration.</p>
*/
inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
/**
* <p>The requested deployment configuration.</p>
*/
inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
/**
* <p>The requested deployment configuration.</p>
*/
inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
/**
* <p>The requested deployment configuration.</p>
*/
inline CreateDeploymentJobRequest& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
/**
* <p>The requested deployment configuration.</p>
*/
inline CreateDeploymentJobRequest& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateDeploymentJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateDeploymentJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateDeploymentJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline CreateDeploymentJobRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline CreateDeploymentJobRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet to deploy.</p>
*/
inline CreateDeploymentJobRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
/**
* <p>The deployment application configuration.</p>
*/
inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = value; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = std::move(value); }
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobRequest& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobRequest& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobRequest& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(value); return *this; }
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobRequest& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* deployment job.</p>
*/
inline CreateDeploymentJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
DeploymentConfig m_deploymentConfig;
bool m_deploymentConfigHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::String m_fleet;
bool m_fleetHasBeenSet;
Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
bool m_deploymentApplicationConfigsHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,493 @@
/**
* 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/DeploymentStatus.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/DeploymentJobErrorCode.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/DeploymentConfig.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/DeploymentApplicationConfig.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateDeploymentJobResult
{
public:
CreateDeploymentJobResult();
CreateDeploymentJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateDeploymentJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The target fleet for the deployment job.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The target fleet for the deployment job.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleet = value; }
/**
* <p>The target fleet for the deployment job.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleet = std::move(value); }
/**
* <p>The target fleet for the deployment job.</p>
*/
inline void SetFleet(const char* value) { m_fleet.assign(value); }
/**
* <p>The target fleet for the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The target fleet for the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The target fleet for the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithFleet(const char* value) { SetFleet(value); return *this;}
/**
* <p>The status of the deployment job.</p>
*/
inline const DeploymentStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the deployment job.</p>
*/
inline void SetStatus(const DeploymentStatus& value) { m_status = value; }
/**
* <p>The status of the deployment job.</p>
*/
inline void SetStatus(DeploymentStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigs = value; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigs = std::move(value); }
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobResult& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobResult& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobResult& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigs.push_back(value); return *this; }
/**
* <p>The deployment application configuration.</p>
*/
inline CreateDeploymentJobResult& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline CreateDeploymentJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline CreateDeploymentJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The failure reason of the deployment job if it failed.</p>
*/
inline CreateDeploymentJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>BadPermissionError</dt> <dd> <p>AWS Greengrass requires a service-level role
* permission to access other services. The role must include the <a
* href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor">
* <code>AWSGreengrassResourceAccessRolePolicy</code> managed policy</a>. </p>
* </dd> <dt>ExtractingBundleFailure</dt> <dd> <p>The robot application could not
* be extracted from the bundle.</p> </dd> <dt>FailureThresholdBreached</dt> <dd>
* <p>The percentage of robots that could not be updated exceeded the percentage
* set for the deployment.</p> </dd> <dt>GreengrassDeploymentFailed</dt> <dd>
* <p>The robot application could not be deployed to the robot.</p> </dd>
* <dt>GreengrassGroupVersionDoesNotExist</dt> <dd> <p>The AWS Greengrass group or
* version associated with a robot is missing.</p> </dd>
* <dt>InternalServerError</dt> <dd> <p>An internal error has occurred. Retry your
* request, but if the problem persists, contact us with details.</p> </dd>
* <dt>MissingRobotApplicationArchitecture</dt> <dd> <p>The robot application does
* not have a source that matches the architecture of the robot.</p> </dd>
* <dt>MissingRobotDeploymentResource</dt> <dd> <p>One or more of the resources
* specified for the robot application are missing. For example, does the robot
* application have the correct launch package and launch file?</p> </dd>
* <dt>PostLaunchFileFailure</dt> <dd> <p>The post-launch script failed.</p> </dd>
* <dt>PreLaunchFileFailure</dt> <dd> <p>The pre-launch script failed.</p> </dd>
* <dt>ResourceNotFound</dt> <dd> <p>One or more deployment resources are missing.
* For example, do robot application source bundles still exist? </p> </dd>
* <dt>RobotDeploymentNoResponse</dt> <dd> <p>There is no response from the robot.
* It might not be powered on or connected to the internet.</p> </dd> </dl>
*/
inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>BadPermissionError</dt> <dd> <p>AWS Greengrass requires a service-level role
* permission to access other services. The role must include the <a
* href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor">
* <code>AWSGreengrassResourceAccessRolePolicy</code> managed policy</a>. </p>
* </dd> <dt>ExtractingBundleFailure</dt> <dd> <p>The robot application could not
* be extracted from the bundle.</p> </dd> <dt>FailureThresholdBreached</dt> <dd>
* <p>The percentage of robots that could not be updated exceeded the percentage
* set for the deployment.</p> </dd> <dt>GreengrassDeploymentFailed</dt> <dd>
* <p>The robot application could not be deployed to the robot.</p> </dd>
* <dt>GreengrassGroupVersionDoesNotExist</dt> <dd> <p>The AWS Greengrass group or
* version associated with a robot is missing.</p> </dd>
* <dt>InternalServerError</dt> <dd> <p>An internal error has occurred. Retry your
* request, but if the problem persists, contact us with details.</p> </dd>
* <dt>MissingRobotApplicationArchitecture</dt> <dd> <p>The robot application does
* not have a source that matches the architecture of the robot.</p> </dd>
* <dt>MissingRobotDeploymentResource</dt> <dd> <p>One or more of the resources
* specified for the robot application are missing. For example, does the robot
* application have the correct launch package and launch file?</p> </dd>
* <dt>PostLaunchFileFailure</dt> <dd> <p>The post-launch script failed.</p> </dd>
* <dt>PreLaunchFileFailure</dt> <dd> <p>The pre-launch script failed.</p> </dd>
* <dt>ResourceNotFound</dt> <dd> <p>One or more deployment resources are missing.
* For example, do robot application source bundles still exist? </p> </dd>
* <dt>RobotDeploymentNoResponse</dt> <dd> <p>There is no response from the robot.
* It might not be powered on or connected to the internet.</p> </dd> </dl>
*/
inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>BadPermissionError</dt> <dd> <p>AWS Greengrass requires a service-level role
* permission to access other services. The role must include the <a
* href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor">
* <code>AWSGreengrassResourceAccessRolePolicy</code> managed policy</a>. </p>
* </dd> <dt>ExtractingBundleFailure</dt> <dd> <p>The robot application could not
* be extracted from the bundle.</p> </dd> <dt>FailureThresholdBreached</dt> <dd>
* <p>The percentage of robots that could not be updated exceeded the percentage
* set for the deployment.</p> </dd> <dt>GreengrassDeploymentFailed</dt> <dd>
* <p>The robot application could not be deployed to the robot.</p> </dd>
* <dt>GreengrassGroupVersionDoesNotExist</dt> <dd> <p>The AWS Greengrass group or
* version associated with a robot is missing.</p> </dd>
* <dt>InternalServerError</dt> <dd> <p>An internal error has occurred. Retry your
* request, but if the problem persists, contact us with details.</p> </dd>
* <dt>MissingRobotApplicationArchitecture</dt> <dd> <p>The robot application does
* not have a source that matches the architecture of the robot.</p> </dd>
* <dt>MissingRobotDeploymentResource</dt> <dd> <p>One or more of the resources
* specified for the robot application are missing. For example, does the robot
* application have the correct launch package and launch file?</p> </dd>
* <dt>PostLaunchFileFailure</dt> <dd> <p>The post-launch script failed.</p> </dd>
* <dt>PreLaunchFileFailure</dt> <dd> <p>The pre-launch script failed.</p> </dd>
* <dt>ResourceNotFound</dt> <dd> <p>One or more deployment resources are missing.
* For example, do robot application source bundles still exist? </p> </dd>
* <dt>RobotDeploymentNoResponse</dt> <dd> <p>There is no response from the robot.
* It might not be powered on or connected to the internet.</p> </dd> </dl>
*/
inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>BadPermissionError</dt> <dd> <p>AWS Greengrass requires a service-level role
* permission to access other services. The role must include the <a
* href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor">
* <code>AWSGreengrassResourceAccessRolePolicy</code> managed policy</a>. </p>
* </dd> <dt>ExtractingBundleFailure</dt> <dd> <p>The robot application could not
* be extracted from the bundle.</p> </dd> <dt>FailureThresholdBreached</dt> <dd>
* <p>The percentage of robots that could not be updated exceeded the percentage
* set for the deployment.</p> </dd> <dt>GreengrassDeploymentFailed</dt> <dd>
* <p>The robot application could not be deployed to the robot.</p> </dd>
* <dt>GreengrassGroupVersionDoesNotExist</dt> <dd> <p>The AWS Greengrass group or
* version associated with a robot is missing.</p> </dd>
* <dt>InternalServerError</dt> <dd> <p>An internal error has occurred. Retry your
* request, but if the problem persists, contact us with details.</p> </dd>
* <dt>MissingRobotApplicationArchitecture</dt> <dd> <p>The robot application does
* not have a source that matches the architecture of the robot.</p> </dd>
* <dt>MissingRobotDeploymentResource</dt> <dd> <p>One or more of the resources
* specified for the robot application are missing. For example, does the robot
* application have the correct launch package and launch file?</p> </dd>
* <dt>PostLaunchFileFailure</dt> <dd> <p>The post-launch script failed.</p> </dd>
* <dt>PreLaunchFileFailure</dt> <dd> <p>The pre-launch script failed.</p> </dd>
* <dt>ResourceNotFound</dt> <dd> <p>One or more deployment resources are missing.
* For example, do robot application source bundles still exist? </p> </dd>
* <dt>RobotDeploymentNoResponse</dt> <dd> <p>There is no response from the robot.
* It might not be powered on or connected to the internet.</p> </dd> </dl>
*/
inline CreateDeploymentJobResult& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>BadPermissionError</dt> <dd> <p>AWS Greengrass requires a service-level role
* permission to access other services. The role must include the <a
* href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor">
* <code>AWSGreengrassResourceAccessRolePolicy</code> managed policy</a>. </p>
* </dd> <dt>ExtractingBundleFailure</dt> <dd> <p>The robot application could not
* be extracted from the bundle.</p> </dd> <dt>FailureThresholdBreached</dt> <dd>
* <p>The percentage of robots that could not be updated exceeded the percentage
* set for the deployment.</p> </dd> <dt>GreengrassDeploymentFailed</dt> <dd>
* <p>The robot application could not be deployed to the robot.</p> </dd>
* <dt>GreengrassGroupVersionDoesNotExist</dt> <dd> <p>The AWS Greengrass group or
* version associated with a robot is missing.</p> </dd>
* <dt>InternalServerError</dt> <dd> <p>An internal error has occurred. Retry your
* request, but if the problem persists, contact us with details.</p> </dd>
* <dt>MissingRobotApplicationArchitecture</dt> <dd> <p>The robot application does
* not have a source that matches the architecture of the robot.</p> </dd>
* <dt>MissingRobotDeploymentResource</dt> <dd> <p>One or more of the resources
* specified for the robot application are missing. For example, does the robot
* application have the correct launch package and launch file?</p> </dd>
* <dt>PostLaunchFileFailure</dt> <dd> <p>The post-launch script failed.</p> </dd>
* <dt>PreLaunchFileFailure</dt> <dd> <p>The pre-launch script failed.</p> </dd>
* <dt>ResourceNotFound</dt> <dd> <p>One or more deployment resources are missing.
* For example, do robot application source bundles still exist? </p> </dd>
* <dt>RobotDeploymentNoResponse</dt> <dd> <p>There is no response from the robot.
* It might not be powered on or connected to the internet.</p> </dd> </dl>
*/
inline CreateDeploymentJobResult& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline CreateDeploymentJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline CreateDeploymentJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The deployment configuration.</p>
*/
inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
/**
* <p>The deployment configuration.</p>
*/
inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfig = value; }
/**
* <p>The deployment configuration.</p>
*/
inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfig = std::move(value); }
/**
* <p>The deployment configuration.</p>
*/
inline CreateDeploymentJobResult& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
/**
* <p>The deployment configuration.</p>
*/
inline CreateDeploymentJobResult& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the deployment job.</p>
*/
inline CreateDeploymentJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_fleet;
DeploymentStatus m_status;
Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
Aws::String m_failureReason;
DeploymentJobErrorCode m_failureCode;
Aws::Utils::DateTime m_createdAt;
DeploymentConfig m_deploymentConfig;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,166 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateFleetRequest : public RoboMakerRequest
{
public:
CreateFleetRequest();
// 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 "CreateFleet"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the fleet.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the fleet.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the fleet.</p>
*/
inline CreateFleetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline CreateFleetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline CreateFleetRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* fleet.</p>
*/
inline CreateFleetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,208 @@
/**
* 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/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateFleetResult
{
public:
CreateFleetResult();
CreateFleetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateFleetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline CreateFleetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline CreateFleetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline CreateFleetResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the fleet.</p>
*/
inline CreateFleetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline CreateFleetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline CreateFleetResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline CreateFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline CreateFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the fleet.</p>
*/
inline CreateFleetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::Utils::DateTime m_createdAt;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,253 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/SourceConfig.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateRobotApplicationRequest : public RoboMakerRequest
{
public:
CreateRobotApplicationRequest();
// 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 "CreateRobotApplication"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the robot application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the robot application.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the robot application.</p>
*/
inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationRequest& WithSources(const Aws::Vector<SourceConfig>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The robot software suite (ROS distribuition) used by the robot
* application.</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>The robot software suite (ROS distribuition) used by the robot
* application.</p>
*/
inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
/**
* <p>The robot software suite (ROS distribuition) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
/**
* <p>The robot software suite (ROS distribuition) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
/**
* <p>The robot software suite (ROS distribuition) used by the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>The robot software suite (ROS distribuition) used by the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the robot
* application.</p>
*/
inline CreateRobotApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<SourceConfig> m_sources;
bool m_sourcesHasBeenSet;
RobotSoftwareSuite m_robotSoftwareSuite;
bool m_robotSoftwareSuiteHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,363 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateRobotApplicationResult
{
public:
CreateRobotApplicationResult();
CreateRobotApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(const Aws::String& value) { m_version = value; }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(const char* value) { m_version.assign(value); }
/**
* <p>The version of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline CreateRobotApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline CreateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline CreateRobotApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline CreateRobotApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
/**
* <p>The revision id of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline CreateRobotApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the robot application.</p>
*/
inline CreateRobotApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_version;
Aws::Vector<Source> m_sources;
RobotSoftwareSuite m_robotSoftwareSuite;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::String m_revisionId;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,135 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateRobotApplicationVersionRequest : public RoboMakerRequest
{
public:
CreateRobotApplicationVersionRequest();
// 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 "CreateRobotApplicationVersion"; }
Aws::String SerializePayload() const override;
/**
* <p>The application information for the robot application.</p>
*/
inline const Aws::String& GetApplication() const{ return m_application; }
/**
* <p>The application information for the robot application.</p>
*/
inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
/**
* <p>The application information for the robot application.</p>
*/
inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
/**
* <p>The application information for the robot application.</p>
*/
inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
/**
* <p>The application information for the robot application.</p>
*/
inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
/**
* <p>The application information for the robot application.</p>
*/
inline CreateRobotApplicationVersionRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The application information for the robot application.</p>
*/
inline CreateRobotApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The application information for the robot application.</p>
*/
inline CreateRobotApplicationVersionRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;}
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
/**
* <p>The current revision id for the robot application. If you provide a value and
* it matches the latest revision ID, a new version will be created.</p>
*/
inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_currentRevisionId;
bool m_currentRevisionIdHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,299 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateRobotApplicationVersionResult
{
public:
CreateRobotApplicationVersionResult();
CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateRobotApplicationVersionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(const Aws::String& value) { m_version = value; }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(const char* value) { m_version.assign(value); }
/**
* <p>The version of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* <p>The sources of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline CreateRobotApplicationVersionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline CreateRobotApplicationVersionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
/**
* <p>The revision id of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline CreateRobotApplicationVersionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_version;
Aws::Vector<Source> m_sources;
RobotSoftwareSuite m_robotSoftwareSuite;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::String m_revisionId;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,245 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/Architecture.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateRobotRequest : public RoboMakerRequest
{
public:
CreateRobotRequest();
// 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 "CreateRobot"; }
Aws::String SerializePayload() const override;
/**
* <p>The name for the robot.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name for the robot.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name for the robot.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name for the robot.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name for the robot.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name for the robot.</p>
*/
inline CreateRobotRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name for the robot.</p>
*/
inline CreateRobotRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name for the robot.</p>
*/
inline CreateRobotRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The target architecture of the robot.</p>
*/
inline const Architecture& GetArchitecture() const{ return m_architecture; }
/**
* <p>The target architecture of the robot.</p>
*/
inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
/**
* <p>The target architecture of the robot.</p>
*/
inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
/**
* <p>The target architecture of the robot.</p>
*/
inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
/**
* <p>The target architecture of the robot.</p>
*/
inline CreateRobotRequest& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
/**
* <p>The target architecture of the robot.</p>
*/
inline CreateRobotRequest& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
/**
* <p>The Greengrass group id.</p>
*/
inline const Aws::String& GetGreengrassGroupId() const{ return m_greengrassGroupId; }
/**
* <p>The Greengrass group id.</p>
*/
inline bool GreengrassGroupIdHasBeenSet() const { return m_greengrassGroupIdHasBeenSet; }
/**
* <p>The Greengrass group id.</p>
*/
inline void SetGreengrassGroupId(const Aws::String& value) { m_greengrassGroupIdHasBeenSet = true; m_greengrassGroupId = value; }
/**
* <p>The Greengrass group id.</p>
*/
inline void SetGreengrassGroupId(Aws::String&& value) { m_greengrassGroupIdHasBeenSet = true; m_greengrassGroupId = std::move(value); }
/**
* <p>The Greengrass group id.</p>
*/
inline void SetGreengrassGroupId(const char* value) { m_greengrassGroupIdHasBeenSet = true; m_greengrassGroupId.assign(value); }
/**
* <p>The Greengrass group id.</p>
*/
inline CreateRobotRequest& WithGreengrassGroupId(const Aws::String& value) { SetGreengrassGroupId(value); return *this;}
/**
* <p>The Greengrass group id.</p>
*/
inline CreateRobotRequest& WithGreengrassGroupId(Aws::String&& value) { SetGreengrassGroupId(std::move(value)); return *this;}
/**
* <p>The Greengrass group id.</p>
*/
inline CreateRobotRequest& WithGreengrassGroupId(const char* value) { SetGreengrassGroupId(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* robot.</p>
*/
inline CreateRobotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Architecture m_architecture;
bool m_architectureHasBeenSet;
Aws::String m_greengrassGroupId;
bool m_greengrassGroupIdHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,282 @@
/**
* 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/DateTime.h>
#include <aws/robomaker/model/Architecture.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateRobotResult
{
public:
CreateRobotResult();
CreateRobotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateRobotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline CreateRobotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline CreateRobotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline CreateRobotResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the robot.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the robot.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the robot.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the robot.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the robot.</p>
*/
inline CreateRobotResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the robot.</p>
*/
inline CreateRobotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the robot.</p>
*/
inline CreateRobotResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline CreateRobotResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline CreateRobotResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline const Aws::String& GetGreengrassGroupId() const{ return m_greengrassGroupId; }
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline void SetGreengrassGroupId(const Aws::String& value) { m_greengrassGroupId = value; }
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline void SetGreengrassGroupId(Aws::String&& value) { m_greengrassGroupId = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline void SetGreengrassGroupId(const char* value) { m_greengrassGroupId.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline CreateRobotResult& WithGreengrassGroupId(const Aws::String& value) { SetGreengrassGroupId(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline CreateRobotResult& WithGreengrassGroupId(Aws::String&& value) { SetGreengrassGroupId(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the
* robot.</p>
*/
inline CreateRobotResult& WithGreengrassGroupId(const char* value) { SetGreengrassGroupId(value); return *this;}
/**
* <p>The target architecture of the robot.</p>
*/
inline const Architecture& GetArchitecture() const{ return m_architecture; }
/**
* <p>The target architecture of the robot.</p>
*/
inline void SetArchitecture(const Architecture& value) { m_architecture = value; }
/**
* <p>The target architecture of the robot.</p>
*/
inline void SetArchitecture(Architecture&& value) { m_architecture = std::move(value); }
/**
* <p>The target architecture of the robot.</p>
*/
inline CreateRobotResult& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
/**
* <p>The target architecture of the robot.</p>
*/
inline CreateRobotResult& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the robot.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the robot.</p>
*/
inline CreateRobotResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::Utils::DateTime m_createdAt;
Aws::String m_greengrassGroupId;
Architecture m_architecture;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,323 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/SimulationSoftwareSuite.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/robomaker/model/RenderingEngine.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/SourceConfig.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateSimulationApplicationRequest : public RoboMakerRequest
{
public:
CreateSimulationApplicationRequest();
// 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 "CreateSimulationApplication"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the simulation application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the simulation application.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the simulation application.</p>
*/
inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithSources(const Aws::Vector<SourceConfig>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = value; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = std::move(value); }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { SetSimulationSoftwareSuite(value); return *this;}
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { SetSimulationSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The robot software suite (ROS distribution) used by the simulation
* application.</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>The robot software suite (ROS distribution) used by the simulation
* application.</p>
*/
inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
/**
* <p>The robot software suite (ROS distribution) used by the simulation
* application.</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
/**
* <p>The robot software suite (ROS distribution) used by the simulation
* application.</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
/**
* <p>The robot software suite (ROS distribution) used by the simulation
* application.</p>
*/
inline CreateSimulationApplicationRequest& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>The robot software suite (ROS distribution) used by the simulation
* application.</p>
*/
inline CreateSimulationApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = value; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = std::move(value); }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithRenderingEngine(const RenderingEngine& value) { SetRenderingEngine(value); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithRenderingEngine(RenderingEngine&& value) { SetRenderingEngine(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation application.</p>
*/
inline CreateSimulationApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<SourceConfig> m_sources;
bool m_sourcesHasBeenSet;
SimulationSoftwareSuite m_simulationSoftwareSuite;
bool m_simulationSoftwareSuiteHasBeenSet;
RobotSoftwareSuite m_robotSoftwareSuite;
bool m_robotSoftwareSuiteHasBeenSet;
RenderingEngine m_renderingEngine;
bool m_renderingEngineHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,416 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/SimulationSoftwareSuite.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/robomaker/model/RenderingEngine.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateSimulationApplicationResult
{
public:
CreateSimulationApplicationResult();
CreateSimulationApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(const Aws::String& value) { m_version = value; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(const char* value) { m_version.assign(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuite = value; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuite = std::move(value); }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { SetSimulationSoftwareSuite(value); return *this;}
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { SetSimulationSoftwareSuite(std::move(value)); return *this;}
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline CreateSimulationApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline CreateSimulationApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngine = value; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngine = std::move(value); }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithRenderingEngine(const RenderingEngine& value) { SetRenderingEngine(value); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithRenderingEngine(RenderingEngine&& value) { SetRenderingEngine(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline CreateSimulationApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline CreateSimulationApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The revision id of the simulation application.</p>
*/
inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
/**
* <p>The revision id of the simulation application.</p>
*/
inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
/**
* <p>The revision id of the simulation application.</p>
*/
inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
/**
* <p>The revision id of the simulation application.</p>
*/
inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
/**
* <p>The revision id of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
/**
* <p>The revision id of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
/**
* <p>The revision id of the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the simulation application.</p>
*/
inline CreateSimulationApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_version;
Aws::Vector<Source> m_sources;
SimulationSoftwareSuite m_simulationSoftwareSuite;
RobotSoftwareSuite m_robotSoftwareSuite;
RenderingEngine m_renderingEngine;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::String m_revisionId;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,135 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateSimulationApplicationVersionRequest : public RoboMakerRequest
{
public:
CreateSimulationApplicationVersionRequest();
// 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 "CreateSimulationApplicationVersion"; }
Aws::String SerializePayload() const override;
/**
* <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 CreateSimulationApplicationVersionRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The application information for the simulation application.</p>
*/
inline CreateSimulationApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The application information for the simulation application.</p>
*/
inline CreateSimulationApplicationVersionRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;}
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
/**
* <p>The current revision id for the simulation application. If you provide a
* value and it matches the latest revision ID, a new version will be created.</p>
*/
inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_currentRevisionId;
bool m_currentRevisionIdHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,352 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/SimulationSoftwareSuite.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/robomaker/model/RenderingEngine.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateSimulationApplicationVersionResult
{
public:
CreateSimulationApplicationVersionResult();
CreateSimulationApplicationVersionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSimulationApplicationVersionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(const Aws::String& value) { m_version = value; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(const char* value) { m_version.assign(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* <p>The sources of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuite = value; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuite = std::move(value); }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { SetSimulationSoftwareSuite(value); return *this;}
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { SetSimulationSoftwareSuite(std::move(value)); return *this;}
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline CreateSimulationApplicationVersionResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline CreateSimulationApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngine = value; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngine = std::move(value); }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithRenderingEngine(const RenderingEngine& value) { SetRenderingEngine(value); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithRenderingEngine(RenderingEngine&& value) { SetRenderingEngine(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline CreateSimulationApplicationVersionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline CreateSimulationApplicationVersionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The revision ID of the simulation application.</p>
*/
inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
/**
* <p>The revision ID of the simulation application.</p>
*/
inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
/**
* <p>The revision ID of the simulation application.</p>
*/
inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
/**
* <p>The revision ID of the simulation application.</p>
*/
inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
/**
* <p>The revision ID of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
/**
* <p>The revision ID of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
/**
* <p>The revision ID of the simulation application.</p>
*/
inline CreateSimulationApplicationVersionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_version;
Aws::Vector<Source> m_sources;
SimulationSoftwareSuite m_simulationSoftwareSuite;
RobotSoftwareSuite m_robotSoftwareSuite;
RenderingEngine m_renderingEngine;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::String m_revisionId;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,640 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/OutputLocation.h>
#include <aws/robomaker/model/LoggingConfig.h>
#include <aws/robomaker/model/FailureBehavior.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/VPCConfig.h>
#include <aws/robomaker/model/Compute.h>
#include <aws/robomaker/model/RobotApplicationConfig.h>
#include <aws/robomaker/model/SimulationApplicationConfig.h>
#include <aws/robomaker/model/DataSourceConfig.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateSimulationJobRequest : public RoboMakerRequest
{
public:
CreateSimulationJobRequest();
// 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 "CreateSimulationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateSimulationJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateSimulationJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateSimulationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
/**
* <p>The logging configuration.</p>
*/
inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
/**
* <p>The logging configuration.</p>
*/
inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
/**
* <p>The logging configuration.</p>
*/
inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = value; }
/**
* <p>The logging configuration.</p>
*/
inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::move(value); }
/**
* <p>The logging configuration.</p>
*/
inline CreateSimulationJobRequest& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
/**
* <p>The logging configuration.</p>
*/
inline CreateSimulationJobRequest& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
/**
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
* job will status will transition to <code>Completed</code>.</p>
*/
inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; }
/**
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
* job will status will transition to <code>Completed</code>.</p>
*/
inline bool MaxJobDurationInSecondsHasBeenSet() const { return m_maxJobDurationInSecondsHasBeenSet; }
/**
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
* job will status will transition to <code>Completed</code>.</p>
*/
inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSecondsHasBeenSet = true; m_maxJobDurationInSeconds = value; }
/**
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
* job will status will transition to <code>Completed</code>.</p>
*/
inline CreateSimulationJobRequest& WithMaxJobDurationInSeconds(long long value) { SetMaxJobDurationInSeconds(value); return *this;}
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline CreateSimulationJobRequest& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline CreateSimulationJobRequest& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
/**
* <p>The IAM role name that allows the simulation instance to call the AWS APIs
* that are specified in its associated policies on your behalf. This is how
* credentials are passed in to your simulation job. </p>
*/
inline CreateSimulationJobRequest& WithIamRole(const char* value) { SetIamRole(value); return *this;}
/**
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
*/
inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; }
/**
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
*/
inline bool FailureBehaviorHasBeenSet() const { return m_failureBehaviorHasBeenSet; }
/**
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
*/
inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = value; }
/**
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
*/
inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = std::move(value); }
/**
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
*/
inline CreateSimulationJobRequest& WithFailureBehavior(const FailureBehavior& value) { SetFailureBehavior(value); return *this;}
/**
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
*/
inline CreateSimulationJobRequest& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;}
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const{ return m_robotApplications; }
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; }
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline void SetRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = value; }
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline void SetRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = std::move(value); }
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { SetRobotApplications(value); return *this;}
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { SetRobotApplications(std::move(value)); return *this;}
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.push_back(value); return *this; }
/**
* <p>The robot application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.push_back(std::move(value)); return *this; }
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const{ return m_simulationApplications; }
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; }
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline void SetSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = value; }
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline void SetSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = std::move(value); }
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { SetSimulationApplications(value); return *this;}
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { SetSimulationApplications(std::move(value)); return *this;}
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.push_back(value); return *this; }
/**
* <p>The simulation application to use in the simulation job.</p>
*/
inline CreateSimulationJobRequest& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.push_back(std::move(value)); return *this; }
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline const Aws::Vector<DataSourceConfig>& GetDataSources() const{ return m_dataSources; }
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline void SetDataSources(const Aws::Vector<DataSourceConfig>& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; }
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline void SetDataSources(Aws::Vector<DataSourceConfig>&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); }
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline CreateSimulationJobRequest& WithDataSources(const Aws::Vector<DataSourceConfig>& value) { SetDataSources(value); return *this;}
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline CreateSimulationJobRequest& WithDataSources(Aws::Vector<DataSourceConfig>&& value) { SetDataSources(std::move(value)); return *this;}
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline CreateSimulationJobRequest& AddDataSources(const DataSourceConfig& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(value); return *this; }
/**
* <p>Specify data sources to mount read-only files from S3 into your simulation.
* These files are available under
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
* is a limit of 100 files and a combined size of 25GB for all
* <code>DataSourceConfig</code> objects. </p>
*/
inline CreateSimulationJobRequest& AddDataSources(DataSourceConfig&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job.</p>
*/
inline CreateSimulationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and one
* subnet ID. </p>
*/
inline const VPCConfig& GetVpcConfig() const{ return m_vpcConfig; }
/**
* <p>If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and one
* subnet ID. </p>
*/
inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
/**
* <p>If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and one
* subnet ID. </p>
*/
inline void SetVpcConfig(const VPCConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
/**
* <p>If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and one
* subnet ID. </p>
*/
inline void SetVpcConfig(VPCConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
/**
* <p>If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and one
* subnet ID. </p>
*/
inline CreateSimulationJobRequest& WithVpcConfig(const VPCConfig& value) { SetVpcConfig(value); return *this;}
/**
* <p>If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and one
* subnet ID. </p>
*/
inline CreateSimulationJobRequest& WithVpcConfig(VPCConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
/**
* <p>Compute information for the simulation job.</p>
*/
inline const Compute& GetCompute() const{ return m_compute; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline void SetCompute(const Compute& value) { m_computeHasBeenSet = true; m_compute = value; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline void SetCompute(Compute&& value) { m_computeHasBeenSet = true; m_compute = std::move(value); }
/**
* <p>Compute information for the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithCompute(const Compute& value) { SetCompute(value); return *this;}
/**
* <p>Compute information for the simulation job.</p>
*/
inline CreateSimulationJobRequest& WithCompute(Compute&& value) { SetCompute(std::move(value)); return *this;}
private:
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
OutputLocation m_outputLocation;
bool m_outputLocationHasBeenSet;
LoggingConfig m_loggingConfig;
bool m_loggingConfigHasBeenSet;
long long m_maxJobDurationInSeconds;
bool m_maxJobDurationInSecondsHasBeenSet;
Aws::String m_iamRole;
bool m_iamRoleHasBeenSet;
FailureBehavior m_failureBehavior;
bool m_failureBehaviorHasBeenSet;
Aws::Vector<RobotApplicationConfig> m_robotApplications;
bool m_robotApplicationsHasBeenSet;
Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
bool m_simulationApplicationsHasBeenSet;
Aws::Vector<DataSourceConfig> m_dataSources;
bool m_dataSourcesHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
VPCConfig m_vpcConfig;
bool m_vpcConfigHasBeenSet;
Compute m_compute;
bool m_computeHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,765 @@
/**
* 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/SimulationJobStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/FailureBehavior.h>
#include <aws/robomaker/model/SimulationJobErrorCode.h>
#include <aws/robomaker/model/OutputLocation.h>
#include <aws/robomaker/model/LoggingConfig.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/VPCConfigResponse.h>
#include <aws/robomaker/model/ComputeResponse.h>
#include <aws/robomaker/model/RobotApplicationConfig.h>
#include <aws/robomaker/model/SimulationApplicationConfig.h>
#include <aws/robomaker/model/DataSource.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateSimulationJobResult
{
public:
CreateSimulationJobResult();
CreateSimulationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSimulationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline CreateSimulationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline CreateSimulationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline CreateSimulationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the simulation job.</p>
*/
inline const SimulationJobStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the simulation job.</p>
*/
inline void SetStatus(const SimulationJobStatus& value) { m_status = value; }
/**
* <p>The status of the simulation job.</p>
*/
inline void SetStatus(SimulationJobStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the simulation job.</p>
*/
inline CreateSimulationJobResult& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the simulation job.</p>
*/
inline CreateSimulationJobResult& WithStatus(SimulationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline const Aws::Utils::DateTime& GetLastStartedAt() const{ return m_lastStartedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline void SetLastStartedAt(const Aws::Utils::DateTime& value) { m_lastStartedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline void SetLastStartedAt(Aws::Utils::DateTime&& value) { m_lastStartedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline CreateSimulationJobResult& WithLastStartedAt(const Aws::Utils::DateTime& value) { SetLastStartedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline CreateSimulationJobResult& WithLastStartedAt(Aws::Utils::DateTime&& value) { SetLastStartedAt(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline CreateSimulationJobResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline CreateSimulationJobResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>the failure behavior for the simulation job.</p>
*/
inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; }
/**
* <p>the failure behavior for the simulation job.</p>
*/
inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehavior = value; }
/**
* <p>the failure behavior for the simulation job.</p>
*/
inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehavior = std::move(value); }
/**
* <p>the failure behavior for the simulation job.</p>
*/
inline CreateSimulationJobResult& WithFailureBehavior(const FailureBehavior& value) { SetFailureBehavior(value); return *this;}
/**
* <p>the failure behavior for the simulation job.</p>
*/
inline CreateSimulationJobResult& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;}
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline CreateSimulationJobResult& WithFailureCode(const SimulationJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline CreateSimulationJobResult& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateSimulationJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateSimulationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateSimulationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>Simulation job output files location.</p>
*/
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
/**
* <p>Simulation job output files location.</p>
*/
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocation = value; }
/**
* <p>Simulation job output files location.</p>
*/
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocation = std::move(value); }
/**
* <p>Simulation job output files location.</p>
*/
inline CreateSimulationJobResult& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
/**
* <p>Simulation job output files location.</p>
*/
inline CreateSimulationJobResult& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
/**
* <p>The logging configuration.</p>
*/
inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
/**
* <p>The logging configuration.</p>
*/
inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfig = value; }
/**
* <p>The logging configuration.</p>
*/
inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfig = std::move(value); }
/**
* <p>The logging configuration.</p>
*/
inline CreateSimulationJobResult& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
/**
* <p>The logging configuration.</p>
*/
inline CreateSimulationJobResult& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
/**
* <p>The maximum simulation job duration in seconds. </p>
*/
inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; }
/**
* <p>The maximum simulation job duration in seconds. </p>
*/
inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSeconds = value; }
/**
* <p>The maximum simulation job duration in seconds. </p>
*/
inline CreateSimulationJobResult& WithMaxJobDurationInSeconds(long long value) { SetMaxJobDurationInSeconds(value); return *this;}
/**
* <p>The simulation job execution duration in milliseconds.</p>
*/
inline long long GetSimulationTimeMillis() const{ return m_simulationTimeMillis; }
/**
* <p>The simulation job execution duration in milliseconds.</p>
*/
inline void SetSimulationTimeMillis(long long value) { m_simulationTimeMillis = value; }
/**
* <p>The simulation job execution duration in milliseconds.</p>
*/
inline CreateSimulationJobResult& WithSimulationTimeMillis(long long value) { SetSimulationTimeMillis(value); return *this;}
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline CreateSimulationJobResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline CreateSimulationJobResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
/**
* <p>The IAM role that allows the simulation job to call the AWS APIs that are
* specified in its associated policies on your behalf.</p>
*/
inline CreateSimulationJobResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
/**
* <p>The robot application used by the simulation job.</p>
*/
inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const{ return m_robotApplications; }
/**
* <p>The robot application used by the simulation job.</p>
*/
inline void SetRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { m_robotApplications = value; }
/**
* <p>The robot application used by the simulation job.</p>
*/
inline void SetRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { m_robotApplications = std::move(value); }
/**
* <p>The robot application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& WithRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { SetRobotApplications(value); return *this;}
/**
* <p>The robot application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& WithRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { SetRobotApplications(std::move(value)); return *this;}
/**
* <p>The robot application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplications.push_back(value); return *this; }
/**
* <p>The robot application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplications.push_back(std::move(value)); return *this; }
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const{ return m_simulationApplications; }
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline void SetSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { m_simulationApplications = value; }
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline void SetSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { m_simulationApplications = std::move(value); }
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& WithSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { SetSimulationApplications(value); return *this;}
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& WithSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { SetSimulationApplications(std::move(value)); return *this;}
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplications.push_back(value); return *this; }
/**
* <p>The simulation application used by the simulation job.</p>
*/
inline CreateSimulationJobResult& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplications.push_back(std::move(value)); return *this; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
/**
* <p>The data sources for the simulation job.</p>
*/
inline CreateSimulationJobResult& WithDataSources(const Aws::Vector<DataSource>& value) { SetDataSources(value); return *this;}
/**
* <p>The data sources for the simulation job.</p>
*/
inline CreateSimulationJobResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
/**
* <p>The data sources for the simulation job.</p>
*/
inline CreateSimulationJobResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline CreateSimulationJobResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the simulation job.</p>
*/
inline CreateSimulationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
/**
* <p>Information about the vpc configuration.</p>
*/
inline const VPCConfigResponse& GetVpcConfig() const{ return m_vpcConfig; }
/**
* <p>Information about the vpc configuration.</p>
*/
inline void SetVpcConfig(const VPCConfigResponse& value) { m_vpcConfig = value; }
/**
* <p>Information about the vpc configuration.</p>
*/
inline void SetVpcConfig(VPCConfigResponse&& value) { m_vpcConfig = std::move(value); }
/**
* <p>Information about the vpc configuration.</p>
*/
inline CreateSimulationJobResult& WithVpcConfig(const VPCConfigResponse& value) { SetVpcConfig(value); return *this;}
/**
* <p>Information about the vpc configuration.</p>
*/
inline CreateSimulationJobResult& WithVpcConfig(VPCConfigResponse&& value) { SetVpcConfig(std::move(value)); return *this;}
/**
* <p>Compute information for the simulation job.</p>
*/
inline const ComputeResponse& GetCompute() const{ return m_compute; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline void SetCompute(const ComputeResponse& value) { m_compute = value; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline void SetCompute(ComputeResponse&& value) { m_compute = std::move(value); }
/**
* <p>Compute information for the simulation job.</p>
*/
inline CreateSimulationJobResult& WithCompute(const ComputeResponse& value) { SetCompute(value); return *this;}
/**
* <p>Compute information for the simulation job.</p>
*/
inline CreateSimulationJobResult& WithCompute(ComputeResponse&& value) { SetCompute(std::move(value)); return *this;}
private:
Aws::String m_arn;
SimulationJobStatus m_status;
Aws::Utils::DateTime m_lastStartedAt;
Aws::Utils::DateTime m_lastUpdatedAt;
FailureBehavior m_failureBehavior;
SimulationJobErrorCode m_failureCode;
Aws::String m_clientRequestToken;
OutputLocation m_outputLocation;
LoggingConfig m_loggingConfig;
long long m_maxJobDurationInSeconds;
long long m_simulationTimeMillis;
Aws::String m_iamRole;
Aws::Vector<RobotApplicationConfig> m_robotApplications;
Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
Aws::Vector<DataSource> m_dataSources;
Aws::Map<Aws::String, Aws::String> m_tags;
VPCConfigResponse m_vpcConfig;
ComputeResponse m_compute;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,309 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/OutputLocation.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateWorldExportJobRequest : public RoboMakerRequest
{
public:
CreateWorldExportJobRequest();
// 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 "CreateWorldExportJob"; }
Aws::String SerializePayload() const override;
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldExportJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldExportJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldExportJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worldsHasBeenSet = true; m_worlds = value; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline CreateWorldExportJobRequest& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline CreateWorldExportJobRequest& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline CreateWorldExportJobRequest& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline CreateWorldExportJobRequest& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to
* export.</p>
*/
inline CreateWorldExportJobRequest& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
inline CreateWorldExportJobRequest& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
inline CreateWorldExportJobRequest& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline CreateWorldExportJobRequest& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline CreateWorldExportJobRequest& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline CreateWorldExportJobRequest& WithIamRole(const char* value) { SetIamRole(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::Vector<Aws::String> m_worlds;
bool m_worldsHasBeenSet;
OutputLocation m_outputLocation;
bool m_outputLocationHasBeenSet;
Aws::String m_iamRole;
bool m_iamRoleHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,424 @@
/**
* 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/WorldExportJobStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/WorldExportJobErrorCode.h>
#include <aws/robomaker/model/OutputLocation.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateWorldExportJobResult
{
public:
CreateWorldExportJobResult();
CreateWorldExportJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateWorldExportJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline CreateWorldExportJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline CreateWorldExportJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline CreateWorldExportJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>Canceled</dt> <dd> <p>The world export job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world export job is being cancelled.</p> </dd>
* </dl>
*/
inline const WorldExportJobStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>Canceled</dt> <dd> <p>The world export job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world export job is being cancelled.</p> </dd>
* </dl>
*/
inline void SetStatus(const WorldExportJobStatus& value) { m_status = value; }
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>Canceled</dt> <dd> <p>The world export job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world export job is being cancelled.</p> </dd>
* </dl>
*/
inline void SetStatus(WorldExportJobStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>Canceled</dt> <dd> <p>The world export job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world export job is being cancelled.</p> </dd>
* </dl>
*/
inline CreateWorldExportJobResult& WithStatus(const WorldExportJobStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>Canceled</dt> <dd> <p>The world export job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world export job is being cancelled.</p> </dd>
* </dl>
*/
inline CreateWorldExportJobResult& WithStatus(WorldExportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline CreateWorldExportJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline CreateWorldExportJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline const WorldExportJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(const WorldExportJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(WorldExportJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline CreateWorldExportJobResult& WithFailureCode(const WorldExportJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline CreateWorldExportJobResult& WithFailureCode(WorldExportJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldExportJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldExportJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldExportJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocation = value; }
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocation = std::move(value); }
inline CreateWorldExportJobResult& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
inline CreateWorldExportJobResult& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline CreateWorldExportJobResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline CreateWorldExportJobResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export. </p>
*/
inline CreateWorldExportJobResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline CreateWorldExportJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
WorldExportJobStatus m_status;
Aws::Utils::DateTime m_createdAt;
WorldExportJobErrorCode m_failureCode;
Aws::String m_clientRequestToken;
OutputLocation m_outputLocation;
Aws::String m_iamRole;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,262 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/WorldCount.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateWorldGenerationJobRequest : public RoboMakerRequest
{
public:
CreateWorldGenerationJobRequest();
// 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 "CreateWorldGenerationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldGenerationJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldGenerationJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldGenerationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline CreateWorldGenerationJobRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline CreateWorldGenerationJobRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template describing the worlds
* you want to create.</p>
*/
inline CreateWorldGenerationJobRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
/**
* <p>Information about the world count.</p>
*/
inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
/**
* <p>Information about the world count.</p>
*/
inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
/**
* <p>Information about the world count.</p>
*/
inline void SetWorldCount(const WorldCount& value) { m_worldCountHasBeenSet = true; m_worldCount = value; }
/**
* <p>Information about the world count.</p>
*/
inline void SetWorldCount(WorldCount&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::move(value); }
/**
* <p>Information about the world count.</p>
*/
inline CreateWorldGenerationJobRequest& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
/**
* <p>Information about the world count.</p>
*/
inline CreateWorldGenerationJobRequest& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::String m_template;
bool m_templateHasBeenSet;
WorldCount m_worldCount;
bool m_worldCountHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,432 @@
/**
* 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/WorldGenerationJobStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/WorldGenerationJobErrorCode.h>
#include <aws/robomaker/model/WorldCount.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateWorldGenerationJobResult
{
public:
CreateWorldGenerationJobResult();
CreateWorldGenerationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline CreateWorldGenerationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline CreateWorldGenerationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world generator job.</p>
*/
inline CreateWorldGenerationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the world generator job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generator job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generator job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generator job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world generator
* job failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generator job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generator job is being cancelled.</p> </dd>
* </dl>
*/
inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the world generator job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generator job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generator job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generator job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world generator
* job failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generator job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generator job is being cancelled.</p> </dd>
* </dl>
*/
inline void SetStatus(const WorldGenerationJobStatus& value) { m_status = value; }
/**
* <p>The status of the world generator job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generator job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generator job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generator job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world generator
* job failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generator job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generator job is being cancelled.</p> </dd>
* </dl>
*/
inline void SetStatus(WorldGenerationJobStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the world generator job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generator job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generator job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generator job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world generator
* job failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generator job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generator job is being cancelled.</p> </dd>
* </dl>
*/
inline CreateWorldGenerationJobResult& WithStatus(const WorldGenerationJobStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the world generator job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generator job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generator job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generator job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world generator
* job failed. See <code>failureCode</code> for more information. </p> </dd>
* <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generator job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generator job is being cancelled.</p> </dd>
* </dl>
*/
inline CreateWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world generator job was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world generator job was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world generator job was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world generator job was
* created.</p>
*/
inline CreateWorldGenerationJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world generator job was
* created.</p>
*/
inline CreateWorldGenerationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The failure code of the world generator job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline const WorldGenerationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the world generator job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(const WorldGenerationJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the world generator job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(WorldGenerationJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the world generator job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline CreateWorldGenerationJobResult& WithFailureCode(const WorldGenerationJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the world generator job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline CreateWorldGenerationJobResult& WithFailureCode(WorldGenerationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldGenerationJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldGenerationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldGenerationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_template = value; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(const char* value) { m_template.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline CreateWorldGenerationJobResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline CreateWorldGenerationJobResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline CreateWorldGenerationJobResult& WithTemplate(const char* value) { SetTemplate(value); return *this;}
/**
* <p>Information about the world count. </p>
*/
inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
/**
* <p>Information about the world count. </p>
*/
inline void SetWorldCount(const WorldCount& value) { m_worldCount = value; }
/**
* <p>Information about the world count. </p>
*/
inline void SetWorldCount(WorldCount&& value) { m_worldCount = std::move(value); }
/**
* <p>Information about the world count. </p>
*/
inline CreateWorldGenerationJobResult& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
/**
* <p>Information about the world count. </p>
*/
inline CreateWorldGenerationJobResult& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generator job.</p>
*/
inline CreateWorldGenerationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
WorldGenerationJobStatus m_status;
Aws::Utils::DateTime m_createdAt;
WorldGenerationJobErrorCode m_failureCode;
Aws::String m_clientRequestToken;
Aws::String m_template;
WorldCount m_worldCount;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,297 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/TemplateLocation.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API CreateWorldTemplateRequest : public RoboMakerRequest
{
public:
CreateWorldTemplateRequest();
// 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 "CreateWorldTemplate"; }
Aws::String SerializePayload() const override;
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldTemplateRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldTemplateRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldTemplateRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the world template.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the world template.</p>
*/
inline CreateWorldTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline CreateWorldTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline CreateWorldTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The world template body.</p>
*/
inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
/**
* <p>The world template body.</p>
*/
inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
/**
* <p>The world template body.</p>
*/
inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
/**
* <p>The world template body.</p>
*/
inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
/**
* <p>The world template body.</p>
*/
inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
/**
* <p>The world template body.</p>
*/
inline CreateWorldTemplateRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
/**
* <p>The world template body.</p>
*/
inline CreateWorldTemplateRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
/**
* <p>The world template body.</p>
*/
inline CreateWorldTemplateRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
/**
* <p>The location of the world template.</p>
*/
inline const TemplateLocation& GetTemplateLocation() const{ return m_templateLocation; }
/**
* <p>The location of the world template.</p>
*/
inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; }
/**
* <p>The location of the world template.</p>
*/
inline void SetTemplateLocation(const TemplateLocation& value) { m_templateLocationHasBeenSet = true; m_templateLocation = value; }
/**
* <p>The location of the world template.</p>
*/
inline void SetTemplateLocation(TemplateLocation&& value) { m_templateLocationHasBeenSet = true; m_templateLocation = std::move(value); }
/**
* <p>The location of the world template.</p>
*/
inline CreateWorldTemplateRequest& WithTemplateLocation(const TemplateLocation& value) { SetTemplateLocation(value); return *this;}
/**
* <p>The location of the world template.</p>
*/
inline CreateWorldTemplateRequest& WithTemplateLocation(TemplateLocation&& value) { SetTemplateLocation(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_templateBody;
bool m_templateBodyHasBeenSet;
TemplateLocation m_templateLocation;
bool m_templateLocationHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,270 @@
/**
* 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/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API CreateWorldTemplateResult
{
public:
CreateWorldTemplateResult();
CreateWorldTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline CreateWorldTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline CreateWorldTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline CreateWorldTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldTemplateResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldTemplateResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline CreateWorldTemplateResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline CreateWorldTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline CreateWorldTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the world template.</p>
*/
inline CreateWorldTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline CreateWorldTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline CreateWorldTemplateResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline CreateWorldTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_clientRequestToken;
Aws::Utils::DateTime m_createdAt;
Aws::String m_name;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,178 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/S3KeyOutput.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 data source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DataSource">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API DataSource
{
public:
DataSource();
DataSource(Aws::Utils::Json::JsonView jsonValue);
DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data source.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the data source.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the data source.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the data source.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the data source.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the data source.</p>
*/
inline DataSource& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the data source.</p>
*/
inline DataSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the data source.</p>
*/
inline DataSource& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline DataSource& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline DataSource& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline DataSource& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline const Aws::Vector<S3KeyOutput>& GetS3Keys() const{ return m_s3Keys; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline void SetS3Keys(const Aws::Vector<S3KeyOutput>& value) { m_s3KeysHasBeenSet = true; m_s3Keys = value; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline void SetS3Keys(Aws::Vector<S3KeyOutput>&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::move(value); }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSource& WithS3Keys(const Aws::Vector<S3KeyOutput>& value) { SetS3Keys(value); return *this;}
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSource& WithS3Keys(Aws::Vector<S3KeyOutput>&& value) { SetS3Keys(std::move(value)); return *this;}
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSource& AddS3Keys(const S3KeyOutput& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSource& AddS3Keys(S3KeyOutput&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_s3Bucket;
bool m_s3BucketHasBeenSet;
Aws::Vector<S3KeyOutput> m_s3Keys;
bool m_s3KeysHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,182 @@
/**
* 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/AWSVector.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 data source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DataSourceConfig">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API DataSourceConfig
{
public:
DataSourceConfig();
DataSourceConfig(Aws::Utils::Json::JsonView jsonValue);
DataSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data source.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the data source.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the data source.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the data source.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the data source.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the data source.</p>
*/
inline DataSourceConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the data source.</p>
*/
inline DataSourceConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the data source.</p>
*/
inline DataSourceConfig& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline DataSourceConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline DataSourceConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
/**
* <p>The S3 bucket where the data files are located.</p>
*/
inline DataSourceConfig& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline const Aws::Vector<Aws::String>& GetS3Keys() const{ return m_s3Keys; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline void SetS3Keys(const Aws::Vector<Aws::String>& value) { m_s3KeysHasBeenSet = true; m_s3Keys = value; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline void SetS3Keys(Aws::Vector<Aws::String>&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::move(value); }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSourceConfig& WithS3Keys(const Aws::Vector<Aws::String>& value) { SetS3Keys(value); return *this;}
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSourceConfig& WithS3Keys(Aws::Vector<Aws::String>&& value) { SetS3Keys(std::move(value)); return *this;}
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSourceConfig& AddS3Keys(const Aws::String& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSourceConfig& AddS3Keys(Aws::String&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; }
/**
* <p>The list of S3 keys identifying the data source files.</p>
*/
inline DataSourceConfig& AddS3Keys(const char* value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_s3Bucket;
bool m_s3BucketHasBeenSet;
Aws::Vector<Aws::String> m_s3Keys;
bool m_s3KeysHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DeleteFleetRequest : public RoboMakerRequest
{
public:
DeleteFleetRequest();
// 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 "DeleteFleet"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeleteFleetRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeleteFleetRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeleteFleetRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
private:
Aws::String m_fleet;
bool m_fleetHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DeleteFleetResult
{
public:
DeleteFleetResult();
DeleteFleetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteFleetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DeleteRobotApplicationRequest : public RoboMakerRequest
{
public:
DeleteRobotApplicationRequest();
// 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 "DeleteRobotApplication"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline const Aws::String& GetApplication() const{ return m_application; }
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline DeleteRobotApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline DeleteRobotApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the the robot application.</p>
*/
inline DeleteRobotApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The version of the robot application to delete.</p>
*/
inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
/**
* <p>The version of the robot application to delete.</p>
*/
inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
/**
* <p>The version of the robot application to delete.</p>
*/
inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
/**
* <p>The version of the robot application to delete.</p>
*/
inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
/**
* <p>The version of the robot application to delete.</p>
*/
inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
/**
* <p>The version of the robot application to delete.</p>
*/
inline DeleteRobotApplicationRequest& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
/**
* <p>The version of the robot application to delete.</p>
*/
inline DeleteRobotApplicationRequest& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
/**
* <p>The version of the robot application to delete.</p>
*/
inline DeleteRobotApplicationRequest& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_applicationVersion;
bool m_applicationVersionHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DeleteRobotApplicationResult
{
public:
DeleteRobotApplicationResult();
DeleteRobotApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DeleteRobotRequest : public RoboMakerRequest
{
public:
DeleteRobotRequest();
// 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 "DeleteRobot"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline const Aws::String& GetRobot() const{ return m_robot; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline bool RobotHasBeenSet() const { return m_robotHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(const Aws::String& value) { m_robotHasBeenSet = true; m_robot = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(Aws::String&& value) { m_robotHasBeenSet = true; m_robot = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(const char* value) { m_robotHasBeenSet = true; m_robot.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeleteRobotRequest& WithRobot(const Aws::String& value) { SetRobot(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeleteRobotRequest& WithRobot(Aws::String&& value) { SetRobot(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeleteRobotRequest& WithRobot(const char* value) { SetRobot(value); return *this;}
private:
Aws::String m_robot;
bool m_robotHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DeleteRobotResult
{
public:
DeleteRobotResult();
DeleteRobotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteRobotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DeleteSimulationApplicationRequest : public RoboMakerRequest
{
public:
DeleteSimulationApplicationRequest();
// 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 "DeleteSimulationApplication"; }
Aws::String SerializePayload() const override;
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline const Aws::String& GetApplication() const{ return m_application; }
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline DeleteSimulationApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline DeleteSimulationApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The application information for the simulation application to delete.</p>
*/
inline DeleteSimulationApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The version of the simulation application to delete.</p>
*/
inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
/**
* <p>The version of the simulation application to delete.</p>
*/
inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
/**
* <p>The version of the simulation application to delete.</p>
*/
inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
/**
* <p>The version of the simulation application to delete.</p>
*/
inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
/**
* <p>The version of the simulation application to delete.</p>
*/
inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
/**
* <p>The version of the simulation application to delete.</p>
*/
inline DeleteSimulationApplicationRequest& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
/**
* <p>The version of the simulation application to delete.</p>
*/
inline DeleteSimulationApplicationRequest& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
/**
* <p>The version of the simulation application to delete.</p>
*/
inline DeleteSimulationApplicationRequest& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_applicationVersion;
bool m_applicationVersionHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DeleteSimulationApplicationResult
{
public:
DeleteSimulationApplicationResult();
DeleteSimulationApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DeleteWorldTemplateRequest : public RoboMakerRequest
{
public:
DeleteWorldTemplateRequest();
// 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 "DeleteWorldTemplate"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline DeleteWorldTemplateRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline DeleteWorldTemplateRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template you want to delete.</p>
*/
inline DeleteWorldTemplateRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
private:
Aws::String m_template;
bool m_templateHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DeleteWorldTemplateResult
{
public:
DeleteWorldTemplateResult();
DeleteWorldTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,168 @@
/**
* 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/DeploymentLaunchConfig.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 deployment application configuration.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeploymentApplicationConfig">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API DeploymentApplicationConfig
{
public:
DeploymentApplicationConfig();
DeploymentApplicationConfig(Aws::Utils::Json::JsonView jsonValue);
DeploymentApplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline const Aws::String& GetApplication() const{ return m_application; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DeploymentApplicationConfig& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DeploymentApplicationConfig& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DeploymentApplicationConfig& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The version of the application.</p>
*/
inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
/**
* <p>The version of the application.</p>
*/
inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
/**
* <p>The version of the application.</p>
*/
inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
/**
* <p>The version of the application.</p>
*/
inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
/**
* <p>The version of the application.</p>
*/
inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
/**
* <p>The version of the application.</p>
*/
inline DeploymentApplicationConfig& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
/**
* <p>The version of the application.</p>
*/
inline DeploymentApplicationConfig& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
/**
* <p>The version of the application.</p>
*/
inline DeploymentApplicationConfig& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
/**
* <p>The launch configuration.</p>
*/
inline const DeploymentLaunchConfig& GetLaunchConfig() const{ return m_launchConfig; }
/**
* <p>The launch configuration.</p>
*/
inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
/**
* <p>The launch configuration.</p>
*/
inline void SetLaunchConfig(const DeploymentLaunchConfig& value) { m_launchConfigHasBeenSet = true; m_launchConfig = value; }
/**
* <p>The launch configuration.</p>
*/
inline void SetLaunchConfig(DeploymentLaunchConfig&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::move(value); }
/**
* <p>The launch configuration.</p>
*/
inline DeploymentApplicationConfig& WithLaunchConfig(const DeploymentLaunchConfig& value) { SetLaunchConfig(value); return *this;}
/**
* <p>The launch configuration.</p>
*/
inline DeploymentApplicationConfig& WithLaunchConfig(DeploymentLaunchConfig&& value) { SetLaunchConfig(std::move(value)); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_applicationVersion;
bool m_applicationVersionHasBeenSet;
DeploymentLaunchConfig m_launchConfig;
bool m_launchConfigHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,158 @@
/**
* 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/robomaker/model/S3Object.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 deployment configuration.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeploymentConfig">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API DeploymentConfig
{
public:
DeploymentConfig();
DeploymentConfig(Aws::Utils::Json::JsonView jsonValue);
DeploymentConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The percentage of robots receiving the deployment at the same time.</p>
*/
inline int GetConcurrentDeploymentPercentage() const{ return m_concurrentDeploymentPercentage; }
/**
* <p>The percentage of robots receiving the deployment at the same time.</p>
*/
inline bool ConcurrentDeploymentPercentageHasBeenSet() const { return m_concurrentDeploymentPercentageHasBeenSet; }
/**
* <p>The percentage of robots receiving the deployment at the same time.</p>
*/
inline void SetConcurrentDeploymentPercentage(int value) { m_concurrentDeploymentPercentageHasBeenSet = true; m_concurrentDeploymentPercentage = value; }
/**
* <p>The percentage of robots receiving the deployment at the same time.</p>
*/
inline DeploymentConfig& WithConcurrentDeploymentPercentage(int value) { SetConcurrentDeploymentPercentage(value); return *this;}
/**
* <p>The percentage of deployments that need to fail before stopping
* deployment.</p>
*/
inline int GetFailureThresholdPercentage() const{ return m_failureThresholdPercentage; }
/**
* <p>The percentage of deployments that need to fail before stopping
* deployment.</p>
*/
inline bool FailureThresholdPercentageHasBeenSet() const { return m_failureThresholdPercentageHasBeenSet; }
/**
* <p>The percentage of deployments that need to fail before stopping
* deployment.</p>
*/
inline void SetFailureThresholdPercentage(int value) { m_failureThresholdPercentageHasBeenSet = true; m_failureThresholdPercentage = value; }
/**
* <p>The percentage of deployments that need to fail before stopping
* deployment.</p>
*/
inline DeploymentConfig& WithFailureThresholdPercentage(int value) { SetFailureThresholdPercentage(value); return *this;}
/**
* <p>The amount of time, in seconds, to wait for deployment to a single robot to
* complete. Choose a time between 1 minute and 7 days. The default is 5 hours.</p>
*/
inline long long GetRobotDeploymentTimeoutInSeconds() const{ return m_robotDeploymentTimeoutInSeconds; }
/**
* <p>The amount of time, in seconds, to wait for deployment to a single robot to
* complete. Choose a time between 1 minute and 7 days. The default is 5 hours.</p>
*/
inline bool RobotDeploymentTimeoutInSecondsHasBeenSet() const { return m_robotDeploymentTimeoutInSecondsHasBeenSet; }
/**
* <p>The amount of time, in seconds, to wait for deployment to a single robot to
* complete. Choose a time between 1 minute and 7 days. The default is 5 hours.</p>
*/
inline void SetRobotDeploymentTimeoutInSeconds(long long value) { m_robotDeploymentTimeoutInSecondsHasBeenSet = true; m_robotDeploymentTimeoutInSeconds = value; }
/**
* <p>The amount of time, in seconds, to wait for deployment to a single robot to
* complete. Choose a time between 1 minute and 7 days. The default is 5 hours.</p>
*/
inline DeploymentConfig& WithRobotDeploymentTimeoutInSeconds(long long value) { SetRobotDeploymentTimeoutInSeconds(value); return *this;}
/**
* <p>The download condition file.</p>
*/
inline const S3Object& GetDownloadConditionFile() const{ return m_downloadConditionFile; }
/**
* <p>The download condition file.</p>
*/
inline bool DownloadConditionFileHasBeenSet() const { return m_downloadConditionFileHasBeenSet; }
/**
* <p>The download condition file.</p>
*/
inline void SetDownloadConditionFile(const S3Object& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = value; }
/**
* <p>The download condition file.</p>
*/
inline void SetDownloadConditionFile(S3Object&& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = std::move(value); }
/**
* <p>The download condition file.</p>
*/
inline DeploymentConfig& WithDownloadConditionFile(const S3Object& value) { SetDownloadConditionFile(value); return *this;}
/**
* <p>The download condition file.</p>
*/
inline DeploymentConfig& WithDownloadConditionFile(S3Object&& value) { SetDownloadConditionFile(std::move(value)); return *this;}
private:
int m_concurrentDeploymentPercentage;
bool m_concurrentDeploymentPercentageHasBeenSet;
int m_failureThresholdPercentage;
bool m_failureThresholdPercentageHasBeenSet;
long long m_robotDeploymentTimeoutInSeconds;
bool m_robotDeploymentTimeoutInSecondsHasBeenSet;
S3Object m_downloadConditionFile;
bool m_downloadConditionFileHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,368 @@
/**
* 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/DeploymentStatus.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/DeploymentConfig.h>
#include <aws/robomaker/model/DeploymentJobErrorCode.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/DeploymentApplicationConfig.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 deployment job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeploymentJob">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API DeploymentJob
{
public:
DeploymentJob();
DeploymentJob(Aws::Utils::Json::JsonView jsonValue);
DeploymentJob& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DeploymentJob& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DeploymentJob& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DeploymentJob& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeploymentJob& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeploymentJob& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeploymentJob& WithFleet(const char* value) { SetFleet(value); return *this;}
/**
* <p>The status of the deployment job.</p>
*/
inline const DeploymentStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the deployment job.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the deployment job.</p>
*/
inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the deployment job.</p>
*/
inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the deployment job.</p>
*/
inline DeploymentJob& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the deployment job.</p>
*/
inline DeploymentJob& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
/**
* <p>The deployment application configuration.</p>
*/
inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = value; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = std::move(value); }
/**
* <p>The deployment application configuration.</p>
*/
inline DeploymentJob& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline DeploymentJob& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline DeploymentJob& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(value); return *this; }
/**
* <p>The deployment application configuration.</p>
*/
inline DeploymentJob& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
/**
* <p>The deployment configuration.</p>
*/
inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
/**
* <p>The deployment configuration.</p>
*/
inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
/**
* <p>The deployment configuration.</p>
*/
inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
/**
* <p>The deployment configuration.</p>
*/
inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
/**
* <p>The deployment configuration.</p>
*/
inline DeploymentJob& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
/**
* <p>The deployment configuration.</p>
*/
inline DeploymentJob& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline DeploymentJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline DeploymentJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline DeploymentJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>The deployment job failure code.</p>
*/
inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The deployment job failure code.</p>
*/
inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
/**
* <p>The deployment job failure code.</p>
*/
inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
/**
* <p>The deployment job failure code.</p>
*/
inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
/**
* <p>The deployment job failure code.</p>
*/
inline DeploymentJob& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The deployment job failure code.</p>
*/
inline DeploymentJob& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline DeploymentJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline DeploymentJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_fleet;
bool m_fleetHasBeenSet;
DeploymentStatus m_status;
bool m_statusHasBeenSet;
Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
bool m_deploymentApplicationConfigsHasBeenSet;
DeploymentConfig m_deploymentConfig;
bool m_deploymentConfigHasBeenSet;
Aws::String m_failureReason;
bool m_failureReasonHasBeenSet;
DeploymentJobErrorCode m_failureCode;
bool m_failureCodeHasBeenSet;
Aws::Utils::DateTime m_createdAt;
bool m_createdAtHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,49 @@
/**
* 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>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
enum class DeploymentJobErrorCode
{
NOT_SET,
ResourceNotFound,
EnvironmentSetupError,
EtagMismatch,
FailureThresholdBreached,
RobotDeploymentAborted,
RobotDeploymentNoResponse,
RobotAgentConnectionTimeout,
GreengrassDeploymentFailed,
InvalidGreengrassGroup,
MissingRobotArchitecture,
MissingRobotApplicationArchitecture,
MissingRobotDeploymentResource,
GreengrassGroupVersionDoesNotExist,
LambdaDeleted,
ExtractingBundleFailure,
PreLaunchFileFailure,
PostLaunchFileFailure,
BadPermissionError,
DownloadConditionFailed,
InternalServerError
};
namespace DeploymentJobErrorCodeMapper
{
AWS_ROBOMAKER_API DeploymentJobErrorCode GetDeploymentJobErrorCodeForName(const Aws::String& name);
AWS_ROBOMAKER_API Aws::String GetNameForDeploymentJobErrorCode(DeploymentJobErrorCode value);
} // namespace DeploymentJobErrorCodeMapper
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,320 @@
/**
* 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 <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Configuration information for a deployment launch.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeploymentLaunchConfig">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API DeploymentLaunchConfig
{
public:
DeploymentLaunchConfig();
DeploymentLaunchConfig(Aws::Utils::Json::JsonView jsonValue);
DeploymentLaunchConfig& 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 DeploymentLaunchConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
/**
* <p>The package name.</p>
*/
inline DeploymentLaunchConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
/**
* <p>The package name.</p>
*/
inline DeploymentLaunchConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline const Aws::String& GetPreLaunchFile() const{ return m_preLaunchFile; }
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline bool PreLaunchFileHasBeenSet() const { return m_preLaunchFileHasBeenSet; }
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline void SetPreLaunchFile(const Aws::String& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = value; }
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline void SetPreLaunchFile(Aws::String&& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = std::move(value); }
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline void SetPreLaunchFile(const char* value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile.assign(value); }
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline DeploymentLaunchConfig& WithPreLaunchFile(const Aws::String& value) { SetPreLaunchFile(value); return *this;}
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline DeploymentLaunchConfig& WithPreLaunchFile(Aws::String&& value) { SetPreLaunchFile(std::move(value)); return *this;}
/**
* <p>The deployment pre-launch file. This file will be executed prior to the
* launch file.</p>
*/
inline DeploymentLaunchConfig& WithPreLaunchFile(const char* value) { SetPreLaunchFile(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 DeploymentLaunchConfig& WithLaunchFile(const Aws::String& value) { SetLaunchFile(value); return *this;}
/**
* <p>The launch file name.</p>
*/
inline DeploymentLaunchConfig& WithLaunchFile(Aws::String&& value) { SetLaunchFile(std::move(value)); return *this;}
/**
* <p>The launch file name.</p>
*/
inline DeploymentLaunchConfig& WithLaunchFile(const char* value) { SetLaunchFile(value); return *this;}
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline const Aws::String& GetPostLaunchFile() const{ return m_postLaunchFile; }
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline bool PostLaunchFileHasBeenSet() const { return m_postLaunchFileHasBeenSet; }
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline void SetPostLaunchFile(const Aws::String& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = value; }
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline void SetPostLaunchFile(Aws::String&& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = std::move(value); }
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline void SetPostLaunchFile(const char* value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile.assign(value); }
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline DeploymentLaunchConfig& WithPostLaunchFile(const Aws::String& value) { SetPostLaunchFile(value); return *this;}
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline DeploymentLaunchConfig& WithPostLaunchFile(Aws::String&& value) { SetPostLaunchFile(std::move(value)); return *this;}
/**
* <p>The deployment post-launch file. This file will be executed after the launch
* file.</p>
*/
inline DeploymentLaunchConfig& WithPostLaunchFile(const char* value) { SetPostLaunchFile(value); return *this;}
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& WithEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironmentVariables(value); return *this;}
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& WithEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironmentVariables(std::move(value)); return *this;}
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
/**
* <p>An array of key/value pairs specifying environment variables for the robot
* application</p>
*/
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;
Aws::String m_preLaunchFile;
bool m_preLaunchFileHasBeenSet;
Aws::String m_launchFile;
bool m_launchFileHasBeenSet;
Aws::String m_postLaunchFile;
bool m_postLaunchFileHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_environmentVariables;
bool m_environmentVariablesHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,35 @@
/**
* 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>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
enum class DeploymentStatus
{
NOT_SET,
Pending,
Preparing,
InProgress,
Failed,
Succeeded,
Canceled
};
namespace DeploymentStatusMapper
{
AWS_ROBOMAKER_API DeploymentStatus GetDeploymentStatusForName(const Aws::String& name);
AWS_ROBOMAKER_API Aws::String GetNameForDeploymentStatus(DeploymentStatus value);
} // namespace DeploymentStatusMapper
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DeregisterRobotRequest : public RoboMakerRequest
{
public:
DeregisterRobotRequest();
// 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 "DeregisterRobot"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeregisterRobotRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeregisterRobotRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeregisterRobotRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline const Aws::String& GetRobot() const{ return m_robot; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline bool RobotHasBeenSet() const { return m_robotHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(const Aws::String& value) { m_robotHasBeenSet = true; m_robot = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(Aws::String&& value) { m_robotHasBeenSet = true; m_robot = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(const char* value) { m_robotHasBeenSet = true; m_robot.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeregisterRobotRequest& WithRobot(const Aws::String& value) { SetRobot(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeregisterRobotRequest& WithRobot(Aws::String&& value) { SetRobot(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeregisterRobotRequest& WithRobot(const char* value) { SetRobot(value); return *this;}
private:
Aws::String m_fleet;
bool m_fleetHasBeenSet;
Aws::String m_robot;
bool m_robotHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* 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 <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DeregisterRobotResult
{
public:
DeregisterRobotResult();
DeregisterRobotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeregisterRobotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const char* value) { m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeregisterRobotResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeregisterRobotResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DeregisterRobotResult& WithFleet(const char* value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline const Aws::String& GetRobot() const{ return m_robot; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(const Aws::String& value) { m_robot = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(Aws::String&& value) { m_robot = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetRobot(const char* value) { m_robot.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeregisterRobotResult& WithRobot(const Aws::String& value) { SetRobot(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeregisterRobotResult& WithRobot(Aws::String&& value) { SetRobot(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DeregisterRobotResult& WithRobot(const char* value) { SetRobot(value); return *this;}
private:
Aws::String m_fleet;
Aws::String m_robot;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeDeploymentJobRequest : public RoboMakerRequest
{
public:
DescribeDeploymentJobRequest();
// 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 "DescribeDeploymentJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DescribeDeploymentJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DescribeDeploymentJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DescribeDeploymentJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,417 @@
/**
* 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/DeploymentStatus.h>
#include <aws/robomaker/model/DeploymentConfig.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/DeploymentJobErrorCode.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/DeploymentApplicationConfig.h>
#include <aws/robomaker/model/RobotDeployment.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeDeploymentJobResult
{
public:
DescribeDeploymentJobResult();
DescribeDeploymentJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeDeploymentJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const char* value) { m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeDeploymentJobResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeDeploymentJobResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeDeploymentJobResult& WithFleet(const char* value) { SetFleet(value); return *this;}
/**
* <p>The status of the deployment job.</p>
*/
inline const DeploymentStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the deployment job.</p>
*/
inline void SetStatus(const DeploymentStatus& value) { m_status = value; }
/**
* <p>The status of the deployment job.</p>
*/
inline void SetStatus(DeploymentStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The deployment configuration.</p>
*/
inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
/**
* <p>The deployment configuration.</p>
*/
inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfig = value; }
/**
* <p>The deployment configuration.</p>
*/
inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfig = std::move(value); }
/**
* <p>The deployment configuration.</p>
*/
inline DescribeDeploymentJobResult& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
/**
* <p>The deployment configuration.</p>
*/
inline DescribeDeploymentJobResult& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigs = value; }
/**
* <p>The deployment application configuration.</p>
*/
inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigs = std::move(value); }
/**
* <p>The deployment application configuration.</p>
*/
inline DescribeDeploymentJobResult& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline DescribeDeploymentJobResult& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
/**
* <p>The deployment application configuration.</p>
*/
inline DescribeDeploymentJobResult& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigs.push_back(value); return *this; }
/**
* <p>The deployment application configuration.</p>
*/
inline DescribeDeploymentJobResult& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline DescribeDeploymentJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline DescribeDeploymentJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>A short description of the reason why the deployment job failed.</p>
*/
inline DescribeDeploymentJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>The deployment job failure code.</p>
*/
inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The deployment job failure code.</p>
*/
inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The deployment job failure code.</p>
*/
inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The deployment job failure code.</p>
*/
inline DescribeDeploymentJobResult& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The deployment job failure code.</p>
*/
inline DescribeDeploymentJobResult& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline DescribeDeploymentJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the deployment job was
* created.</p>
*/
inline DescribeDeploymentJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>A list of robot deployment summaries.</p>
*/
inline const Aws::Vector<RobotDeployment>& GetRobotDeploymentSummary() const{ return m_robotDeploymentSummary; }
/**
* <p>A list of robot deployment summaries.</p>
*/
inline void SetRobotDeploymentSummary(const Aws::Vector<RobotDeployment>& value) { m_robotDeploymentSummary = value; }
/**
* <p>A list of robot deployment summaries.</p>
*/
inline void SetRobotDeploymentSummary(Aws::Vector<RobotDeployment>&& value) { m_robotDeploymentSummary = std::move(value); }
/**
* <p>A list of robot deployment summaries.</p>
*/
inline DescribeDeploymentJobResult& WithRobotDeploymentSummary(const Aws::Vector<RobotDeployment>& value) { SetRobotDeploymentSummary(value); return *this;}
/**
* <p>A list of robot deployment summaries.</p>
*/
inline DescribeDeploymentJobResult& WithRobotDeploymentSummary(Aws::Vector<RobotDeployment>&& value) { SetRobotDeploymentSummary(std::move(value)); return *this;}
/**
* <p>A list of robot deployment summaries.</p>
*/
inline DescribeDeploymentJobResult& AddRobotDeploymentSummary(const RobotDeployment& value) { m_robotDeploymentSummary.push_back(value); return *this; }
/**
* <p>A list of robot deployment summaries.</p>
*/
inline DescribeDeploymentJobResult& AddRobotDeploymentSummary(RobotDeployment&& value) { m_robotDeploymentSummary.push_back(std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified deployment job.</p>
*/
inline DescribeDeploymentJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_fleet;
DeploymentStatus m_status;
DeploymentConfig m_deploymentConfig;
Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
Aws::String m_failureReason;
DeploymentJobErrorCode m_failureCode;
Aws::Utils::DateTime m_createdAt;
Aws::Vector<RobotDeployment> m_robotDeploymentSummary;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeFleetRequest : public RoboMakerRequest
{
public:
DescribeFleetRequest();
// 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 "DescribeFleet"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleet() const{ return m_fleet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeFleetRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeFleetRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeFleetRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
private:
Aws::String m_fleet;
bool m_fleetHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,343 @@
/**
* 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/AWSVector.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/DeploymentStatus.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/Robot.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeFleetResult
{
public:
DescribeFleetResult();
DescribeFleetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeFleetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the fleet.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the fleet.</p>
*/
inline DescribeFleetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline DescribeFleetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline DescribeFleetResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeFleetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeFleetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeFleetResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>A list of robots.</p>
*/
inline const Aws::Vector<Robot>& GetRobots() const{ return m_robots; }
/**
* <p>A list of robots.</p>
*/
inline void SetRobots(const Aws::Vector<Robot>& value) { m_robots = value; }
/**
* <p>A list of robots.</p>
*/
inline void SetRobots(Aws::Vector<Robot>&& value) { m_robots = std::move(value); }
/**
* <p>A list of robots.</p>
*/
inline DescribeFleetResult& WithRobots(const Aws::Vector<Robot>& value) { SetRobots(value); return *this;}
/**
* <p>A list of robots.</p>
*/
inline DescribeFleetResult& WithRobots(Aws::Vector<Robot>&& value) { SetRobots(std::move(value)); return *this;}
/**
* <p>A list of robots.</p>
*/
inline DescribeFleetResult& AddRobots(const Robot& value) { m_robots.push_back(value); return *this; }
/**
* <p>A list of robots.</p>
*/
inline DescribeFleetResult& AddRobots(Robot&& value) { m_robots.push_back(std::move(value)); return *this; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline DescribeFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline DescribeFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The status of the last deployment.</p>
*/
inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; }
/**
* <p>The status of the last deployment.</p>
*/
inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatus = value; }
/**
* <p>The status of the last deployment.</p>
*/
inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatus = std::move(value); }
/**
* <p>The status of the last deployment.</p>
*/
inline DescribeFleetResult& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;}
/**
* <p>The status of the last deployment.</p>
*/
inline DescribeFleetResult& WithLastDeploymentStatus(DeploymentStatus&& value) { SetLastDeploymentStatus(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJob = value; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJob = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJob.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline DescribeFleetResult& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline DescribeFleetResult& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline DescribeFleetResult& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
/**
* <p>The time of the last deployment.</p>
*/
inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
/**
* <p>The time of the last deployment.</p>
*/
inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTime = value; }
/**
* <p>The time of the last deployment.</p>
*/
inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTime = std::move(value); }
/**
* <p>The time of the last deployment.</p>
*/
inline DescribeFleetResult& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
/**
* <p>The time of the last deployment.</p>
*/
inline DescribeFleetResult& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified fleet.</p>
*/
inline DescribeFleetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_name;
Aws::String m_arn;
Aws::Vector<Robot> m_robots;
Aws::Utils::DateTime m_createdAt;
DeploymentStatus m_lastDeploymentStatus;
Aws::String m_lastDeploymentJob;
Aws::Utils::DateTime m_lastDeploymentTime;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeRobotApplicationRequest : public RoboMakerRequest
{
public:
DescribeRobotApplicationRequest();
// 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 "DescribeRobotApplication"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline const Aws::String& GetApplication() const{ return m_application; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DescribeRobotApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DescribeRobotApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DescribeRobotApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The version of the robot application to describe.</p>
*/
inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
/**
* <p>The version of the robot application to describe.</p>
*/
inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
/**
* <p>The version of the robot application to describe.</p>
*/
inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
/**
* <p>The version of the robot application to describe.</p>
*/
inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
/**
* <p>The version of the robot application to describe.</p>
*/
inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
/**
* <p>The version of the robot application to describe.</p>
*/
inline DescribeRobotApplicationRequest& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
/**
* <p>The version of the robot application to describe.</p>
*/
inline DescribeRobotApplicationRequest& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
/**
* <p>The version of the robot application to describe.</p>
*/
inline DescribeRobotApplicationRequest& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_applicationVersion;
bool m_applicationVersionHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,363 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeRobotApplicationResult
{
public:
DescribeRobotApplicationResult();
DescribeRobotApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the robot application.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(const Aws::String& value) { m_version = value; }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
/**
* <p>The version of the robot application.</p>
*/
inline void SetVersion(const char* value) { m_version.assign(value); }
/**
* <p>The version of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* <p>The sources of the robot application.</p>
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* <p>The sources of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the robot application.</p>
*/
inline DescribeRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* <p>The sources of the robot application.</p>
*/
inline DescribeRobotApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline DescribeRobotApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>The robot software suite (ROS distribution) used by the robot
* application.</p>
*/
inline DescribeRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
/**
* <p>The revision id of the robot application.</p>
*/
inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
/**
* <p>The revision id of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
/**
* <p>The revision id of the robot application.</p>
*/
inline DescribeRobotApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline DescribeRobotApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot application was
* last updated.</p>
*/
inline DescribeRobotApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified robot application.</p>
*/
inline DescribeRobotApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_version;
Aws::Vector<Source> m_sources;
RobotSoftwareSuite m_robotSoftwareSuite;
Aws::String m_revisionId;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeRobotRequest : public RoboMakerRequest
{
public:
DescribeRobotRequest();
// 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 "DescribeRobot"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline const Aws::String& GetRobot() const{ return m_robot; }
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline bool RobotHasBeenSet() const { return m_robotHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline void SetRobot(const Aws::String& value) { m_robotHasBeenSet = true; m_robot = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline void SetRobot(Aws::String&& value) { m_robotHasBeenSet = true; m_robot = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline void SetRobot(const char* value) { m_robotHasBeenSet = true; m_robot.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline DescribeRobotRequest& WithRobot(const Aws::String& value) { SetRobot(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline DescribeRobotRequest& WithRobot(Aws::String&& value) { SetRobot(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot to be described.</p>
*/
inline DescribeRobotRequest& WithRobot(const char* value) { SetRobot(value); return *this;}
private:
Aws::String m_robot;
bool m_robotHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,408 @@
/**
* 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/RobotStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/Architecture.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeRobotResult
{
public:
DescribeRobotResult();
DescribeRobotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeRobotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DescribeRobotResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DescribeRobotResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot.</p>
*/
inline DescribeRobotResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the robot.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the robot.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the robot.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the robot.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the robot.</p>
*/
inline DescribeRobotResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the robot.</p>
*/
inline DescribeRobotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the robot.</p>
*/
inline DescribeRobotResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeRobotResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeRobotResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline DescribeRobotResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
/**
* <p>The status of the fleet.</p>
*/
inline const RobotStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the fleet.</p>
*/
inline void SetStatus(const RobotStatus& value) { m_status = value; }
/**
* <p>The status of the fleet.</p>
*/
inline void SetStatus(RobotStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the fleet.</p>
*/
inline DescribeRobotResult& WithStatus(const RobotStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the fleet.</p>
*/
inline DescribeRobotResult& WithStatus(RobotStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The Greengrass group id.</p>
*/
inline const Aws::String& GetGreengrassGroupId() const{ return m_greengrassGroupId; }
/**
* <p>The Greengrass group id.</p>
*/
inline void SetGreengrassGroupId(const Aws::String& value) { m_greengrassGroupId = value; }
/**
* <p>The Greengrass group id.</p>
*/
inline void SetGreengrassGroupId(Aws::String&& value) { m_greengrassGroupId = std::move(value); }
/**
* <p>The Greengrass group id.</p>
*/
inline void SetGreengrassGroupId(const char* value) { m_greengrassGroupId.assign(value); }
/**
* <p>The Greengrass group id.</p>
*/
inline DescribeRobotResult& WithGreengrassGroupId(const Aws::String& value) { SetGreengrassGroupId(value); return *this;}
/**
* <p>The Greengrass group id.</p>
*/
inline DescribeRobotResult& WithGreengrassGroupId(Aws::String&& value) { SetGreengrassGroupId(std::move(value)); return *this;}
/**
* <p>The Greengrass group id.</p>
*/
inline DescribeRobotResult& WithGreengrassGroupId(const char* value) { SetGreengrassGroupId(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline DescribeRobotResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the robot was created.</p>
*/
inline DescribeRobotResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The target architecture of the robot application.</p>
*/
inline const Architecture& GetArchitecture() const{ return m_architecture; }
/**
* <p>The target architecture of the robot application.</p>
*/
inline void SetArchitecture(const Architecture& value) { m_architecture = value; }
/**
* <p>The target architecture of the robot application.</p>
*/
inline void SetArchitecture(Architecture&& value) { m_architecture = std::move(value); }
/**
* <p>The target architecture of the robot application.</p>
*/
inline DescribeRobotResult& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
/**
* <p>The target architecture of the robot application.</p>
*/
inline DescribeRobotResult& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJob = value; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJob = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJob.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline DescribeRobotResult& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline DescribeRobotResult& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline DescribeRobotResult& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
/**
* <p>The time of the last deployment job.</p>
*/
inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
/**
* <p>The time of the last deployment job.</p>
*/
inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTime = value; }
/**
* <p>The time of the last deployment job.</p>
*/
inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTime = std::move(value); }
/**
* <p>The time of the last deployment job.</p>
*/
inline DescribeRobotResult& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
/**
* <p>The time of the last deployment job.</p>
*/
inline DescribeRobotResult& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified robot.</p>
*/
inline DescribeRobotResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_fleetArn;
RobotStatus m_status;
Aws::String m_greengrassGroupId;
Aws::Utils::DateTime m_createdAt;
Architecture m_architecture;
Aws::String m_lastDeploymentJob;
Aws::Utils::DateTime m_lastDeploymentTime;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeSimulationApplicationRequest : public RoboMakerRequest
{
public:
DescribeSimulationApplicationRequest();
// 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 "DescribeSimulationApplication"; }
Aws::String SerializePayload() const override;
/**
* <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 DescribeSimulationApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
/**
* <p>The application information for the simulation application.</p>
*/
inline DescribeSimulationApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
/**
* <p>The application information for the simulation application.</p>
*/
inline DescribeSimulationApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
/**
* <p>The version of the simulation application to describe.</p>
*/
inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
/**
* <p>The version of the simulation application to describe.</p>
*/
inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
/**
* <p>The version of the simulation application to describe.</p>
*/
inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
/**
* <p>The version of the simulation application to describe.</p>
*/
inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
/**
* <p>The version of the simulation application to describe.</p>
*/
inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
/**
* <p>The version of the simulation application to describe.</p>
*/
inline DescribeSimulationApplicationRequest& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
/**
* <p>The version of the simulation application to describe.</p>
*/
inline DescribeSimulationApplicationRequest& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
/**
* <p>The version of the simulation application to describe.</p>
*/
inline DescribeSimulationApplicationRequest& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
private:
Aws::String m_application;
bool m_applicationHasBeenSet;
Aws::String m_applicationVersion;
bool m_applicationVersionHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,416 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/SimulationSoftwareSuite.h>
#include <aws/robomaker/model/RobotSoftwareSuite.h>
#include <aws/robomaker/model/RenderingEngine.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeSimulationApplicationResult
{
public:
DescribeSimulationApplicationResult();
DescribeSimulationApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the robot simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(const Aws::String& value) { m_version = value; }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline void SetVersion(const char* value) { m_version.assign(value); }
/**
* <p>The version of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* <p>The sources of the simulation application.</p>
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* <p>The sources of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* <p>The sources of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* <p>The sources of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuite = value; }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuite = std::move(value); }
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { SetSimulationSoftwareSuite(value); return *this;}
/**
* <p>The simulation software suite used by the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { SetSimulationSoftwareSuite(std::move(value)); return *this;}
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline DescribeSimulationApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
/**
* <p>Information about the robot software suite (ROS distribution).</p>
*/
inline DescribeSimulationApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngine = value; }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngine = std::move(value); }
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithRenderingEngine(const RenderingEngine& value) { SetRenderingEngine(value); return *this;}
/**
* <p>The rendering engine for the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithRenderingEngine(RenderingEngine&& value) { SetRenderingEngine(std::move(value)); return *this;}
/**
* <p>The revision id of the simulation application.</p>
*/
inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
/**
* <p>The revision id of the simulation application.</p>
*/
inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
/**
* <p>The revision id of the simulation application.</p>
*/
inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
/**
* <p>The revision id of the simulation application.</p>
*/
inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
/**
* <p>The revision id of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
/**
* <p>The revision id of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
/**
* <p>The revision id of the simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline DescribeSimulationApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation application
* was last updated.</p>
*/
inline DescribeSimulationApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified simulation application.</p>
*/
inline DescribeSimulationApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_name;
Aws::String m_version;
Aws::Vector<Source> m_sources;
SimulationSoftwareSuite m_simulationSoftwareSuite;
RobotSoftwareSuite m_robotSoftwareSuite;
RenderingEngine m_renderingEngine;
Aws::String m_revisionId;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeSimulationJobBatchRequest : public RoboMakerRequest
{
public:
DescribeSimulationJobBatchRequest();
// 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 "DescribeSimulationJobBatch"; }
Aws::String SerializePayload() const override;
/**
* <p>The id of the batch to describe.</p>
*/
inline const Aws::String& GetBatch() const{ return m_batch; }
/**
* <p>The id of the batch to describe.</p>
*/
inline bool BatchHasBeenSet() const { return m_batchHasBeenSet; }
/**
* <p>The id of the batch to describe.</p>
*/
inline void SetBatch(const Aws::String& value) { m_batchHasBeenSet = true; m_batch = value; }
/**
* <p>The id of the batch to describe.</p>
*/
inline void SetBatch(Aws::String&& value) { m_batchHasBeenSet = true; m_batch = std::move(value); }
/**
* <p>The id of the batch to describe.</p>
*/
inline void SetBatch(const char* value) { m_batchHasBeenSet = true; m_batch.assign(value); }
/**
* <p>The id of the batch to describe.</p>
*/
inline DescribeSimulationJobBatchRequest& WithBatch(const Aws::String& value) { SetBatch(value); return *this;}
/**
* <p>The id of the batch to describe.</p>
*/
inline DescribeSimulationJobBatchRequest& WithBatch(Aws::String&& value) { SetBatch(std::move(value)); return *this;}
/**
* <p>The id of the batch to describe.</p>
*/
inline DescribeSimulationJobBatchRequest& WithBatch(const char* value) { SetBatch(value); return *this;}
private:
Aws::String m_batch;
bool m_batchHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,629 @@
/**
* 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/SimulationJobBatchStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/BatchPolicy.h>
#include <aws/robomaker/model/SimulationJobBatchErrorCode.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/FailedCreateSimulationJobRequest.h>
#include <aws/robomaker/model/SimulationJobRequest.h>
#include <aws/robomaker/model/SimulationJobSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeSimulationJobBatchResult
{
public:
DescribeSimulationJobBatchResult();
DescribeSimulationJobBatchResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeSimulationJobBatchResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the batch.</p> <dl> <dt>Pending</dt> <dd> <p>The simulation job
* batch request is pending.</p> </dd> <dt>InProgress</dt> <dd> <p>The simulation
* job batch is in progress. </p> </dd> <dt>Failed</dt> <dd> <p>The simulation job
* batch failed. One or more simulation job requests could not be completed due to
* an internal failure (like <code>InternalServiceError</code>). See
* <code>failureCode</code> and <code>failureReason</code> for more
* information.</p> </dd> <dt>Completed</dt> <dd> <p>The simulation batch job
* completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* <code>InternalServiceError</code> and (2) when all created simulation jobs have
* reached a terminal state (for example, <code>Completed</code> or
* <code>Failed</code>). </p> </dd> <dt>Canceled</dt> <dd> <p>The simulation batch
* job was cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The simulation batch job
* is being cancelled.</p> </dd> <dt>Completing</dt> <dd> <p>The simulation batch
* job is completing.</p> </dd> <dt>TimingOut</dt> <dd> <p>The simulation job batch
* is timing out.</p> <p>If a batch timing out, and there are pending requests that
* were failing due to an internal failure (like
* <code>InternalServiceError</code>), the batch status will be
* <code>Failed</code>. If there are no such failing request, the batch status will
* be <code>TimedOut</code>. </p> </dd> <dt>TimedOut</dt> <dd> <p>The simulation
* batch job timed out.</p> </dd> </dl>
*/
inline const SimulationJobBatchStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the batch.</p> <dl> <dt>Pending</dt> <dd> <p>The simulation job
* batch request is pending.</p> </dd> <dt>InProgress</dt> <dd> <p>The simulation
* job batch is in progress. </p> </dd> <dt>Failed</dt> <dd> <p>The simulation job
* batch failed. One or more simulation job requests could not be completed due to
* an internal failure (like <code>InternalServiceError</code>). See
* <code>failureCode</code> and <code>failureReason</code> for more
* information.</p> </dd> <dt>Completed</dt> <dd> <p>The simulation batch job
* completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* <code>InternalServiceError</code> and (2) when all created simulation jobs have
* reached a terminal state (for example, <code>Completed</code> or
* <code>Failed</code>). </p> </dd> <dt>Canceled</dt> <dd> <p>The simulation batch
* job was cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The simulation batch job
* is being cancelled.</p> </dd> <dt>Completing</dt> <dd> <p>The simulation batch
* job is completing.</p> </dd> <dt>TimingOut</dt> <dd> <p>The simulation job batch
* is timing out.</p> <p>If a batch timing out, and there are pending requests that
* were failing due to an internal failure (like
* <code>InternalServiceError</code>), the batch status will be
* <code>Failed</code>. If there are no such failing request, the batch status will
* be <code>TimedOut</code>. </p> </dd> <dt>TimedOut</dt> <dd> <p>The simulation
* batch job timed out.</p> </dd> </dl>
*/
inline void SetStatus(const SimulationJobBatchStatus& value) { m_status = value; }
/**
* <p>The status of the batch.</p> <dl> <dt>Pending</dt> <dd> <p>The simulation job
* batch request is pending.</p> </dd> <dt>InProgress</dt> <dd> <p>The simulation
* job batch is in progress. </p> </dd> <dt>Failed</dt> <dd> <p>The simulation job
* batch failed. One or more simulation job requests could not be completed due to
* an internal failure (like <code>InternalServiceError</code>). See
* <code>failureCode</code> and <code>failureReason</code> for more
* information.</p> </dd> <dt>Completed</dt> <dd> <p>The simulation batch job
* completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* <code>InternalServiceError</code> and (2) when all created simulation jobs have
* reached a terminal state (for example, <code>Completed</code> or
* <code>Failed</code>). </p> </dd> <dt>Canceled</dt> <dd> <p>The simulation batch
* job was cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The simulation batch job
* is being cancelled.</p> </dd> <dt>Completing</dt> <dd> <p>The simulation batch
* job is completing.</p> </dd> <dt>TimingOut</dt> <dd> <p>The simulation job batch
* is timing out.</p> <p>If a batch timing out, and there are pending requests that
* were failing due to an internal failure (like
* <code>InternalServiceError</code>), the batch status will be
* <code>Failed</code>. If there are no such failing request, the batch status will
* be <code>TimedOut</code>. </p> </dd> <dt>TimedOut</dt> <dd> <p>The simulation
* batch job timed out.</p> </dd> </dl>
*/
inline void SetStatus(SimulationJobBatchStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the batch.</p> <dl> <dt>Pending</dt> <dd> <p>The simulation job
* batch request is pending.</p> </dd> <dt>InProgress</dt> <dd> <p>The simulation
* job batch is in progress. </p> </dd> <dt>Failed</dt> <dd> <p>The simulation job
* batch failed. One or more simulation job requests could not be completed due to
* an internal failure (like <code>InternalServiceError</code>). See
* <code>failureCode</code> and <code>failureReason</code> for more
* information.</p> </dd> <dt>Completed</dt> <dd> <p>The simulation batch job
* completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* <code>InternalServiceError</code> and (2) when all created simulation jobs have
* reached a terminal state (for example, <code>Completed</code> or
* <code>Failed</code>). </p> </dd> <dt>Canceled</dt> <dd> <p>The simulation batch
* job was cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The simulation batch job
* is being cancelled.</p> </dd> <dt>Completing</dt> <dd> <p>The simulation batch
* job is completing.</p> </dd> <dt>TimingOut</dt> <dd> <p>The simulation job batch
* is timing out.</p> <p>If a batch timing out, and there are pending requests that
* were failing due to an internal failure (like
* <code>InternalServiceError</code>), the batch status will be
* <code>Failed</code>. If there are no such failing request, the batch status will
* be <code>TimedOut</code>. </p> </dd> <dt>TimedOut</dt> <dd> <p>The simulation
* batch job timed out.</p> </dd> </dl>
*/
inline DescribeSimulationJobBatchResult& WithStatus(const SimulationJobBatchStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the batch.</p> <dl> <dt>Pending</dt> <dd> <p>The simulation job
* batch request is pending.</p> </dd> <dt>InProgress</dt> <dd> <p>The simulation
* job batch is in progress. </p> </dd> <dt>Failed</dt> <dd> <p>The simulation job
* batch failed. One or more simulation job requests could not be completed due to
* an internal failure (like <code>InternalServiceError</code>). See
* <code>failureCode</code> and <code>failureReason</code> for more
* information.</p> </dd> <dt>Completed</dt> <dd> <p>The simulation batch job
* completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* <code>InternalServiceError</code> and (2) when all created simulation jobs have
* reached a terminal state (for example, <code>Completed</code> or
* <code>Failed</code>). </p> </dd> <dt>Canceled</dt> <dd> <p>The simulation batch
* job was cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The simulation batch job
* is being cancelled.</p> </dd> <dt>Completing</dt> <dd> <p>The simulation batch
* job is completing.</p> </dd> <dt>TimingOut</dt> <dd> <p>The simulation job batch
* is timing out.</p> <p>If a batch timing out, and there are pending requests that
* were failing due to an internal failure (like
* <code>InternalServiceError</code>), the batch status will be
* <code>Failed</code>. If there are no such failing request, the batch status will
* be <code>TimedOut</code>. </p> </dd> <dt>TimedOut</dt> <dd> <p>The simulation
* batch job timed out.</p> </dd> </dl>
*/
inline DescribeSimulationJobBatchResult& WithStatus(SimulationJobBatchStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* last updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* last updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* last updated.</p>
*/
inline DescribeSimulationJobBatchResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* last updated.</p>
*/
inline DescribeSimulationJobBatchResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* created.</p>
*/
inline DescribeSimulationJobBatchResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch was
* created.</p>
*/
inline DescribeSimulationJobBatchResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeSimulationJobBatchResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeSimulationJobBatchResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeSimulationJobBatchResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The batch policy.</p>
*/
inline const BatchPolicy& GetBatchPolicy() const{ return m_batchPolicy; }
/**
* <p>The batch policy.</p>
*/
inline void SetBatchPolicy(const BatchPolicy& value) { m_batchPolicy = value; }
/**
* <p>The batch policy.</p>
*/
inline void SetBatchPolicy(BatchPolicy&& value) { m_batchPolicy = std::move(value); }
/**
* <p>The batch policy.</p>
*/
inline DescribeSimulationJobBatchResult& WithBatchPolicy(const BatchPolicy& value) { SetBatchPolicy(value); return *this;}
/**
* <p>The batch policy.</p>
*/
inline DescribeSimulationJobBatchResult& WithBatchPolicy(BatchPolicy&& value) { SetBatchPolicy(std::move(value)); return *this;}
/**
* <p>The failure code of the simulation job batch.</p>
*/
inline const SimulationJobBatchErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the simulation job batch.</p>
*/
inline void SetFailureCode(const SimulationJobBatchErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the simulation job batch.</p>
*/
inline void SetFailureCode(SimulationJobBatchErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithFailureCode(const SimulationJobBatchErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithFailureCode(SimulationJobBatchErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline DescribeSimulationJobBatchResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline DescribeSimulationJobBatchResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The reason the simulation job batch failed.</p>
*/
inline DescribeSimulationJobBatchResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline const Aws::Vector<FailedCreateSimulationJobRequest>& GetFailedRequests() const{ return m_failedRequests; }
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline void SetFailedRequests(const Aws::Vector<FailedCreateSimulationJobRequest>& value) { m_failedRequests = value; }
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline void SetFailedRequests(Aws::Vector<FailedCreateSimulationJobRequest>&& value) { m_failedRequests = std::move(value); }
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline DescribeSimulationJobBatchResult& WithFailedRequests(const Aws::Vector<FailedCreateSimulationJobRequest>& value) { SetFailedRequests(value); return *this;}
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline DescribeSimulationJobBatchResult& WithFailedRequests(Aws::Vector<FailedCreateSimulationJobRequest>&& value) { SetFailedRequests(std::move(value)); return *this;}
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline DescribeSimulationJobBatchResult& AddFailedRequests(const FailedCreateSimulationJobRequest& value) { m_failedRequests.push_back(value); return *this; }
/**
* <p>A list of failed create simulation job requests. The request failed to be
* created into a simulation job. Failed requests do not have a simulation job ID.
* </p>
*/
inline DescribeSimulationJobBatchResult& AddFailedRequests(FailedCreateSimulationJobRequest&& value) { m_failedRequests.push_back(std::move(value)); return *this; }
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline const Aws::Vector<SimulationJobRequest>& GetPendingRequests() const{ return m_pendingRequests; }
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline void SetPendingRequests(const Aws::Vector<SimulationJobRequest>& value) { m_pendingRequests = value; }
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline void SetPendingRequests(Aws::Vector<SimulationJobRequest>&& value) { m_pendingRequests = std::move(value); }
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline DescribeSimulationJobBatchResult& WithPendingRequests(const Aws::Vector<SimulationJobRequest>& value) { SetPendingRequests(value); return *this;}
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline DescribeSimulationJobBatchResult& WithPendingRequests(Aws::Vector<SimulationJobRequest>&& value) { SetPendingRequests(std::move(value)); return *this;}
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline DescribeSimulationJobBatchResult& AddPendingRequests(const SimulationJobRequest& value) { m_pendingRequests.push_back(value); return *this; }
/**
* <p>A list of pending simulation job requests. These requests have not yet been
* created into simulation jobs.</p>
*/
inline DescribeSimulationJobBatchResult& AddPendingRequests(SimulationJobRequest&& value) { m_pendingRequests.push_back(std::move(value)); return *this; }
/**
* <p>A list of created simulation job summaries.</p>
*/
inline const Aws::Vector<SimulationJobSummary>& GetCreatedRequests() const{ return m_createdRequests; }
/**
* <p>A list of created simulation job summaries.</p>
*/
inline void SetCreatedRequests(const Aws::Vector<SimulationJobSummary>& value) { m_createdRequests = value; }
/**
* <p>A list of created simulation job summaries.</p>
*/
inline void SetCreatedRequests(Aws::Vector<SimulationJobSummary>&& value) { m_createdRequests = std::move(value); }
/**
* <p>A list of created simulation job summaries.</p>
*/
inline DescribeSimulationJobBatchResult& WithCreatedRequests(const Aws::Vector<SimulationJobSummary>& value) { SetCreatedRequests(value); return *this;}
/**
* <p>A list of created simulation job summaries.</p>
*/
inline DescribeSimulationJobBatchResult& WithCreatedRequests(Aws::Vector<SimulationJobSummary>&& value) { SetCreatedRequests(std::move(value)); return *this;}
/**
* <p>A list of created simulation job summaries.</p>
*/
inline DescribeSimulationJobBatchResult& AddCreatedRequests(const SimulationJobSummary& value) { m_createdRequests.push_back(value); return *this; }
/**
* <p>A list of created simulation job summaries.</p>
*/
inline DescribeSimulationJobBatchResult& AddCreatedRequests(SimulationJobSummary&& value) { m_createdRequests.push_back(std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* simulation job batch.</p>
*/
inline DescribeSimulationJobBatchResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
SimulationJobBatchStatus m_status;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::Utils::DateTime m_createdAt;
Aws::String m_clientRequestToken;
BatchPolicy m_batchPolicy;
SimulationJobBatchErrorCode m_failureCode;
Aws::String m_failureReason;
Aws::Vector<FailedCreateSimulationJobRequest> m_failedRequests;
Aws::Vector<SimulationJobRequest> m_pendingRequests;
Aws::Vector<SimulationJobSummary> m_createdRequests;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeSimulationJobRequest : public RoboMakerRequest
{
public:
DescribeSimulationJobRequest();
// 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 "DescribeSimulationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline DescribeSimulationJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline DescribeSimulationJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation job to be described.</p>
*/
inline DescribeSimulationJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,887 @@
/**
* 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/SimulationJobStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/FailureBehavior.h>
#include <aws/robomaker/model/SimulationJobErrorCode.h>
#include <aws/robomaker/model/OutputLocation.h>
#include <aws/robomaker/model/LoggingConfig.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/robomaker/model/VPCConfigResponse.h>
#include <aws/robomaker/model/NetworkInterface.h>
#include <aws/robomaker/model/ComputeResponse.h>
#include <aws/robomaker/model/RobotApplicationConfig.h>
#include <aws/robomaker/model/SimulationApplicationConfig.h>
#include <aws/robomaker/model/DataSource.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeSimulationJobResult
{
public:
DescribeSimulationJobResult();
DescribeSimulationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeSimulationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the simulation job.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the simulation job.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the simulation job.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the simulation job.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The status of the simulation job.</p>
*/
inline const SimulationJobStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the simulation job.</p>
*/
inline void SetStatus(const SimulationJobStatus& value) { m_status = value; }
/**
* <p>The status of the simulation job.</p>
*/
inline void SetStatus(SimulationJobStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithStatus(SimulationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline const Aws::Utils::DateTime& GetLastStartedAt() const{ return m_lastStartedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline void SetLastStartedAt(const Aws::Utils::DateTime& value) { m_lastStartedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline void SetLastStartedAt(Aws::Utils::DateTime&& value) { m_lastStartedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline DescribeSimulationJobResult& WithLastStartedAt(const Aws::Utils::DateTime& value) { SetLastStartedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* started.</p>
*/
inline DescribeSimulationJobResult& WithLastStartedAt(Aws::Utils::DateTime&& value) { SetLastStartedAt(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline DescribeSimulationJobResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job was last
* updated.</p>
*/
inline DescribeSimulationJobResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>The failure behavior for the simulation job.</p>
*/
inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; }
/**
* <p>The failure behavior for the simulation job.</p>
*/
inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehavior = value; }
/**
* <p>The failure behavior for the simulation job.</p>
*/
inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehavior = std::move(value); }
/**
* <p>The failure behavior for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithFailureBehavior(const FailureBehavior& value) { SetFailureBehavior(value); return *this;}
/**
* <p>The failure behavior for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;}
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline DescribeSimulationJobResult& WithFailureCode(const SimulationJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the simulation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>RobotApplicationCrash</dt> <dd> <p>Robot application exited abnormally.</p>
* </dd> <dt>SimulationApplicationCrash</dt> <dd> <p> Simulation application exited
* abnormally.</p> </dd> <dt>BadPermissionsRobotApplication</dt> <dd> <p>Robot
* application bundle could not be downloaded.</p> </dd>
* <dt>BadPermissionsSimulationApplication</dt> <dd> <p>Simulation application
* bundle could not be downloaded.</p> </dd> <dt>BadPermissionsS3Output</dt> <dd>
* <p>Unable to publish outputs to customer-provided S3 bucket.</p> </dd>
* <dt>BadPermissionsCloudwatchLogs</dt> <dd> <p>Unable to publish logs to
* customer-provided CloudWatch Logs resource.</p> </dd>
* <dt>SubnetIpLimitExceeded</dt> <dd> <p>Subnet IP limit exceeded.</p> </dd>
* <dt>ENILimitExceeded</dt> <dd> <p>ENI limit exceeded.</p> </dd>
* <dt>BadPermissionsUserCredentials</dt> <dd> <p>Unable to use the Role
* provided.</p> </dd> <dt>InvalidBundleRobotApplication</dt> <dd> <p>Robot bundle
* cannot be extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>InvalidBundleSimulationApplication</dt> <dd> <p>Simulation bundle cannot be
* extracted (invalid format, bundling error, or other issue).</p> </dd>
* <dt>RobotApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for RobotApplication
* does not match value during version creation.</p> </dd>
* <dt>SimulationApplicationVersionMismatchedEtag</dt> <dd> <p>Etag for
* SimulationApplication does not match value during version creation.</p> </dd>
* </dl>
*/
inline DescribeSimulationJobResult& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline DescribeSimulationJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline DescribeSimulationJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>Details about why the simulation job failed. For more information about
* troubleshooting, see <a
* href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html">Troubleshooting</a>.</p>
*/
inline DescribeSimulationJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeSimulationJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeSimulationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeSimulationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocation = value; }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocation = std::move(value); }
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
/**
* <p>Location for output files generated by the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
/**
* <p>The logging configuration.</p>
*/
inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
/**
* <p>The logging configuration.</p>
*/
inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfig = value; }
/**
* <p>The logging configuration.</p>
*/
inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfig = std::move(value); }
/**
* <p>The logging configuration.</p>
*/
inline DescribeSimulationJobResult& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
/**
* <p>The logging configuration.</p>
*/
inline DescribeSimulationJobResult& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
/**
* <p>The maximum job duration in seconds. The value must be 8 days (691,200
* seconds) or less.</p>
*/
inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; }
/**
* <p>The maximum job duration in seconds. The value must be 8 days (691,200
* seconds) or less.</p>
*/
inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSeconds = value; }
/**
* <p>The maximum job duration in seconds. The value must be 8 days (691,200
* seconds) or less.</p>
*/
inline DescribeSimulationJobResult& WithMaxJobDurationInSeconds(long long value) { SetMaxJobDurationInSeconds(value); return *this;}
/**
* <p>The simulation job execution duration in milliseconds.</p>
*/
inline long long GetSimulationTimeMillis() const{ return m_simulationTimeMillis; }
/**
* <p>The simulation job execution duration in milliseconds.</p>
*/
inline void SetSimulationTimeMillis(long long value) { m_simulationTimeMillis = value; }
/**
* <p>The simulation job execution duration in milliseconds.</p>
*/
inline DescribeSimulationJobResult& WithSimulationTimeMillis(long long value) { SetSimulationTimeMillis(value); return *this;}
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline DescribeSimulationJobResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline DescribeSimulationJobResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
/**
* <p>The IAM role that allows the simulation instance to call the AWS APIs that
* are specified in its associated policies on your behalf.</p>
*/
inline DescribeSimulationJobResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
/**
* <p>A list of robot applications.</p>
*/
inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const{ return m_robotApplications; }
/**
* <p>A list of robot applications.</p>
*/
inline void SetRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { m_robotApplications = value; }
/**
* <p>A list of robot applications.</p>
*/
inline void SetRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { m_robotApplications = std::move(value); }
/**
* <p>A list of robot applications.</p>
*/
inline DescribeSimulationJobResult& WithRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { SetRobotApplications(value); return *this;}
/**
* <p>A list of robot applications.</p>
*/
inline DescribeSimulationJobResult& WithRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { SetRobotApplications(std::move(value)); return *this;}
/**
* <p>A list of robot applications.</p>
*/
inline DescribeSimulationJobResult& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplications.push_back(value); return *this; }
/**
* <p>A list of robot applications.</p>
*/
inline DescribeSimulationJobResult& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplications.push_back(std::move(value)); return *this; }
/**
* <p>A list of simulation applications.</p>
*/
inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const{ return m_simulationApplications; }
/**
* <p>A list of simulation applications.</p>
*/
inline void SetSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { m_simulationApplications = value; }
/**
* <p>A list of simulation applications.</p>
*/
inline void SetSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { m_simulationApplications = std::move(value); }
/**
* <p>A list of simulation applications.</p>
*/
inline DescribeSimulationJobResult& WithSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { SetSimulationApplications(value); return *this;}
/**
* <p>A list of simulation applications.</p>
*/
inline DescribeSimulationJobResult& WithSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { SetSimulationApplications(std::move(value)); return *this;}
/**
* <p>A list of simulation applications.</p>
*/
inline DescribeSimulationJobResult& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplications.push_back(value); return *this; }
/**
* <p>A list of simulation applications.</p>
*/
inline DescribeSimulationJobResult& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplications.push_back(std::move(value)); return *this; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
/**
* <p>The data sources for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithDataSources(const Aws::Vector<DataSource>& value) { SetDataSources(value); return *this;}
/**
* <p>The data sources for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
/**
* <p>The data sources for the simulation job.</p>
*/
inline DescribeSimulationJobResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
/**
* <p>The data sources for the simulation job.</p>
*/
inline DescribeSimulationJobResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The list of all tags added to the specified simulation job.</p>
*/
inline DescribeSimulationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The VPC configuration.</p>
*/
inline const VPCConfigResponse& GetVpcConfig() const{ return m_vpcConfig; }
/**
* <p>The VPC configuration.</p>
*/
inline void SetVpcConfig(const VPCConfigResponse& value) { m_vpcConfig = value; }
/**
* <p>The VPC configuration.</p>
*/
inline void SetVpcConfig(VPCConfigResponse&& value) { m_vpcConfig = std::move(value); }
/**
* <p>The VPC configuration.</p>
*/
inline DescribeSimulationJobResult& WithVpcConfig(const VPCConfigResponse& value) { SetVpcConfig(value); return *this;}
/**
* <p>The VPC configuration.</p>
*/
inline DescribeSimulationJobResult& WithVpcConfig(VPCConfigResponse&& value) { SetVpcConfig(std::move(value)); return *this;}
/**
* <p>The network interface information for the simulation job.</p>
*/
inline const NetworkInterface& GetNetworkInterface() const{ return m_networkInterface; }
/**
* <p>The network interface information for the simulation job.</p>
*/
inline void SetNetworkInterface(const NetworkInterface& value) { m_networkInterface = value; }
/**
* <p>The network interface information for the simulation job.</p>
*/
inline void SetNetworkInterface(NetworkInterface&& value) { m_networkInterface = std::move(value); }
/**
* <p>The network interface information for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithNetworkInterface(const NetworkInterface& value) { SetNetworkInterface(value); return *this;}
/**
* <p>The network interface information for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithNetworkInterface(NetworkInterface&& value) { SetNetworkInterface(std::move(value)); return *this;}
/**
* <p>Compute information for the simulation job.</p>
*/
inline const ComputeResponse& GetCompute() const{ return m_compute; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline void SetCompute(const ComputeResponse& value) { m_compute = value; }
/**
* <p>Compute information for the simulation job.</p>
*/
inline void SetCompute(ComputeResponse&& value) { m_compute = std::move(value); }
/**
* <p>Compute information for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithCompute(const ComputeResponse& value) { SetCompute(value); return *this;}
/**
* <p>Compute information for the simulation job.</p>
*/
inline DescribeSimulationJobResult& WithCompute(ComputeResponse&& value) { SetCompute(std::move(value)); return *this;}
private:
Aws::String m_arn;
Aws::String m_name;
SimulationJobStatus m_status;
Aws::Utils::DateTime m_lastStartedAt;
Aws::Utils::DateTime m_lastUpdatedAt;
FailureBehavior m_failureBehavior;
SimulationJobErrorCode m_failureCode;
Aws::String m_failureReason;
Aws::String m_clientRequestToken;
OutputLocation m_outputLocation;
LoggingConfig m_loggingConfig;
long long m_maxJobDurationInSeconds;
long long m_simulationTimeMillis;
Aws::String m_iamRole;
Aws::Vector<RobotApplicationConfig> m_robotApplications;
Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
Aws::Vector<DataSource> m_dataSources;
Aws::Map<Aws::String, Aws::String> m_tags;
VPCConfigResponse m_vpcConfig;
NetworkInterface m_networkInterface;
ComputeResponse m_compute;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeWorldExportJobRequest : public RoboMakerRequest
{
public:
DescribeWorldExportJobRequest();
// 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 "DescribeWorldExportJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline DescribeWorldExportJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline DescribeWorldExportJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world export job to describe.</p>
*/
inline DescribeWorldExportJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,514 @@
/**
* 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/WorldExportJobStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/WorldExportJobErrorCode.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/OutputLocation.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeWorldExportJobResult
{
public:
DescribeWorldExportJobResult();
DescribeWorldExportJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeWorldExportJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline DescribeWorldExportJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline DescribeWorldExportJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world export job.</p>
*/
inline DescribeWorldExportJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> and <code>failureReason</code> for more
* information. </p> </dd> <dt>Canceled</dt> <dd> <p>The world export job was
* cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The world export job is being
* cancelled.</p> </dd> </dl>
*/
inline const WorldExportJobStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> and <code>failureReason</code> for more
* information. </p> </dd> <dt>Canceled</dt> <dd> <p>The world export job was
* cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The world export job is being
* cancelled.</p> </dd> </dl>
*/
inline void SetStatus(const WorldExportJobStatus& value) { m_status = value; }
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> and <code>failureReason</code> for more
* information. </p> </dd> <dt>Canceled</dt> <dd> <p>The world export job was
* cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The world export job is being
* cancelled.</p> </dd> </dl>
*/
inline void SetStatus(WorldExportJobStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> and <code>failureReason</code> for more
* information. </p> </dd> <dt>Canceled</dt> <dd> <p>The world export job was
* cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The world export job is being
* cancelled.</p> </dd> </dl>
*/
inline DescribeWorldExportJobResult& WithStatus(const WorldExportJobStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the world export job.</p> <dl> <dt>Pending</dt> <dd> <p>The
* world export job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world export job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* export job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world export job
* failed. See <code>failureCode</code> and <code>failureReason</code> for more
* information. </p> </dd> <dt>Canceled</dt> <dd> <p>The world export job was
* cancelled.</p> </dd> <dt>Canceling</dt> <dd> <p>The world export job is being
* cancelled.</p> </dd> </dl>
*/
inline DescribeWorldExportJobResult& WithStatus(WorldExportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline DescribeWorldExportJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world export job was
* created.</p>
*/
inline DescribeWorldExportJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline const WorldExportJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(const WorldExportJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(WorldExportJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline DescribeWorldExportJobResult& WithFailureCode(const WorldExportJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the world export job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline DescribeWorldExportJobResult& WithFailureCode(WorldExportJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The reason why the world export job failed.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The reason why the world export job failed.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>The reason why the world export job failed.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>The reason why the world export job failed.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>The reason why the world export job failed.</p>
*/
inline DescribeWorldExportJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>The reason why the world export job failed.</p>
*/
inline DescribeWorldExportJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The reason why the world export job failed.</p>
*/
inline DescribeWorldExportJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldExportJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldExportJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldExportJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worlds = value; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worlds = std::move(value); }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline DescribeWorldExportJobResult& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline DescribeWorldExportJobResult& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline DescribeWorldExportJobResult& AddWorlds(const Aws::String& value) { m_worlds.push_back(value); return *this; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline DescribeWorldExportJobResult& AddWorlds(Aws::String&& value) { m_worlds.push_back(std::move(value)); return *this; }
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds to be
* exported.</p>
*/
inline DescribeWorldExportJobResult& AddWorlds(const char* value) { m_worlds.push_back(value); return *this; }
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocation = value; }
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocation = std::move(value); }
inline DescribeWorldExportJobResult& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
inline DescribeWorldExportJobResult& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline DescribeWorldExportJobResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline DescribeWorldExportJobResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
/**
* <p>The IAM role that the world export process uses to access the Amazon S3
* bucket and put the export.</p>
*/
inline DescribeWorldExportJobResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* export job.</p>
*/
inline DescribeWorldExportJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
WorldExportJobStatus m_status;
Aws::Utils::DateTime m_createdAt;
WorldExportJobErrorCode m_failureCode;
Aws::String m_failureReason;
Aws::String m_clientRequestToken;
Aws::Vector<Aws::String> m_worlds;
OutputLocation m_outputLocation;
Aws::String m_iamRole;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeWorldGenerationJobRequest : public RoboMakerRequest
{
public:
DescribeWorldGenerationJobRequest();
// 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 "DescribeWorldGenerationJob"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline const Aws::String& GetJob() const{ return m_job; }
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; }
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline DescribeWorldGenerationJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline DescribeWorldGenerationJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generation job to describe.</p>
*/
inline DescribeWorldGenerationJobRequest& WithJob(const char* value) { SetJob(value); return *this;}
private:
Aws::String m_job;
bool m_jobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,499 @@
/**
* 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/WorldGenerationJobStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/robomaker/model/WorldGenerationJobErrorCode.h>
#include <aws/robomaker/model/WorldCount.h>
#include <aws/robomaker/model/FinishedWorldsSummary.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeWorldGenerationJobResult
{
public:
DescribeWorldGenerationJobResult();
DescribeWorldGenerationJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline DescribeWorldGenerationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline DescribeWorldGenerationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world generation job.</p>
*/
inline DescribeWorldGenerationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the world generation job:</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generation job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generation job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generation job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world
* generation job failed. See <code>failureCode</code> for more information. </p>
* </dd> <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generation job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generation job is being cancelled.</p>
* </dd> </dl>
*/
inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the world generation job:</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generation job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generation job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generation job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world
* generation job failed. See <code>failureCode</code> for more information. </p>
* </dd> <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generation job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generation job is being cancelled.</p>
* </dd> </dl>
*/
inline void SetStatus(const WorldGenerationJobStatus& value) { m_status = value; }
/**
* <p>The status of the world generation job:</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generation job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generation job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generation job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world
* generation job failed. See <code>failureCode</code> for more information. </p>
* </dd> <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generation job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generation job is being cancelled.</p>
* </dd> </dl>
*/
inline void SetStatus(WorldGenerationJobStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the world generation job:</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generation job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generation job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generation job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world
* generation job failed. See <code>failureCode</code> for more information. </p>
* </dd> <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generation job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generation job is being cancelled.</p>
* </dd> </dl>
*/
inline DescribeWorldGenerationJobResult& WithStatus(const WorldGenerationJobStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the world generation job:</p> <dl> <dt>Pending</dt> <dd> <p>The
* world generation job request is pending.</p> </dd> <dt>Running</dt> <dd> <p>The
* world generation job is running. </p> </dd> <dt>Completed</dt> <dd> <p>The world
* generation job completed. </p> </dd> <dt>Failed</dt> <dd> <p>The world
* generation job failed. See <code>failureCode</code> for more information. </p>
* </dd> <dt>PartialFailed</dt> <dd> <p>Some worlds did not generate.</p> </dd>
* <dt>Canceled</dt> <dd> <p>The world generation job was cancelled.</p> </dd>
* <dt>Canceling</dt> <dd> <p>The world generation job is being cancelled.</p>
* </dd> </dl>
*/
inline DescribeWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world generation job was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world generation job was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world generation job was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world generation job was
* created.</p>
*/
inline DescribeWorldGenerationJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world generation job was
* created.</p>
*/
inline DescribeWorldGenerationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The failure code of the world generation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline const WorldGenerationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code of the world generation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(const WorldGenerationJobErrorCode& value) { m_failureCode = value; }
/**
* <p>The failure code of the world generation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline void SetFailureCode(WorldGenerationJobErrorCode&& value) { m_failureCode = std::move(value); }
/**
* <p>The failure code of the world generation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline DescribeWorldGenerationJobResult& WithFailureCode(const WorldGenerationJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code of the world generation job if it failed:</p> <dl>
* <dt>InternalServiceError</dt> <dd> <p>Internal service error.</p> </dd>
* <dt>LimitExceeded</dt> <dd> <p>The requested resource exceeds the maximum number
* allowed, or the number of concurrent stream requests exceeds the maximum number
* allowed. </p> </dd> <dt>ResourceNotFound</dt> <dd> <p>The specified resource
* could not be found. </p> </dd> <dt>RequestThrottled</dt> <dd> <p>The request was
* throttled.</p> </dd> <dt>InvalidInput</dt> <dd> <p>An input parameter in the
* request is not valid.</p> </dd> </dl>
*/
inline DescribeWorldGenerationJobResult& WithFailureCode(WorldGenerationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The reason why the world generation job failed.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The reason why the world generation job failed.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>The reason why the world generation job failed.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>The reason why the world generation job failed.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>The reason why the world generation job failed.</p>
*/
inline DescribeWorldGenerationJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>The reason why the world generation job failed.</p>
*/
inline DescribeWorldGenerationJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The reason why the world generation job failed.</p>
*/
inline DescribeWorldGenerationJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldGenerationJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldGenerationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldGenerationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_template = value; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(const char* value) { m_template.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline DescribeWorldGenerationJobResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline DescribeWorldGenerationJobResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline DescribeWorldGenerationJobResult& WithTemplate(const char* value) { SetTemplate(value); return *this;}
/**
* <p>Information about the world count.</p>
*/
inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
/**
* <p>Information about the world count.</p>
*/
inline void SetWorldCount(const WorldCount& value) { m_worldCount = value; }
/**
* <p>Information about the world count.</p>
*/
inline void SetWorldCount(WorldCount&& value) { m_worldCount = std::move(value); }
/**
* <p>Information about the world count.</p>
*/
inline DescribeWorldGenerationJobResult& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
/**
* <p>Information about the world count.</p>
*/
inline DescribeWorldGenerationJobResult& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
/**
* <p>Summary information about finished worlds.</p>
*/
inline const FinishedWorldsSummary& GetFinishedWorldsSummary() const{ return m_finishedWorldsSummary; }
/**
* <p>Summary information about finished worlds.</p>
*/
inline void SetFinishedWorldsSummary(const FinishedWorldsSummary& value) { m_finishedWorldsSummary = value; }
/**
* <p>Summary information about finished worlds.</p>
*/
inline void SetFinishedWorldsSummary(FinishedWorldsSummary&& value) { m_finishedWorldsSummary = std::move(value); }
/**
* <p>Summary information about finished worlds.</p>
*/
inline DescribeWorldGenerationJobResult& WithFinishedWorldsSummary(const FinishedWorldsSummary& value) { SetFinishedWorldsSummary(value); return *this;}
/**
* <p>Summary information about finished worlds.</p>
*/
inline DescribeWorldGenerationJobResult& WithFinishedWorldsSummary(FinishedWorldsSummary&& value) { SetFinishedWorldsSummary(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* generation job.</p>
*/
inline DescribeWorldGenerationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
WorldGenerationJobStatus m_status;
Aws::Utils::DateTime m_createdAt;
WorldGenerationJobErrorCode m_failureCode;
Aws::String m_failureReason;
Aws::String m_clientRequestToken;
Aws::String m_template;
WorldCount m_worldCount;
FinishedWorldsSummary m_finishedWorldsSummary;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeWorldRequest : public RoboMakerRequest
{
public:
DescribeWorldRequest();
// 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 "DescribeWorld"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline const Aws::String& GetWorld() const{ return m_world; }
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline bool WorldHasBeenSet() const { return m_worldHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline void SetWorld(const Aws::String& value) { m_worldHasBeenSet = true; m_world = value; }
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline void SetWorld(Aws::String&& value) { m_worldHasBeenSet = true; m_world = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline void SetWorld(const char* value) { m_worldHasBeenSet = true; m_world.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline DescribeWorldRequest& WithWorld(const Aws::String& value) { SetWorld(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline DescribeWorldRequest& WithWorld(Aws::String&& value) { SetWorld(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
*/
inline DescribeWorldRequest& WithWorld(const char* value) { SetWorld(value); return *this;}
private:
Aws::String m_world;
bool m_worldHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,265 @@
/**
* 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/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeWorldResult
{
public:
DescribeWorldResult();
DescribeWorldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeWorldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline DescribeWorldResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline DescribeWorldResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world.</p>
*/
inline DescribeWorldResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline const Aws::String& GetGenerationJob() const{ return m_generationJob; }
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline void SetGenerationJob(const Aws::String& value) { m_generationJob = value; }
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline void SetGenerationJob(Aws::String&& value) { m_generationJob = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline void SetGenerationJob(const char* value) { m_generationJob.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline DescribeWorldResult& WithGenerationJob(const Aws::String& value) { SetGenerationJob(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline DescribeWorldResult& WithGenerationJob(Aws::String&& value) { SetGenerationJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generation job that generated the
* world.</p>
*/
inline DescribeWorldResult& WithGenerationJob(const char* value) { SetGenerationJob(value); return *this;}
/**
* <p>The world template.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The world template.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_template = value; }
/**
* <p>The world template.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); }
/**
* <p>The world template.</p>
*/
inline void SetTemplate(const char* value) { m_template.assign(value); }
/**
* <p>The world template.</p>
*/
inline DescribeWorldResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The world template.</p>
*/
inline DescribeWorldResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The world template.</p>
*/
inline DescribeWorldResult& WithTemplate(const char* value) { SetTemplate(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world was created.</p>
*/
inline DescribeWorldResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world was created.</p>
*/
inline DescribeWorldResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the
* world.</p>
*/
inline DescribeWorldResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_generationJob;
Aws::String m_template;
Aws::Utils::DateTime m_createdAt;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,91 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API DescribeWorldTemplateRequest : public RoboMakerRequest
{
public:
DescribeWorldTemplateRequest();
// 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 "DescribeWorldTemplate"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline DescribeWorldTemplateRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline DescribeWorldTemplateRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template you want to
* describe.</p>
*/
inline DescribeWorldTemplateRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
private:
Aws::String m_template;
bool m_templateHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,303 @@
/**
* 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/DateTime.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API DescribeWorldTemplateResult
{
public:
DescribeWorldTemplateResult();
DescribeWorldTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline DescribeWorldTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline DescribeWorldTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the world template.</p>
*/
inline DescribeWorldTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldTemplateResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldTemplateResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
* of the request.</p>
*/
inline DescribeWorldTemplateResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the world template.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the world template.</p>
*/
inline DescribeWorldTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline DescribeWorldTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the world template.</p>
*/
inline DescribeWorldTemplateResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline DescribeWorldTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world template was
* created.</p>
*/
inline DescribeWorldTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world template was last
* updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the world template was last
* updated.</p>
*/
inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the world template was last
* updated.</p>
*/
inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the world template was last
* updated.</p>
*/
inline DescribeWorldTemplateResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the world template was last
* updated.</p>
*/
inline DescribeWorldTemplateResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map that contains tag keys and tag values that are attached to the world
* template.</p>
*/
inline DescribeWorldTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
Aws::String m_clientRequestToken;
Aws::String m_name;
Aws::Utils::DateTime m_createdAt;
Aws::Utils::DateTime m_lastUpdatedAt;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,200 @@
/**
* 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/robomaker/model/SimulationJobRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/SimulationJobErrorCode.h>
#include <aws/core/utils/DateTime.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 failed create simulation job request.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/FailedCreateSimulationJobRequest">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API FailedCreateSimulationJobRequest
{
public:
FailedCreateSimulationJobRequest();
FailedCreateSimulationJobRequest(Aws::Utils::Json::JsonView jsonValue);
FailedCreateSimulationJobRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The simulation job request.</p>
*/
inline const SimulationJobRequest& GetRequest() const{ return m_request; }
/**
* <p>The simulation job request.</p>
*/
inline bool RequestHasBeenSet() const { return m_requestHasBeenSet; }
/**
* <p>The simulation job request.</p>
*/
inline void SetRequest(const SimulationJobRequest& value) { m_requestHasBeenSet = true; m_request = value; }
/**
* <p>The simulation job request.</p>
*/
inline void SetRequest(SimulationJobRequest&& value) { m_requestHasBeenSet = true; m_request = std::move(value); }
/**
* <p>The simulation job request.</p>
*/
inline FailedCreateSimulationJobRequest& WithRequest(const SimulationJobRequest& value) { SetRequest(value); return *this;}
/**
* <p>The simulation job request.</p>
*/
inline FailedCreateSimulationJobRequest& WithRequest(SimulationJobRequest&& value) { SetRequest(std::move(value)); return *this;}
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The failure reason of the simulation job request.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>The failure code.</p>
*/
inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code.</p>
*/
inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
/**
* <p>The failure code.</p>
*/
inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
/**
* <p>The failure code.</p>
*/
inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
/**
* <p>The failure code.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailureCode(const SimulationJobErrorCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch
* failed.</p>
*/
inline const Aws::Utils::DateTime& GetFailedAt() const{ return m_failedAt; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch
* failed.</p>
*/
inline bool FailedAtHasBeenSet() const { return m_failedAtHasBeenSet; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch
* failed.</p>
*/
inline void SetFailedAt(const Aws::Utils::DateTime& value) { m_failedAtHasBeenSet = true; m_failedAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch
* failed.</p>
*/
inline void SetFailedAt(Aws::Utils::DateTime&& value) { m_failedAtHasBeenSet = true; m_failedAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch
* failed.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailedAt(const Aws::Utils::DateTime& value) { SetFailedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the simulation job batch
* failed.</p>
*/
inline FailedCreateSimulationJobRequest& WithFailedAt(Aws::Utils::DateTime&& value) { SetFailedAt(std::move(value)); return *this;}
private:
SimulationJobRequest m_request;
bool m_requestHasBeenSet;
Aws::String m_failureReason;
bool m_failureReasonHasBeenSet;
SimulationJobErrorCode m_failureCode;
bool m_failureCodeHasBeenSet;
Aws::Utils::DateTime m_failedAt;
bool m_failedAtHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* 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>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
enum class FailureBehavior
{
NOT_SET,
Fail,
Continue
};
namespace FailureBehaviorMapper
{
AWS_ROBOMAKER_API FailureBehavior GetFailureBehaviorForName(const Aws::String& name);
AWS_ROBOMAKER_API Aws::String GetNameForFailureBehavior(FailureBehavior value);
} // namespace FailureBehaviorMapper
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,113 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/WorldFailure.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Information about worlds that failed.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/FailureSummary">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API FailureSummary
{
public:
FailureSummary();
FailureSummary(Aws::Utils::Json::JsonView jsonValue);
FailureSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The total number of failures.</p>
*/
inline int GetTotalFailureCount() const{ return m_totalFailureCount; }
/**
* <p>The total number of failures.</p>
*/
inline bool TotalFailureCountHasBeenSet() const { return m_totalFailureCountHasBeenSet; }
/**
* <p>The total number of failures.</p>
*/
inline void SetTotalFailureCount(int value) { m_totalFailureCountHasBeenSet = true; m_totalFailureCount = value; }
/**
* <p>The total number of failures.</p>
*/
inline FailureSummary& WithTotalFailureCount(int value) { SetTotalFailureCount(value); return *this;}
/**
* <p>The worlds that failed.</p>
*/
inline const Aws::Vector<WorldFailure>& GetFailures() const{ return m_failures; }
/**
* <p>The worlds that failed.</p>
*/
inline bool FailuresHasBeenSet() const { return m_failuresHasBeenSet; }
/**
* <p>The worlds that failed.</p>
*/
inline void SetFailures(const Aws::Vector<WorldFailure>& value) { m_failuresHasBeenSet = true; m_failures = value; }
/**
* <p>The worlds that failed.</p>
*/
inline void SetFailures(Aws::Vector<WorldFailure>&& value) { m_failuresHasBeenSet = true; m_failures = std::move(value); }
/**
* <p>The worlds that failed.</p>
*/
inline FailureSummary& WithFailures(const Aws::Vector<WorldFailure>& value) { SetFailures(value); return *this;}
/**
* <p>The worlds that failed.</p>
*/
inline FailureSummary& WithFailures(Aws::Vector<WorldFailure>&& value) { SetFailures(std::move(value)); return *this;}
/**
* <p>The worlds that failed.</p>
*/
inline FailureSummary& AddFailures(const WorldFailure& value) { m_failuresHasBeenSet = true; m_failures.push_back(value); return *this; }
/**
* <p>The worlds that failed.</p>
*/
inline FailureSummary& AddFailures(WorldFailure&& value) { m_failuresHasBeenSet = true; m_failures.push_back(std::move(value)); return *this; }
private:
int m_totalFailureCount;
bool m_totalFailureCountHasBeenSet;
Aws::Vector<WorldFailure> m_failures;
bool m_failuresHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,138 @@
/**
* 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/AWSVector.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 filter.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/Filter">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API Filter
{
public:
Filter();
Filter(Aws::Utils::Json::JsonView jsonValue);
Filter& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the filter.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the filter.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the filter.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the filter.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the filter.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the filter.</p>
*/
inline Filter& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the filter.</p>
*/
inline Filter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the filter.</p>
*/
inline Filter& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A list of values.</p>
*/
inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
/**
* <p>A list of values.</p>
*/
inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
/**
* <p>A list of values.</p>
*/
inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
/**
* <p>A list of values.</p>
*/
inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
/**
* <p>A list of values.</p>
*/
inline Filter& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
/**
* <p>A list of values.</p>
*/
inline Filter& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
/**
* <p>A list of values.</p>
*/
inline Filter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
/**
* <p>A list of values.</p>
*/
inline Filter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
/**
* <p>A list of values.</p>
*/
inline Filter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<Aws::String> m_values;
bool m_valuesHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,153 @@
/**
* 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/AWSVector.h>
#include <aws/robomaker/model/FailureSummary.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
/**
* <p>Information about worlds that finished.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/FinishedWorldsSummary">AWS
* API Reference</a></p>
*/
class AWS_ROBOMAKER_API FinishedWorldsSummary
{
public:
FinishedWorldsSummary();
FinishedWorldsSummary(Aws::Utils::Json::JsonView jsonValue);
FinishedWorldsSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The total number of finished worlds.</p>
*/
inline int GetFinishedCount() const{ return m_finishedCount; }
/**
* <p>The total number of finished worlds.</p>
*/
inline bool FinishedCountHasBeenSet() const { return m_finishedCountHasBeenSet; }
/**
* <p>The total number of finished worlds.</p>
*/
inline void SetFinishedCount(int value) { m_finishedCountHasBeenSet = true; m_finishedCount = value; }
/**
* <p>The total number of finished worlds.</p>
*/
inline FinishedWorldsSummary& WithFinishedCount(int value) { SetFinishedCount(value); return *this;}
/**
* <p>A list of worlds that succeeded.</p>
*/
inline const Aws::Vector<Aws::String>& GetSucceededWorlds() const{ return m_succeededWorlds; }
/**
* <p>A list of worlds that succeeded.</p>
*/
inline bool SucceededWorldsHasBeenSet() const { return m_succeededWorldsHasBeenSet; }
/**
* <p>A list of worlds that succeeded.</p>
*/
inline void SetSucceededWorlds(const Aws::Vector<Aws::String>& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = value; }
/**
* <p>A list of worlds that succeeded.</p>
*/
inline void SetSucceededWorlds(Aws::Vector<Aws::String>&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = std::move(value); }
/**
* <p>A list of worlds that succeeded.</p>
*/
inline FinishedWorldsSummary& WithSucceededWorlds(const Aws::Vector<Aws::String>& value) { SetSucceededWorlds(value); return *this;}
/**
* <p>A list of worlds that succeeded.</p>
*/
inline FinishedWorldsSummary& WithSucceededWorlds(Aws::Vector<Aws::String>&& value) { SetSucceededWorlds(std::move(value)); return *this;}
/**
* <p>A list of worlds that succeeded.</p>
*/
inline FinishedWorldsSummary& AddSucceededWorlds(const Aws::String& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; }
/**
* <p>A list of worlds that succeeded.</p>
*/
inline FinishedWorldsSummary& AddSucceededWorlds(Aws::String&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(std::move(value)); return *this; }
/**
* <p>A list of worlds that succeeded.</p>
*/
inline FinishedWorldsSummary& AddSucceededWorlds(const char* value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; }
/**
* <p>Information about worlds that failed.</p>
*/
inline const FailureSummary& GetFailureSummary() const{ return m_failureSummary; }
/**
* <p>Information about worlds that failed.</p>
*/
inline bool FailureSummaryHasBeenSet() const { return m_failureSummaryHasBeenSet; }
/**
* <p>Information about worlds that failed.</p>
*/
inline void SetFailureSummary(const FailureSummary& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = value; }
/**
* <p>Information about worlds that failed.</p>
*/
inline void SetFailureSummary(FailureSummary&& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = std::move(value); }
/**
* <p>Information about worlds that failed.</p>
*/
inline FinishedWorldsSummary& WithFailureSummary(const FailureSummary& value) { SetFailureSummary(value); return *this;}
/**
* <p>Information about worlds that failed.</p>
*/
inline FinishedWorldsSummary& WithFailureSummary(FailureSummary&& value) { SetFailureSummary(std::move(value)); return *this;}
private:
int m_finishedCount;
bool m_finishedCountHasBeenSet;
Aws::Vector<Aws::String> m_succeededWorlds;
bool m_succeededWorldsHasBeenSet;
FailureSummary m_failureSummary;
bool m_failureSummaryHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,280 @@
/**
* 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/DateTime.h>
#include <aws/robomaker/model/DeploymentStatus.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 fleet.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/Fleet">AWS API
* Reference</a></p>
*/
class AWS_ROBOMAKER_API Fleet
{
public:
Fleet();
Fleet(Aws::Utils::Json::JsonView jsonValue);
Fleet& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the fleet.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the fleet.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the fleet.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the fleet.</p>
*/
inline Fleet& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline Fleet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the fleet.</p>
*/
inline Fleet& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline Fleet& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline Fleet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the fleet.</p>
*/
inline Fleet& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline Fleet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
*/
inline Fleet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The status of the last fleet deployment.</p>
*/
inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; }
/**
* <p>The status of the last fleet deployment.</p>
*/
inline bool LastDeploymentStatusHasBeenSet() const { return m_lastDeploymentStatusHasBeenSet; }
/**
* <p>The status of the last fleet deployment.</p>
*/
inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = value; }
/**
* <p>The status of the last fleet deployment.</p>
*/
inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = std::move(value); }
/**
* <p>The status of the last fleet deployment.</p>
*/
inline Fleet& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;}
/**
* <p>The status of the last fleet deployment.</p>
*/
inline Fleet& WithLastDeploymentStatus(DeploymentStatus&& value) { SetLastDeploymentStatus(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = value; }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline Fleet& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline Fleet& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
*/
inline Fleet& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
/**
* <p>The time of the last deployment.</p>
*/
inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
/**
* <p>The time of the last deployment.</p>
*/
inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
/**
* <p>The time of the last deployment.</p>
*/
inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = value; }
/**
* <p>The time of the last deployment.</p>
*/
inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::move(value); }
/**
* <p>The time of the last deployment.</p>
*/
inline Fleet& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
/**
* <p>The time of the last deployment.</p>
*/
inline Fleet& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::Utils::DateTime m_createdAt;
bool m_createdAtHasBeenSet;
DeploymentStatus m_lastDeploymentStatus;
bool m_lastDeploymentStatusHasBeenSet;
Aws::String m_lastDeploymentJob;
bool m_lastDeploymentJobHasBeenSet;
Aws::Utils::DateTime m_lastDeploymentTime;
bool m_lastDeploymentTimeHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API GetWorldTemplateBodyRequest : public RoboMakerRequest
{
public:
GetWorldTemplateBodyRequest();
// 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 "GetWorldTemplateBody"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline const Aws::String& GetTemplate() const{ return m_template; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline GetWorldTemplateBodyRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline GetWorldTemplateBodyRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world template.</p>
*/
inline GetWorldTemplateBodyRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline const Aws::String& GetGenerationJob() const{ return m_generationJob; }
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline bool GenerationJobHasBeenSet() const { return m_generationJobHasBeenSet; }
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline void SetGenerationJob(const Aws::String& value) { m_generationJobHasBeenSet = true; m_generationJob = value; }
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline void SetGenerationJob(Aws::String&& value) { m_generationJobHasBeenSet = true; m_generationJob = std::move(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline void SetGenerationJob(const char* value) { m_generationJobHasBeenSet = true; m_generationJob.assign(value); }
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline GetWorldTemplateBodyRequest& WithGenerationJob(const Aws::String& value) { SetGenerationJob(value); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline GetWorldTemplateBodyRequest& WithGenerationJob(Aws::String&& value) { SetGenerationJob(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (arn) of the world generator job.</p>
*/
inline GetWorldTemplateBodyRequest& WithGenerationJob(const char* value) { SetGenerationJob(value); return *this;}
private:
Aws::String m_template;
bool m_templateHasBeenSet;
Aws::String m_generationJob;
bool m_generationJobHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* 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 <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API GetWorldTemplateBodyResult
{
public:
GetWorldTemplateBodyResult();
GetWorldTemplateBodyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetWorldTemplateBodyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The world template body.</p>
*/
inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
/**
* <p>The world template body.</p>
*/
inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
/**
* <p>The world template body.</p>
*/
inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
/**
* <p>The world template body.</p>
*/
inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
/**
* <p>The world template body.</p>
*/
inline GetWorldTemplateBodyResult& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
/**
* <p>The world template body.</p>
*/
inline GetWorldTemplateBodyResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
/**
* <p>The world template body.</p>
*/
inline GetWorldTemplateBodyResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
private:
Aws::String m_templateBody;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,277 @@
/**
* 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

View File

@@ -0,0 +1,257 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/Filter.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API ListDeploymentJobsRequest : public RoboMakerRequest
{
public:
ListDeploymentJobsRequest();
// 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 "ListDeploymentJobs"; }
Aws::String SerializePayload() const override;
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline ListDeploymentJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline ListDeploymentJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline ListDeploymentJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>InProgress</code> or the status
* <code>Pending</code>.</p>
*/
inline ListDeploymentJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListDeploymentJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListDeploymentJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListDeploymentJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>When this parameter is used, <code>ListDeploymentJobs</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListDeploymentJobs</code> request
* with the returned <code>nextToken</code> value. This value can be between 1 and
* 200. If this parameter is not used, then <code>ListDeploymentJobs</code> returns
* up to 200 results and a <code>nextToken</code> value if applicable. </p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>When this parameter is used, <code>ListDeploymentJobs</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListDeploymentJobs</code> request
* with the returned <code>nextToken</code> value. This value can be between 1 and
* 200. If this parameter is not used, then <code>ListDeploymentJobs</code> returns
* up to 200 results and a <code>nextToken</code> value if applicable. </p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>When this parameter is used, <code>ListDeploymentJobs</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListDeploymentJobs</code> request
* with the returned <code>nextToken</code> value. This value can be between 1 and
* 200. If this parameter is not used, then <code>ListDeploymentJobs</code> returns
* up to 200 results and a <code>nextToken</code> value if applicable. </p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>When this parameter is used, <code>ListDeploymentJobs</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListDeploymentJobs</code> request
* with the returned <code>nextToken</code> value. This value can be between 1 and
* 200. If this parameter is not used, then <code>ListDeploymentJobs</code> returns
* up to 200 results and a <code>nextToken</code> value if applicable. </p>
*/
inline ListDeploymentJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::Vector<Filter> m_filters;
bool m_filtersHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,152 @@
/**
* 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/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/DeploymentJob.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API ListDeploymentJobsResult
{
public:
ListDeploymentJobsResult();
ListDeploymentJobsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListDeploymentJobsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline const Aws::Vector<DeploymentJob>& GetDeploymentJobs() const{ return m_deploymentJobs; }
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline void SetDeploymentJobs(const Aws::Vector<DeploymentJob>& value) { m_deploymentJobs = value; }
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline void SetDeploymentJobs(Aws::Vector<DeploymentJob>&& value) { m_deploymentJobs = std::move(value); }
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline ListDeploymentJobsResult& WithDeploymentJobs(const Aws::Vector<DeploymentJob>& value) { SetDeploymentJobs(value); return *this;}
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline ListDeploymentJobsResult& WithDeploymentJobs(Aws::Vector<DeploymentJob>&& value) { SetDeploymentJobs(std::move(value)); return *this;}
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline ListDeploymentJobsResult& AddDeploymentJobs(const DeploymentJob& value) { m_deploymentJobs.push_back(value); return *this; }
/**
* <p>A list of deployment jobs that meet the criteria of the request.</p>
*/
inline ListDeploymentJobsResult& AddDeploymentJobs(DeploymentJob&& value) { m_deploymentJobs.push_back(std::move(value)); return *this; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListDeploymentJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListDeploymentJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListDeploymentJobs</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListDeploymentJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<DeploymentJob> m_deploymentJobs;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,249 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/Filter.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API ListFleetsRequest : public RoboMakerRequest
{
public:
ListFleetsRequest();
// 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 "ListFleets"; }
Aws::String SerializePayload() const override;
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p> <p>This token should be treated as an
* opaque identifier that is only used to retrieve the next items in a list and not
* for other programmatic purposes.</p>
*/
inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>When this parameter is used, <code>ListFleets</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListFleets</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListFleets</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>When this parameter is used, <code>ListFleets</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListFleets</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListFleets</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>When this parameter is used, <code>ListFleets</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListFleets</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListFleets</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>When this parameter is used, <code>ListFleets</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListFleets</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListFleets</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline ListFleetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListFleetsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListFleetsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListFleetsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListFleetsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::Vector<Filter> m_filters;
bool m_filtersHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,152 @@
/**
* 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/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/Fleet.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API ListFleetsResult
{
public:
ListFleetsResult();
ListFleetsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListFleetsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline const Aws::Vector<Fleet>& GetFleetDetails() const{ return m_fleetDetails; }
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline void SetFleetDetails(const Aws::Vector<Fleet>& value) { m_fleetDetails = value; }
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline void SetFleetDetails(Aws::Vector<Fleet>&& value) { m_fleetDetails = std::move(value); }
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline ListFleetsResult& WithFleetDetails(const Aws::Vector<Fleet>& value) { SetFleetDetails(value); return *this;}
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline ListFleetsResult& WithFleetDetails(Aws::Vector<Fleet>&& value) { SetFleetDetails(std::move(value)); return *this;}
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline ListFleetsResult& AddFleetDetails(const Fleet& value) { m_fleetDetails.push_back(value); return *this; }
/**
* <p>A list of fleet details meeting the request criteria.</p>
*/
inline ListFleetsResult& AddFleetDetails(Fleet&& value) { m_fleetDetails.push_back(std::move(value)); return *this; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListFleetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListFleetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListFleets</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListFleetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Fleet> m_fleetDetails;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,281 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/Filter.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API ListRobotApplicationsRequest : public RoboMakerRequest
{
public:
ListRobotApplicationsRequest();
// 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 "ListRobotApplications"; }
Aws::String SerializePayload() const override;
/**
* <p>The version qualifier of the robot application.</p>
*/
inline const Aws::String& GetVersionQualifier() const{ return m_versionQualifier; }
/**
* <p>The version qualifier of the robot application.</p>
*/
inline bool VersionQualifierHasBeenSet() const { return m_versionQualifierHasBeenSet; }
/**
* <p>The version qualifier of the robot application.</p>
*/
inline void SetVersionQualifier(const Aws::String& value) { m_versionQualifierHasBeenSet = true; m_versionQualifier = value; }
/**
* <p>The version qualifier of the robot application.</p>
*/
inline void SetVersionQualifier(Aws::String&& value) { m_versionQualifierHasBeenSet = true; m_versionQualifier = std::move(value); }
/**
* <p>The version qualifier of the robot application.</p>
*/
inline void SetVersionQualifier(const char* value) { m_versionQualifierHasBeenSet = true; m_versionQualifier.assign(value); }
/**
* <p>The version qualifier of the robot application.</p>
*/
inline ListRobotApplicationsRequest& WithVersionQualifier(const Aws::String& value) { SetVersionQualifier(value); return *this;}
/**
* <p>The version qualifier of the robot application.</p>
*/
inline ListRobotApplicationsRequest& WithVersionQualifier(Aws::String&& value) { SetVersionQualifier(std::move(value)); return *this;}
/**
* <p>The version qualifier of the robot application.</p>
*/
inline ListRobotApplicationsRequest& WithVersionQualifier(const char* value) { SetVersionQualifier(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListRobotApplicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListRobotApplicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListRobotApplicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>When this parameter is used, <code>ListRobotApplications</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobotApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListRobotApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>When this parameter is used, <code>ListRobotApplications</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobotApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListRobotApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>When this parameter is used, <code>ListRobotApplications</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobotApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListRobotApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>When this parameter is used, <code>ListRobotApplications</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobotApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListRobotApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline ListRobotApplicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListRobotApplicationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListRobotApplicationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListRobotApplicationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
/**
* <p>Optional filters to limit results.</p> <p>The filter name <code>name</code>
* is supported. When filtering, you must use the complete value of the filtered
* item. You can use up to three filters.</p>
*/
inline ListRobotApplicationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
private:
Aws::String m_versionQualifier;
bool m_versionQualifierHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::Vector<Filter> m_filters;
bool m_filtersHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,159 @@
/**
* 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/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/RobotApplicationSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API ListRobotApplicationsResult
{
public:
ListRobotApplicationsResult();
ListRobotApplicationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListRobotApplicationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline const Aws::Vector<RobotApplicationSummary>& GetRobotApplicationSummaries() const{ return m_robotApplicationSummaries; }
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline void SetRobotApplicationSummaries(const Aws::Vector<RobotApplicationSummary>& value) { m_robotApplicationSummaries = value; }
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline void SetRobotApplicationSummaries(Aws::Vector<RobotApplicationSummary>&& value) { m_robotApplicationSummaries = std::move(value); }
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline ListRobotApplicationsResult& WithRobotApplicationSummaries(const Aws::Vector<RobotApplicationSummary>& value) { SetRobotApplicationSummaries(value); return *this;}
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline ListRobotApplicationsResult& WithRobotApplicationSummaries(Aws::Vector<RobotApplicationSummary>&& value) { SetRobotApplicationSummaries(std::move(value)); return *this;}
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline ListRobotApplicationsResult& AddRobotApplicationSummaries(const RobotApplicationSummary& value) { m_robotApplicationSummaries.push_back(value); return *this; }
/**
* <p>A list of robot application summaries that meet the criteria of the
* request.</p>
*/
inline ListRobotApplicationsResult& AddRobotApplicationSummaries(RobotApplicationSummary&& value) { m_robotApplicationSummaries.push_back(std::move(value)); return *this; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListRobotApplicationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListRobotApplicationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListRobotApplications</code> again and assign that token to the request
* object's <code>nextToken</code> parameter. If there are no remaining results,
* the previous response object's NextToken parameter is set to null. </p>
*/
inline ListRobotApplicationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<RobotApplicationSummary> m_robotApplicationSummaries;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,257 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/Filter.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API ListRobotsRequest : public RoboMakerRequest
{
public:
ListRobotsRequest();
// 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 "ListRobots"; }
Aws::String SerializePayload() const override;
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListRobotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListRobotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListRobotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>When this parameter is used, <code>ListRobots</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobots</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListRobots</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>When this parameter is used, <code>ListRobots</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobots</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListRobots</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>When this parameter is used, <code>ListRobots</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobots</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListRobots</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>When this parameter is used, <code>ListRobots</code> only returns
* <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListRobots</code> request with the
* returned <code>nextToken</code> value. This value can be between 1 and 200. If
* this parameter is not used, then <code>ListRobots</code> returns up to 200
* results and a <code>nextToken</code> value if applicable. </p>
*/
inline ListRobotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline ListRobotsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline ListRobotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline ListRobotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
/**
* <p>Optional filters to limit results.</p> <p>The filter names
* <code>status</code> and <code>fleetName</code> are supported. When filtering,
* you must use the complete value of the filtered item. You can use up to three
* filters, but they must be for the same named item. For example, if you are
* looking for items with the status <code>Registered</code> or the status
* <code>Available</code>.</p>
*/
inline ListRobotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::Vector<Filter> m_filters;
bool m_filtersHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,152 @@
/**
* 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/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/robomaker/model/Robot.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace RoboMaker
{
namespace Model
{
class AWS_ROBOMAKER_API ListRobotsResult
{
public:
ListRobotsResult();
ListRobotsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListRobotsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline const Aws::Vector<Robot>& GetRobots() const{ return m_robots; }
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline void SetRobots(const Aws::Vector<Robot>& value) { m_robots = value; }
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline void SetRobots(Aws::Vector<Robot>&& value) { m_robots = std::move(value); }
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline ListRobotsResult& WithRobots(const Aws::Vector<Robot>& value) { SetRobots(value); return *this;}
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline ListRobotsResult& WithRobots(Aws::Vector<Robot>&& value) { SetRobots(std::move(value)); return *this;}
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline ListRobotsResult& AddRobots(const Robot& value) { m_robots.push_back(value); return *this; }
/**
* <p>A list of robots that meet the criteria of the request.</p>
*/
inline ListRobotsResult& AddRobots(Robot&& value) { m_robots.push_back(std::move(value)); return *this; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListRobotsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListRobotsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call <code>ListRobots</code> again
* and assign that token to the request object's <code>nextToken</code> parameter.
* If there are no remaining results, the previous response object's NextToken
* parameter is set to null. </p>
*/
inline ListRobotsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Robot> m_robots;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

View File

@@ -0,0 +1,281 @@
/**
* 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/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/robomaker/model/Filter.h>
#include <utility>
namespace Aws
{
namespace RoboMaker
{
namespace Model
{
/**
*/
class AWS_ROBOMAKER_API ListSimulationApplicationsRequest : public RoboMakerRequest
{
public:
ListSimulationApplicationsRequest();
// 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 "ListSimulationApplications"; }
Aws::String SerializePayload() const override;
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline const Aws::String& GetVersionQualifier() const{ return m_versionQualifier; }
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline bool VersionQualifierHasBeenSet() const { return m_versionQualifierHasBeenSet; }
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline void SetVersionQualifier(const Aws::String& value) { m_versionQualifierHasBeenSet = true; m_versionQualifier = value; }
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline void SetVersionQualifier(Aws::String&& value) { m_versionQualifierHasBeenSet = true; m_versionQualifier = std::move(value); }
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline void SetVersionQualifier(const char* value) { m_versionQualifierHasBeenSet = true; m_versionQualifier.assign(value); }
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline ListSimulationApplicationsRequest& WithVersionQualifier(const Aws::String& value) { SetVersionQualifier(value); return *this;}
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline ListSimulationApplicationsRequest& WithVersionQualifier(Aws::String&& value) { SetVersionQualifier(std::move(value)); return *this;}
/**
* <p>The version qualifier of the simulation application.</p>
*/
inline ListSimulationApplicationsRequest& WithVersionQualifier(const char* value) { SetVersionQualifier(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline ListSimulationApplicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline ListSimulationApplicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the previous paginated request did not return all of the remaining
* results, the response object's <code>nextToken</code> parameter value is set to
* a token. To retrieve the next set of results, call
* <code>ListSimulationApplications</code> again and assign that token to the
* request object's <code>nextToken</code> parameter. If there are no remaining
* results, the previous response object's NextToken parameter is set to null. </p>
*/
inline ListSimulationApplicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>When this parameter is used, <code>ListSimulationApplications</code> only
* returns <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListSimulationApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListSimulationApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>When this parameter is used, <code>ListSimulationApplications</code> only
* returns <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListSimulationApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListSimulationApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>When this parameter is used, <code>ListSimulationApplications</code> only
* returns <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListSimulationApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListSimulationApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>When this parameter is used, <code>ListSimulationApplications</code> only
* returns <code>maxResults</code> results in a single page along with a
* <code>nextToken</code> response element. The remaining results of the initial
* request can be seen by sending another <code>ListSimulationApplications</code>
* request with the returned <code>nextToken</code> value. This value can be
* between 1 and 100. If this parameter is not used, then
* <code>ListSimulationApplications</code> returns up to 100 results and a
* <code>nextToken</code> value if applicable. </p>
*/
inline ListSimulationApplicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline ListSimulationApplicationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline ListSimulationApplicationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline ListSimulationApplicationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
/**
* <p>Optional list of filters to limit results.</p> <p>The filter name
* <code>name</code> is supported. When filtering, you must use the complete value
* of the filtered item. You can use up to three filters.</p>
*/
inline ListSimulationApplicationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
private:
Aws::String m_versionQualifier;
bool m_versionQualifierHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::Vector<Filter> m_filters;
bool m_filtersHasBeenSet;
};
} // namespace Model
} // namespace RoboMaker
} // namespace Aws

Some files were not shown because too many files have changed in this diff Show More