630 lines
28 KiB
C++
630 lines
28 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/robomaker/RoboMaker_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/robomaker/model/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
|