AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ValidateStateMachineDefinitionDiagnostic.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/ValidateStateMachineDefinitionSeverity.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SFN {
21namespace Model {
22
61 public:
66
68
74 inline ValidateStateMachineDefinitionSeverity GetSeverity() const { return m_severity; }
75 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
77 m_severityHasBeenSet = true;
78 m_severity = value;
79 }
81 SetSeverity(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetCode() const { return m_code; }
91 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
92 template <typename CodeT = Aws::String>
93 void SetCode(CodeT&& value) {
94 m_codeHasBeenSet = true;
95 m_code = std::forward<CodeT>(value);
96 }
97 template <typename CodeT = Aws::String>
99 SetCode(std::forward<CodeT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetMessage() const { return m_message; }
109 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
110 template <typename MessageT = Aws::String>
111 void SetMessage(MessageT&& value) {
112 m_messageHasBeenSet = true;
113 m_message = std::forward<MessageT>(value);
114 }
115 template <typename MessageT = Aws::String>
117 SetMessage(std::forward<MessageT>(value));
118 return *this;
119 }
121
123
129 inline const Aws::String& GetLocation() const { return m_location; }
130 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
131 template <typename LocationT = Aws::String>
132 void SetLocation(LocationT&& value) {
133 m_locationHasBeenSet = true;
134 m_location = std::forward<LocationT>(value);
135 }
136 template <typename LocationT = Aws::String>
138 SetLocation(std::forward<LocationT>(value));
139 return *this;
140 }
142 private:
144
145 Aws::String m_code;
146
147 Aws::String m_message;
148
149 Aws::String m_location;
150 bool m_severityHasBeenSet = false;
151 bool m_codeHasBeenSet = false;
152 bool m_messageHasBeenSet = false;
153 bool m_locationHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace SFN
158} // namespace Aws
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
ValidateStateMachineDefinitionDiagnostic & WithLocation(LocationT &&value)
ValidateStateMachineDefinitionDiagnostic & WithCode(CodeT &&value)
AWS_SFN_API ValidateStateMachineDefinitionDiagnostic & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidateStateMachineDefinitionDiagnostic & WithSeverity(ValidateStateMachineDefinitionSeverity value)
ValidateStateMachineDefinitionDiagnostic & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue