AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidatePipelineDefinitionResult.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datapipeline/model/ValidationError.h>
11#include <aws/datapipeline/model/ValidationWarning.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 DataPipeline
27{
28namespace Model
29{
37 {
38 public:
39 AWS_DATAPIPELINE_API ValidatePipelineDefinitionResult();
42
43
45
48 inline const Aws::Vector<ValidationError>& GetValidationErrors() const{ return m_validationErrors; }
49 inline void SetValidationErrors(const Aws::Vector<ValidationError>& value) { m_validationErrors = value; }
50 inline void SetValidationErrors(Aws::Vector<ValidationError>&& value) { m_validationErrors = std::move(value); }
53 inline ValidatePipelineDefinitionResult& AddValidationErrors(const ValidationError& value) { m_validationErrors.push_back(value); return *this; }
54 inline ValidatePipelineDefinitionResult& AddValidationErrors(ValidationError&& value) { m_validationErrors.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<ValidationWarning>& GetValidationWarnings() const{ return m_validationWarnings; }
62 inline void SetValidationWarnings(const Aws::Vector<ValidationWarning>& value) { m_validationWarnings = value; }
63 inline void SetValidationWarnings(Aws::Vector<ValidationWarning>&& value) { m_validationWarnings = std::move(value); }
66 inline ValidatePipelineDefinitionResult& AddValidationWarnings(const ValidationWarning& value) { m_validationWarnings.push_back(value); return *this; }
67 inline ValidatePipelineDefinitionResult& AddValidationWarnings(ValidationWarning&& value) { m_validationWarnings.push_back(std::move(value)); return *this; }
69
71
74 inline bool GetErrored() const{ return m_errored; }
75 inline void SetErrored(bool value) { m_errored = value; }
76 inline ValidatePipelineDefinitionResult& WithErrored(bool value) { SetErrored(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline ValidatePipelineDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline ValidatePipelineDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline ValidatePipelineDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::Vector<ValidationError> m_validationErrors;
92
93 Aws::Vector<ValidationWarning> m_validationWarnings;
94
95 bool m_errored;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace DataPipeline
102} // namespace Aws
AWS_DATAPIPELINE_API ValidatePipelineDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ValidationWarning > & GetValidationWarnings() const
ValidatePipelineDefinitionResult & AddValidationWarnings(const ValidationWarning &value)
void SetValidationWarnings(const Aws::Vector< ValidationWarning > &value)
ValidatePipelineDefinitionResult & WithValidationWarnings(Aws::Vector< ValidationWarning > &&value)
ValidatePipelineDefinitionResult & WithRequestId(const Aws::String &value)
void SetValidationErrors(const Aws::Vector< ValidationError > &value)
ValidatePipelineDefinitionResult & WithValidationErrors(const Aws::Vector< ValidationError > &value)
ValidatePipelineDefinitionResult & WithValidationWarnings(const Aws::Vector< ValidationWarning > &value)
ValidatePipelineDefinitionResult & AddValidationErrors(const ValidationError &value)
ValidatePipelineDefinitionResult & WithRequestId(const char *value)
ValidatePipelineDefinitionResult & AddValidationWarnings(ValidationWarning &&value)
ValidatePipelineDefinitionResult & AddValidationErrors(ValidationError &&value)
void SetValidationWarnings(Aws::Vector< ValidationWarning > &&value)
ValidatePipelineDefinitionResult & WithValidationErrors(Aws::Vector< ValidationError > &&value)
ValidatePipelineDefinitionResult & WithRequestId(Aws::String &&value)
AWS_DATAPIPELINE_API ValidatePipelineDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue