AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetSchemaResult.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanrooms/model/Schema.h>
11#include <aws/cleanrooms/model/BatchGetSchemaError.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 CleanRooms
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLEANROOMS_API BatchGetSchemaResult();
36
37
39
42 inline const Aws::Vector<Schema>& GetSchemas() const{ return m_schemas; }
43 inline void SetSchemas(const Aws::Vector<Schema>& value) { m_schemas = value; }
44 inline void SetSchemas(Aws::Vector<Schema>&& value) { m_schemas = std::move(value); }
45 inline BatchGetSchemaResult& WithSchemas(const Aws::Vector<Schema>& value) { SetSchemas(value); return *this;}
46 inline BatchGetSchemaResult& WithSchemas(Aws::Vector<Schema>&& value) { SetSchemas(std::move(value)); return *this;}
47 inline BatchGetSchemaResult& AddSchemas(const Schema& value) { m_schemas.push_back(value); return *this; }
48 inline BatchGetSchemaResult& AddSchemas(Schema&& value) { m_schemas.push_back(std::move(value)); return *this; }
50
52
56 inline const Aws::Vector<BatchGetSchemaError>& GetErrors() const{ return m_errors; }
57 inline void SetErrors(const Aws::Vector<BatchGetSchemaError>& value) { m_errors = value; }
58 inline void SetErrors(Aws::Vector<BatchGetSchemaError>&& value) { m_errors = std::move(value); }
59 inline BatchGetSchemaResult& WithErrors(const Aws::Vector<BatchGetSchemaError>& value) { SetErrors(value); return *this;}
60 inline BatchGetSchemaResult& WithErrors(Aws::Vector<BatchGetSchemaError>&& value) { SetErrors(std::move(value)); return *this;}
61 inline BatchGetSchemaResult& AddErrors(const BatchGetSchemaError& value) { m_errors.push_back(value); return *this; }
62 inline BatchGetSchemaResult& AddErrors(BatchGetSchemaError&& value) { m_errors.push_back(std::move(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline BatchGetSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchGetSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchGetSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<Schema> m_schemas;
78
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace CleanRooms
86} // namespace Aws
void SetSchemas(const Aws::Vector< Schema > &value)
BatchGetSchemaResult & AddSchemas(const Schema &value)
BatchGetSchemaResult & AddSchemas(Schema &&value)
void SetSchemas(Aws::Vector< Schema > &&value)
void SetErrors(Aws::Vector< BatchGetSchemaError > &&value)
void SetErrors(const Aws::Vector< BatchGetSchemaError > &value)
BatchGetSchemaResult & WithErrors(const Aws::Vector< BatchGetSchemaError > &value)
BatchGetSchemaResult & WithRequestId(const Aws::String &value)
AWS_CLEANROOMS_API BatchGetSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchGetSchemaError > & GetErrors() const
BatchGetSchemaResult & AddErrors(const BatchGetSchemaError &value)
BatchGetSchemaResult & WithSchemas(Aws::Vector< Schema > &&value)
BatchGetSchemaResult & WithErrors(Aws::Vector< BatchGetSchemaError > &&value)
const Aws::Vector< Schema > & GetSchemas() const
BatchGetSchemaResult & WithRequestId(const char *value)
BatchGetSchemaResult & WithSchemas(const Aws::Vector< Schema > &value)
BatchGetSchemaResult & AddErrors(BatchGetSchemaError &&value)
BatchGetSchemaResult & WithRequestId(Aws::String &&value)
AWS_CLEANROOMS_API BatchGetSchemaResult(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