AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdapterOverview.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/textract/model/FeatureType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Textract
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_TEXTRACT_API AdapterOverview();
39 AWS_TEXTRACT_API AdapterOverview(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAdapterId() const{ return m_adapterId; }
49 inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
50 inline void SetAdapterId(const Aws::String& value) { m_adapterIdHasBeenSet = true; m_adapterId = value; }
51 inline void SetAdapterId(Aws::String&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::move(value); }
52 inline void SetAdapterId(const char* value) { m_adapterIdHasBeenSet = true; m_adapterId.assign(value); }
53 inline AdapterOverview& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
54 inline AdapterOverview& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
55 inline AdapterOverview& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
57
59
62 inline const Aws::String& GetAdapterName() const{ return m_adapterName; }
63 inline bool AdapterNameHasBeenSet() const { return m_adapterNameHasBeenSet; }
64 inline void SetAdapterName(const Aws::String& value) { m_adapterNameHasBeenSet = true; m_adapterName = value; }
65 inline void SetAdapterName(Aws::String&& value) { m_adapterNameHasBeenSet = true; m_adapterName = std::move(value); }
66 inline void SetAdapterName(const char* value) { m_adapterNameHasBeenSet = true; m_adapterName.assign(value); }
67 inline AdapterOverview& WithAdapterName(const Aws::String& value) { SetAdapterName(value); return *this;}
68 inline AdapterOverview& WithAdapterName(Aws::String&& value) { SetAdapterName(std::move(value)); return *this;}
69 inline AdapterOverview& WithAdapterName(const char* value) { SetAdapterName(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
77 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
78 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
79 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
80 inline AdapterOverview& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
81 inline AdapterOverview& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
83
85
88 inline const Aws::Vector<FeatureType>& GetFeatureTypes() const{ return m_featureTypes; }
89 inline bool FeatureTypesHasBeenSet() const { return m_featureTypesHasBeenSet; }
90 inline void SetFeatureTypes(const Aws::Vector<FeatureType>& value) { m_featureTypesHasBeenSet = true; m_featureTypes = value; }
91 inline void SetFeatureTypes(Aws::Vector<FeatureType>&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::move(value); }
92 inline AdapterOverview& WithFeatureTypes(const Aws::Vector<FeatureType>& value) { SetFeatureTypes(value); return *this;}
93 inline AdapterOverview& WithFeatureTypes(Aws::Vector<FeatureType>&& value) { SetFeatureTypes(std::move(value)); return *this;}
94 inline AdapterOverview& AddFeatureTypes(const FeatureType& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
95 inline AdapterOverview& AddFeatureTypes(FeatureType&& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(std::move(value)); return *this; }
97 private:
98
99 Aws::String m_adapterId;
100 bool m_adapterIdHasBeenSet = false;
101
102 Aws::String m_adapterName;
103 bool m_adapterNameHasBeenSet = false;
104
105 Aws::Utils::DateTime m_creationTime;
106 bool m_creationTimeHasBeenSet = false;
107
108 Aws::Vector<FeatureType> m_featureTypes;
109 bool m_featureTypesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Textract
114} // namespace Aws
AWS_TEXTRACT_API AdapterOverview(Aws::Utils::Json::JsonView jsonValue)
AdapterOverview & AddFeatureTypes(FeatureType &&value)
AdapterOverview & AddFeatureTypes(const FeatureType &value)
AWS_TEXTRACT_API AdapterOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFeatureTypes(Aws::Vector< FeatureType > &&value)
AdapterOverview & WithFeatureTypes(Aws::Vector< FeatureType > &&value)
void SetAdapterName(const Aws::String &value)
void SetFeatureTypes(const Aws::Vector< FeatureType > &value)
AdapterOverview & WithAdapterName(const Aws::String &value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(Aws::Utils::DateTime &&value)
AdapterOverview & WithFeatureTypes(const Aws::Vector< FeatureType > &value)
AdapterOverview & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetAdapterName() const
AdapterOverview & WithAdapterName(Aws::String &&value)
void SetAdapterName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AdapterOverview & WithAdapterId(const char *value)
AdapterOverview & WithAdapterId(Aws::String &&value)
void SetAdapterName(const char *value)
void SetAdapterId(const Aws::String &value)
void SetAdapterId(Aws::String &&value)
AdapterOverview & WithAdapterName(const char *value)
AdapterOverview & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< FeatureType > & GetFeatureTypes() const
AdapterOverview & WithAdapterId(const Aws::String &value)
const Aws::String & GetAdapterId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue