7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/model/ValidateStateMachineDefinitionSeverity.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
78 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
95 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
103 bool m_severityHasBeenSet =
false;
106 bool m_codeHasBeenSet =
false;
109 bool m_messageHasBeenSet =
false;
112 bool m_locationHasBeenSet =
false;
ValidateStateMachineDefinitionDiagnostic & WithCode(const Aws::String &value)
bool MessageHasBeenSet() const
ValidateStateMachineDefinitionDiagnostic & WithLocation(const Aws::String &value)
void SetMessage(const Aws::String &value)
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
const ValidateStateMachineDefinitionSeverity & GetSeverity() const
ValidateStateMachineDefinitionDiagnostic & WithSeverity(ValidateStateMachineDefinitionSeverity &&value)
void SetSeverity(const ValidateStateMachineDefinitionSeverity &value)
void SetCode(const char *value)
const Aws::String & GetMessage() const
const Aws::String & GetCode() const
void SetMessage(Aws::String &&value)
ValidateStateMachineDefinitionDiagnostic & WithCode(Aws::String &&value)
void SetCode(Aws::String &&value)
ValidateStateMachineDefinitionDiagnostic & WithLocation(Aws::String &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const char *value)
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic()
bool LocationHasBeenSet() const
void SetLocation(const Aws::String &value)
ValidateStateMachineDefinitionDiagnostic & WithSeverity(const ValidateStateMachineDefinitionSeverity &value)
bool SeverityHasBeenSet() const
void SetCode(const Aws::String &value)
const Aws::String & GetLocation() const
void SetLocation(const char *value)
void SetLocation(Aws::String &&value)
void SetSeverity(ValidateStateMachineDefinitionSeverity &&value)
ValidateStateMachineDefinitionDiagnostic & WithCode(const char *value)
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidateStateMachineDefinitionDiagnostic & WithMessage(const Aws::String &value)
ValidateStateMachineDefinitionDiagnostic & WithLocation(const char *value)
ValidateStateMachineDefinitionDiagnostic & WithMessage(const char *value)
ValidateStateMachineDefinitionDiagnostic & WithMessage(Aws::String &&value)
ValidateStateMachineDefinitionSeverity
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue