AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutPipelineDefinitionResult.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{
36 {
37 public:
38 AWS_DATAPIPELINE_API PutPipelineDefinitionResult();
41
42
44
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 PutPipelineDefinitionResult& AddValidationErrors(const ValidationError& value) { m_validationErrors.push_back(value); return *this; }
54 inline PutPipelineDefinitionResult& AddValidationErrors(ValidationError&& value) { m_validationErrors.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<ValidationWarning>& GetValidationWarnings() const{ return m_validationWarnings; }
63 inline void SetValidationWarnings(const Aws::Vector<ValidationWarning>& value) { m_validationWarnings = value; }
64 inline void SetValidationWarnings(Aws::Vector<ValidationWarning>&& value) { m_validationWarnings = std::move(value); }
67 inline PutPipelineDefinitionResult& AddValidationWarnings(const ValidationWarning& value) { m_validationWarnings.push_back(value); return *this; }
68 inline PutPipelineDefinitionResult& AddValidationWarnings(ValidationWarning&& value) { m_validationWarnings.push_back(std::move(value)); return *this; }
70
72
77 inline bool GetErrored() const{ return m_errored; }
78 inline void SetErrored(bool value) { m_errored = value; }
79 inline PutPipelineDefinitionResult& WithErrored(bool value) { SetErrored(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline PutPipelineDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline PutPipelineDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline PutPipelineDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::Vector<ValidationError> m_validationErrors;
95
96 Aws::Vector<ValidationWarning> m_validationWarnings;
97
98 bool m_errored;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace DataPipeline
105} // namespace Aws
AWS_DATAPIPELINE_API PutPipelineDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutPipelineDefinitionResult & WithValidationWarnings(Aws::Vector< ValidationWarning > &&value)
const Aws::Vector< ValidationError > & GetValidationErrors() const
PutPipelineDefinitionResult & WithValidationWarnings(const Aws::Vector< ValidationWarning > &value)
void SetValidationErrors(const Aws::Vector< ValidationError > &value)
AWS_DATAPIPELINE_API PutPipelineDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetValidationWarnings(Aws::Vector< ValidationWarning > &&value)
PutPipelineDefinitionResult & AddValidationWarnings(ValidationWarning &&value)
PutPipelineDefinitionResult & AddValidationWarnings(const ValidationWarning &value)
PutPipelineDefinitionResult & WithRequestId(const char *value)
PutPipelineDefinitionResult & AddValidationErrors(ValidationError &&value)
PutPipelineDefinitionResult & WithValidationErrors(const Aws::Vector< ValidationError > &value)
PutPipelineDefinitionResult & AddValidationErrors(const ValidationError &value)
void SetValidationErrors(Aws::Vector< ValidationError > &&value)
void SetValidationWarnings(const Aws::Vector< ValidationWarning > &value)
PutPipelineDefinitionResult & WithRequestId(Aws::String &&value)
PutPipelineDefinitionResult & WithValidationErrors(Aws::Vector< ValidationError > &&value)
const Aws::Vector< ValidationWarning > & GetValidationWarnings() const
PutPipelineDefinitionResult & WithRequestId(const Aws::String &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