AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
DataSourceIntrospectionResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/DataSourceIntrospectionModel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppSync {
22namespace Model {
23
32 public:
33 AWS_APPSYNC_API DataSourceIntrospectionResult() = default;
36 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::Vector<DataSourceIntrospectionModel>& GetModels() const { return m_models; }
43 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
44 template <typename ModelsT = Aws::Vector<DataSourceIntrospectionModel>>
45 void SetModels(ModelsT&& value) {
46 m_modelsHasBeenSet = true;
47 m_models = std::forward<ModelsT>(value);
48 }
49 template <typename ModelsT = Aws::Vector<DataSourceIntrospectionModel>>
51 SetModels(std::forward<ModelsT>(value));
52 return *this;
53 }
54 template <typename ModelsT = DataSourceIntrospectionModel>
56 m_modelsHasBeenSet = true;
57 m_models.emplace_back(std::forward<ModelsT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 template <typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) {
72 m_nextTokenHasBeenSet = true;
73 m_nextToken = std::forward<NextTokenT>(value);
74 }
75 template <typename NextTokenT = Aws::String>
77 SetNextToken(std::forward<NextTokenT>(value));
78 return *this;
79 }
81 private:
83
84 Aws::String m_nextToken;
85 bool m_modelsHasBeenSet = false;
86 bool m_nextTokenHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace AppSync
91} // namespace Aws
DataSourceIntrospectionResult & WithModels(ModelsT &&value)
const Aws::Vector< DataSourceIntrospectionModel > & GetModels() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceIntrospectionResult & WithNextToken(NextTokenT &&value)
AWS_APPSYNC_API DataSourceIntrospectionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API DataSourceIntrospectionResult(Aws::Utils::Json::JsonView jsonValue)
DataSourceIntrospectionResult & AddModels(ModelsT &&value)
AWS_APPSYNC_API DataSourceIntrospectionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue