AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidateStateMachineDefinitionResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/model/ValidateStateMachineDefinitionResultCode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/states/model/ValidateStateMachineDefinitionDiagnostic.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SFN
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const ValidateStateMachineDefinitionResultCode& GetResult() const{ return m_result; }
44 inline void SetResult(const ValidateStateMachineDefinitionResultCode& value) { m_result = value; }
45 inline void SetResult(ValidateStateMachineDefinitionResultCode&& value) { m_result = std::move(value); }
49
51
56 inline const Aws::Vector<ValidateStateMachineDefinitionDiagnostic>& GetDiagnostics() const{ return m_diagnostics; }
57 inline void SetDiagnostics(const Aws::Vector<ValidateStateMachineDefinitionDiagnostic>& value) { m_diagnostics = value; }
58 inline void SetDiagnostics(Aws::Vector<ValidateStateMachineDefinitionDiagnostic>&& value) { m_diagnostics = std::move(value); }
61 inline ValidateStateMachineDefinitionResult& AddDiagnostics(const ValidateStateMachineDefinitionDiagnostic& value) { m_diagnostics.push_back(value); return *this; }
62 inline ValidateStateMachineDefinitionResult& AddDiagnostics(ValidateStateMachineDefinitionDiagnostic&& value) { m_diagnostics.push_back(std::move(value)); return *this; }
64
66
71 inline bool GetTruncated() const{ return m_truncated; }
72 inline void SetTruncated(bool value) { m_truncated = value; }
73 inline ValidateStateMachineDefinitionResult& WithTruncated(bool value) { SetTruncated(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline ValidateStateMachineDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ValidateStateMachineDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ValidateStateMachineDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
89
91
92 bool m_truncated;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace SFN
99} // namespace Aws
ValidateStateMachineDefinitionResult & AddDiagnostics(const ValidateStateMachineDefinitionDiagnostic &value)
ValidateStateMachineDefinitionResult & WithDiagnostics(const Aws::Vector< ValidateStateMachineDefinitionDiagnostic > &value)
void SetDiagnostics(Aws::Vector< ValidateStateMachineDefinitionDiagnostic > &&value)
ValidateStateMachineDefinitionResult & WithDiagnostics(Aws::Vector< ValidateStateMachineDefinitionDiagnostic > &&value)
void SetResult(ValidateStateMachineDefinitionResultCode &&value)
const Aws::Vector< ValidateStateMachineDefinitionDiagnostic > & GetDiagnostics() const
AWS_SFN_API ValidateStateMachineDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ValidateStateMachineDefinitionResultCode & GetResult() const
ValidateStateMachineDefinitionResult & WithRequestId(const Aws::String &value)
ValidateStateMachineDefinitionResult & WithResult(ValidateStateMachineDefinitionResultCode &&value)
ValidateStateMachineDefinitionResult & WithRequestId(Aws::String &&value)
ValidateStateMachineDefinitionResult & WithRequestId(const char *value)
void SetResult(const ValidateStateMachineDefinitionResultCode &value)
ValidateStateMachineDefinitionResult & AddDiagnostics(ValidateStateMachineDefinitionDiagnostic &&value)
ValidateStateMachineDefinitionResult & WithResult(const ValidateStateMachineDefinitionResultCode &value)
ValidateStateMachineDefinitionResult & WithTruncated(bool value)
AWS_SFN_API ValidateStateMachineDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDiagnostics(const Aws::Vector< ValidateStateMachineDefinitionDiagnostic > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue