AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueriesConfig.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/model/Query.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TEXTRACT_API QueriesConfig();
36 AWS_TEXTRACT_API QueriesConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Query>& GetQueries() const{ return m_queries; }
46 inline bool QueriesHasBeenSet() const { return m_queriesHasBeenSet; }
47 inline void SetQueries(const Aws::Vector<Query>& value) { m_queriesHasBeenSet = true; m_queries = value; }
48 inline void SetQueries(Aws::Vector<Query>&& value) { m_queriesHasBeenSet = true; m_queries = std::move(value); }
49 inline QueriesConfig& WithQueries(const Aws::Vector<Query>& value) { SetQueries(value); return *this;}
50 inline QueriesConfig& WithQueries(Aws::Vector<Query>&& value) { SetQueries(std::move(value)); return *this;}
51 inline QueriesConfig& AddQueries(const Query& value) { m_queriesHasBeenSet = true; m_queries.push_back(value); return *this; }
52 inline QueriesConfig& AddQueries(Query&& value) { m_queriesHasBeenSet = true; m_queries.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<Query> m_queries;
57 bool m_queriesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Textract
62} // namespace Aws
AWS_TEXTRACT_API QueriesConfig(Aws::Utils::Json::JsonView jsonValue)
void SetQueries(Aws::Vector< Query > &&value)
void SetQueries(const Aws::Vector< Query > &value)
QueriesConfig & WithQueries(const Aws::Vector< Query > &value)
QueriesConfig & AddQueries(Query &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Query > & GetQueries() const
QueriesConfig & WithQueries(Aws::Vector< Query > &&value)
AWS_TEXTRACT_API QueriesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
QueriesConfig & AddQueries(const Query &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue