7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/model/ValidateStateMachineDefinitionSeverity.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
92 template<
typename CodeT = Aws::String>
93 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
94 template<
typename CodeT = Aws::String>
104 template<
typename MessageT = Aws::String>
105 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
106 template<
typename MessageT = Aws::String>
119 template<
typename LocationT = Aws::String>
120 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
121 template<
typename LocationT = Aws::String>
127 bool m_severityHasBeenSet =
false;
130 bool m_codeHasBeenSet =
false;
133 bool m_messageHasBeenSet =
false;
136 bool m_locationHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
const Aws::String & GetMessage() const
const Aws::String & GetCode() const
void SetCode(CodeT &&value)
void SetSeverity(ValidateStateMachineDefinitionSeverity value)
void SetMessage(MessageT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic()=default
bool LocationHasBeenSet() const
ValidateStateMachineDefinitionDiagnostic & WithLocation(LocationT &&value)
bool SeverityHasBeenSet() const
const Aws::String & GetLocation() const
ValidateStateMachineDefinitionDiagnostic & WithCode(CodeT &&value)
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidateStateMachineDefinitionSeverity GetSeverity() const
void SetLocation(LocationT &&value)
ValidateStateMachineDefinitionDiagnostic & WithSeverity(ValidateStateMachineDefinitionSeverity value)
ValidateStateMachineDefinitionDiagnostic & WithMessage(MessageT &&value)
ValidateStateMachineDefinitionSeverity
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue