AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ListSchemasResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-data/RedshiftDataAPIService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace RedshiftDataAPIService {
24namespace Model {
26 public:
27 AWS_REDSHIFTDATAAPISERVICE_API ListSchemasResult() = default;
30
32
35 inline const Aws::Vector<Aws::String>& GetSchemas() const { return m_schemas; }
36 template <typename SchemasT = Aws::Vector<Aws::String>>
37 void SetSchemas(SchemasT&& value) {
38 m_schemasHasBeenSet = true;
39 m_schemas = std::forward<SchemasT>(value);
40 }
41 template <typename SchemasT = Aws::Vector<Aws::String>>
42 ListSchemasResult& WithSchemas(SchemasT&& value) {
43 SetSchemas(std::forward<SchemasT>(value));
44 return *this;
45 }
46 template <typename SchemasT = Aws::String>
47 ListSchemasResult& AddSchemas(SchemasT&& value) {
48 m_schemasHasBeenSet = true;
49 m_schemas.emplace_back(std::forward<SchemasT>(value));
50 return *this;
51 }
53
55
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 template <typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) {
65 m_nextTokenHasBeenSet = true;
66 m_nextToken = std::forward<NextTokenT>(value);
67 }
68 template <typename NextTokenT = Aws::String>
69 ListSchemasResult& WithNextToken(NextTokenT&& value) {
70 SetNextToken(std::forward<NextTokenT>(value));
71 return *this;
72 }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template <typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) {
80 m_requestIdHasBeenSet = true;
81 m_requestId = std::forward<RequestIdT>(value);
82 }
83 template <typename RequestIdT = Aws::String>
84 ListSchemasResult& WithRequestId(RequestIdT&& value) {
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
90
91 private:
93
94 Aws::String m_nextToken;
95
96 Aws::String m_requestId;
97 Aws::Http::HttpResponseCode m_HttpResponseCode;
98 bool m_schemasHasBeenSet = false;
99 bool m_nextTokenHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace RedshiftDataAPIService
105} // namespace Aws
ListSchemasResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListSchemasResult & WithNextToken(NextTokenT &&value)
ListSchemasResult & WithSchemas(SchemasT &&value)
AWS_REDSHIFTDATAAPISERVICE_API ListSchemasResult()=default
const Aws::Vector< Aws::String > & GetSchemas() const
AWS_REDSHIFTDATAAPISERVICE_API ListSchemasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REDSHIFTDATAAPISERVICE_API ListSchemasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSchemasResult & AddSchemas(SchemasT &&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