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

201 lines
6.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
#include <aws/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