7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/model/WorldGenerationJobErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
69 inline void SetSampleFailureReason(
const char* value) { m_sampleFailureReasonHasBeenSet =
true; m_sampleFailureReason.assign(value); }
81 inline void SetFailureCount(
int value) { m_failureCountHasBeenSet =
true; m_failureCount = value; }
87 bool m_failureCodeHasBeenSet =
false;
90 bool m_sampleFailureReasonHasBeenSet =
false;
93 bool m_failureCountHasBeenSet =
false;
WorldFailure & WithSampleFailureReason(const Aws::String &value)
WorldFailure & WithFailureCode(WorldGenerationJobErrorCode &&value)
bool SampleFailureReasonHasBeenSet() const
WorldFailure & WithSampleFailureReason(Aws::String &&value)
WorldFailure & WithFailureCount(int value)
int GetFailureCount() const
AWS_ROBOMAKER_API WorldFailure()
void SetFailureCode(WorldGenerationJobErrorCode &&value)
void SetSampleFailureReason(const Aws::String &value)
AWS_ROBOMAKER_API WorldFailure(Aws::Utils::Json::JsonView jsonValue)
const WorldGenerationJobErrorCode & GetFailureCode() const
WorldFailure & WithFailureCode(const WorldGenerationJobErrorCode &value)
const Aws::String & GetSampleFailureReason() const
bool FailureCountHasBeenSet() const
bool FailureCodeHasBeenSet() const
void SetSampleFailureReason(Aws::String &&value)
void SetFailureCode(const WorldGenerationJobErrorCode &value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
WorldFailure & WithSampleFailureReason(const char *value)
AWS_ROBOMAKER_API WorldFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSampleFailureReason(const char *value)
void SetFailureCount(int value)
WorldGenerationJobErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue