AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidateStateMachineDefinitionDiagnostic.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/model/ValidateStateMachineDefinitionSeverity.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SFN
23{
24namespace Model
25{
26
35 {
36 public:
41
42
44
48 inline const ValidateStateMachineDefinitionSeverity& GetSeverity() const{ return m_severity; }
49 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
50 inline void SetSeverity(const ValidateStateMachineDefinitionSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
51 inline void SetSeverity(ValidateStateMachineDefinitionSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
55
57
60 inline const Aws::String& GetCode() const{ return m_code; }
61 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
62 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
63 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
64 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
65 inline ValidateStateMachineDefinitionDiagnostic& WithCode(const Aws::String& value) { SetCode(value); return *this;}
66 inline ValidateStateMachineDefinitionDiagnostic& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
67 inline ValidateStateMachineDefinitionDiagnostic& WithCode(const char* value) { SetCode(value); return *this;}
69
71
74 inline const Aws::String& GetMessage() const{ return m_message; }
75 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
76 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
77 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
78 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
79 inline ValidateStateMachineDefinitionDiagnostic& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
80 inline ValidateStateMachineDefinitionDiagnostic& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
81 inline ValidateStateMachineDefinitionDiagnostic& WithMessage(const char* value) { SetMessage(value); return *this;}
83
85
91 inline const Aws::String& GetLocation() const{ return m_location; }
92 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
93 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
94 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
95 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
97 inline ValidateStateMachineDefinitionDiagnostic& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
98 inline ValidateStateMachineDefinitionDiagnostic& WithLocation(const char* value) { SetLocation(value); return *this;}
100 private:
101
103 bool m_severityHasBeenSet = false;
104
105 Aws::String m_code;
106 bool m_codeHasBeenSet = false;
107
108 Aws::String m_message;
109 bool m_messageHasBeenSet = false;
110
111 Aws::String m_location;
112 bool m_locationHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SFN
117} // namespace Aws
ValidateStateMachineDefinitionDiagnostic & WithCode(const Aws::String &value)
ValidateStateMachineDefinitionDiagnostic & WithLocation(const Aws::String &value)
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic(Aws::Utils::Json::JsonView jsonValue)
const ValidateStateMachineDefinitionSeverity & GetSeverity() const
ValidateStateMachineDefinitionDiagnostic & WithSeverity(ValidateStateMachineDefinitionSeverity &&value)
void SetSeverity(const ValidateStateMachineDefinitionSeverity &value)
ValidateStateMachineDefinitionDiagnostic & WithCode(Aws::String &&value)
ValidateStateMachineDefinitionDiagnostic & WithLocation(Aws::String &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
ValidateStateMachineDefinitionDiagnostic & WithSeverity(const 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue