AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluateMappingTemplateResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/ErrorDetail.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppSync
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPSYNC_API EvaluateMappingTemplateResult() = default;
35
36
38
41 inline const Aws::String& GetEvaluationResult() const { return m_evaluationResult; }
42 template<typename EvaluationResultT = Aws::String>
43 void SetEvaluationResult(EvaluationResultT&& value) { m_evaluationResultHasBeenSet = true; m_evaluationResult = std::forward<EvaluationResultT>(value); }
44 template<typename EvaluationResultT = Aws::String>
45 EvaluateMappingTemplateResult& WithEvaluationResult(EvaluationResultT&& value) { SetEvaluationResult(std::forward<EvaluationResultT>(value)); return *this;}
47
49
52 inline const ErrorDetail& GetError() const { return m_error; }
53 template<typename ErrorT = ErrorDetail>
54 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
55 template<typename ErrorT = ErrorDetail>
56 EvaluateMappingTemplateResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetLogs() const { return m_logs; }
65 template<typename LogsT = Aws::Vector<Aws::String>>
66 void SetLogs(LogsT&& value) { m_logsHasBeenSet = true; m_logs = std::forward<LogsT>(value); }
67 template<typename LogsT = Aws::Vector<Aws::String>>
68 EvaluateMappingTemplateResult& WithLogs(LogsT&& value) { SetLogs(std::forward<LogsT>(value)); return *this;}
69 template<typename LogsT = Aws::String>
70 EvaluateMappingTemplateResult& AddLogs(LogsT&& value) { m_logsHasBeenSet = true; m_logs.emplace_back(std::forward<LogsT>(value)); return *this; }
72
74
80 inline const Aws::String& GetStash() const { return m_stash; }
81 template<typename StashT = Aws::String>
82 void SetStash(StashT&& value) { m_stashHasBeenSet = true; m_stash = std::forward<StashT>(value); }
83 template<typename StashT = Aws::String>
84 EvaluateMappingTemplateResult& WithStash(StashT&& value) { SetStash(std::forward<StashT>(value)); return *this;}
86
88
92 inline const Aws::String& GetOutErrors() const { return m_outErrors; }
93 template<typename OutErrorsT = Aws::String>
94 void SetOutErrors(OutErrorsT&& value) { m_outErrorsHasBeenSet = true; m_outErrors = std::forward<OutErrorsT>(value); }
95 template<typename OutErrorsT = Aws::String>
96 EvaluateMappingTemplateResult& WithOutErrors(OutErrorsT&& value) { SetOutErrors(std::forward<OutErrorsT>(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template<typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
104 template<typename RequestIdT = Aws::String>
105 EvaluateMappingTemplateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
107 private:
108
109 Aws::String m_evaluationResult;
110 bool m_evaluationResultHasBeenSet = false;
111
112 ErrorDetail m_error;
113 bool m_errorHasBeenSet = false;
114
116 bool m_logsHasBeenSet = false;
117
118 Aws::String m_stash;
119 bool m_stashHasBeenSet = false;
120
121 Aws::String m_outErrors;
122 bool m_outErrorsHasBeenSet = false;
123
124 Aws::String m_requestId;
125 bool m_requestIdHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace AppSync
130} // namespace Aws
AWS_APPSYNC_API EvaluateMappingTemplateResult()=default
EvaluateMappingTemplateResult & WithStash(StashT &&value)
AWS_APPSYNC_API EvaluateMappingTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateMappingTemplateResult & WithOutErrors(OutErrorsT &&value)
EvaluateMappingTemplateResult & WithLogs(LogsT &&value)
EvaluateMappingTemplateResult & WithError(ErrorT &&value)
EvaluateMappingTemplateResult & WithEvaluationResult(EvaluationResultT &&value)
AWS_APPSYNC_API EvaluateMappingTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateMappingTemplateResult & AddLogs(LogsT &&value)
EvaluateMappingTemplateResult & WithRequestId(RequestIdT &&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