AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedCreateSimulationJobRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/model/SimulationJobRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/robomaker/model/SimulationJobErrorCode.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace RoboMaker
25{
26namespace Model
27{
28
36 {
37 public:
41 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const SimulationJobRequest& GetRequest() const{ return m_request; }
49 inline bool RequestHasBeenSet() const { return m_requestHasBeenSet; }
50 inline void SetRequest(const SimulationJobRequest& value) { m_requestHasBeenSet = true; m_request = value; }
51 inline void SetRequest(SimulationJobRequest&& value) { m_requestHasBeenSet = true; m_request = std::move(value); }
52 inline FailedCreateSimulationJobRequest& WithRequest(const SimulationJobRequest& value) { SetRequest(value); return *this;}
53 inline FailedCreateSimulationJobRequest& WithRequest(SimulationJobRequest&& value) { SetRequest(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
61 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
62 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
63 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
64 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
66 inline FailedCreateSimulationJobRequest& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
67 inline FailedCreateSimulationJobRequest& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
69
71
74 inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
75 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
76 inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
77 inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
81
83
87 inline const Aws::Utils::DateTime& GetFailedAt() const{ return m_failedAt; }
88 inline bool FailedAtHasBeenSet() const { return m_failedAtHasBeenSet; }
89 inline void SetFailedAt(const Aws::Utils::DateTime& value) { m_failedAtHasBeenSet = true; m_failedAt = value; }
90 inline void SetFailedAt(Aws::Utils::DateTime&& value) { m_failedAtHasBeenSet = true; m_failedAt = std::move(value); }
92 inline FailedCreateSimulationJobRequest& WithFailedAt(Aws::Utils::DateTime&& value) { SetFailedAt(std::move(value)); return *this;}
94 private:
95
96 SimulationJobRequest m_request;
97 bool m_requestHasBeenSet = false;
98
99 Aws::String m_failureReason;
100 bool m_failureReasonHasBeenSet = false;
101
102 SimulationJobErrorCode m_failureCode;
103 bool m_failureCodeHasBeenSet = false;
104
105 Aws::Utils::DateTime m_failedAt;
106 bool m_failedAtHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace RoboMaker
111} // namespace Aws
AWS_ROBOMAKER_API FailedCreateSimulationJobRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedCreateSimulationJobRequest & WithFailedAt(Aws::Utils::DateTime &&value)
FailedCreateSimulationJobRequest & WithFailureReason(Aws::String &&value)
FailedCreateSimulationJobRequest & WithFailedAt(const Aws::Utils::DateTime &value)
FailedCreateSimulationJobRequest & WithRequest(const SimulationJobRequest &value)
FailedCreateSimulationJobRequest & WithFailureCode(const SimulationJobErrorCode &value)
FailedCreateSimulationJobRequest & WithFailureCode(SimulationJobErrorCode &&value)
FailedCreateSimulationJobRequest & WithFailureReason(const Aws::String &value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API FailedCreateSimulationJobRequest(Aws::Utils::Json::JsonView jsonValue)
FailedCreateSimulationJobRequest & WithRequest(SimulationJobRequest &&value)
FailedCreateSimulationJobRequest & WithFailureReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue