AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
41 inline const Aws::String& GetEvaluationResult() const{ return m_evaluationResult; }
42 inline void SetEvaluationResult(const Aws::String& value) { m_evaluationResult = value; }
43 inline void SetEvaluationResult(Aws::String&& value) { m_evaluationResult = std::move(value); }
44 inline void SetEvaluationResult(const char* value) { m_evaluationResult.assign(value); }
46 inline EvaluateMappingTemplateResult& WithEvaluationResult(Aws::String&& value) { SetEvaluationResult(std::move(value)); return *this;}
47 inline EvaluateMappingTemplateResult& WithEvaluationResult(const char* value) { SetEvaluationResult(value); return *this;}
49
51
54 inline const ErrorDetail& GetError() const{ return m_error; }
55 inline void SetError(const ErrorDetail& value) { m_error = value; }
56 inline void SetError(ErrorDetail&& value) { m_error = std::move(value); }
57 inline EvaluateMappingTemplateResult& WithError(const ErrorDetail& value) { SetError(value); return *this;}
58 inline EvaluateMappingTemplateResult& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
60
62
66 inline const Aws::Vector<Aws::String>& GetLogs() const{ return m_logs; }
67 inline void SetLogs(const Aws::Vector<Aws::String>& value) { m_logs = value; }
68 inline void SetLogs(Aws::Vector<Aws::String>&& value) { m_logs = std::move(value); }
69 inline EvaluateMappingTemplateResult& WithLogs(const Aws::Vector<Aws::String>& value) { SetLogs(value); return *this;}
70 inline EvaluateMappingTemplateResult& WithLogs(Aws::Vector<Aws::String>&& value) { SetLogs(std::move(value)); return *this;}
71 inline EvaluateMappingTemplateResult& AddLogs(const Aws::String& value) { m_logs.push_back(value); return *this; }
72 inline EvaluateMappingTemplateResult& AddLogs(Aws::String&& value) { m_logs.push_back(std::move(value)); return *this; }
73 inline EvaluateMappingTemplateResult& AddLogs(const char* value) { m_logs.push_back(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 EvaluateMappingTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline EvaluateMappingTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline EvaluateMappingTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_evaluationResult;
89
90 ErrorDetail m_error;
91
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace AppSync
99} // namespace Aws
AWS_APPSYNC_API EvaluateMappingTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateMappingTemplateResult & WithRequestId(Aws::String &&value)
EvaluateMappingTemplateResult & AddLogs(Aws::String &&value)
EvaluateMappingTemplateResult & WithRequestId(const Aws::String &value)
EvaluateMappingTemplateResult & WithEvaluationResult(const char *value)
void SetLogs(const Aws::Vector< Aws::String > &value)
EvaluateMappingTemplateResult & WithEvaluationResult(const Aws::String &value)
EvaluateMappingTemplateResult & WithLogs(const Aws::Vector< Aws::String > &value)
EvaluateMappingTemplateResult & WithError(const ErrorDetail &value)
EvaluateMappingTemplateResult & WithEvaluationResult(Aws::String &&value)
EvaluateMappingTemplateResult & WithLogs(Aws::Vector< Aws::String > &&value)
EvaluateMappingTemplateResult & WithRequestId(const char *value)
EvaluateMappingTemplateResult & AddLogs(const Aws::String &value)
AWS_APPSYNC_API EvaluateMappingTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateMappingTemplateResult & WithError(ErrorDetail &&value)
EvaluateMappingTemplateResult & AddLogs(const char *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