AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSourceIntrospectionResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/DataSourceIntrospectionModel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppSync
24{
25namespace Model
26{
27
36 {
37 public:
41 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<DataSourceIntrospectionModel>& GetModels() const{ return m_models; }
49 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
50 inline void SetModels(const Aws::Vector<DataSourceIntrospectionModel>& value) { m_modelsHasBeenSet = true; m_models = value; }
51 inline void SetModels(Aws::Vector<DataSourceIntrospectionModel>&& value) { m_modelsHasBeenSet = true; m_models = std::move(value); }
54 inline DataSourceIntrospectionResult& AddModels(const DataSourceIntrospectionModel& value) { m_modelsHasBeenSet = true; m_models.push_back(value); return *this; }
55 inline DataSourceIntrospectionResult& AddModels(DataSourceIntrospectionModel&& value) { m_modelsHasBeenSet = true; m_models.push_back(std::move(value)); return *this; }
57
59
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 inline DataSourceIntrospectionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline DataSourceIntrospectionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline DataSourceIntrospectionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73 private:
74
76 bool m_modelsHasBeenSet = false;
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AppSync
84} // namespace Aws
const Aws::Vector< DataSourceIntrospectionModel > & GetModels() const
DataSourceIntrospectionResult & AddModels(const DataSourceIntrospectionModel &value)
void SetModels(Aws::Vector< DataSourceIntrospectionModel > &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceIntrospectionResult & WithModels(Aws::Vector< DataSourceIntrospectionModel > &&value)
DataSourceIntrospectionResult & WithModels(const Aws::Vector< DataSourceIntrospectionModel > &value)
AWS_APPSYNC_API DataSourceIntrospectionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModels(const Aws::Vector< DataSourceIntrospectionModel > &value)
AWS_APPSYNC_API DataSourceIntrospectionResult(Aws::Utils::Json::JsonView jsonValue)
DataSourceIntrospectionResult & WithNextToken(const Aws::String &value)
DataSourceIntrospectionResult & WithNextToken(Aws::String &&value)
DataSourceIntrospectionResult & WithNextToken(const char *value)
DataSourceIntrospectionResult & AddModels(DataSourceIntrospectionModel &&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