AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdaptersConfig.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/Adapter.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
34 {
35 public:
36 AWS_TEXTRACT_API AdaptersConfig();
37 AWS_TEXTRACT_API AdaptersConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Adapter>& GetAdapters() const{ return m_adapters; }
47 inline bool AdaptersHasBeenSet() const { return m_adaptersHasBeenSet; }
48 inline void SetAdapters(const Aws::Vector<Adapter>& value) { m_adaptersHasBeenSet = true; m_adapters = value; }
49 inline void SetAdapters(Aws::Vector<Adapter>&& value) { m_adaptersHasBeenSet = true; m_adapters = std::move(value); }
50 inline AdaptersConfig& WithAdapters(const Aws::Vector<Adapter>& value) { SetAdapters(value); return *this;}
51 inline AdaptersConfig& WithAdapters(Aws::Vector<Adapter>&& value) { SetAdapters(std::move(value)); return *this;}
52 inline AdaptersConfig& AddAdapters(const Adapter& value) { m_adaptersHasBeenSet = true; m_adapters.push_back(value); return *this; }
53 inline AdaptersConfig& AddAdapters(Adapter&& value) { m_adaptersHasBeenSet = true; m_adapters.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Adapter> m_adapters;
58 bool m_adaptersHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Textract
63} // namespace Aws
AdaptersConfig & WithAdapters(Aws::Vector< Adapter > &&value)
const Aws::Vector< Adapter > & GetAdapters() const
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AdaptersConfig & AddAdapters(const Adapter &value)
void SetAdapters(const Aws::Vector< Adapter > &value)
AdaptersConfig & WithAdapters(const Aws::Vector< Adapter > &value)
AWS_TEXTRACT_API AdaptersConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAdapters(Aws::Vector< Adapter > &&value)
AdaptersConfig & AddAdapters(Adapter &&value)
AWS_TEXTRACT_API AdaptersConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue