AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAdapterResult.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/AutoUpdate.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/textract/model/FeatureType.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Textract
29{
30namespace Model
31{
33 {
34 public:
35 AWS_TEXTRACT_API GetAdapterResult();
38
39
41
44 inline const Aws::String& GetAdapterId() const{ return m_adapterId; }
45 inline void SetAdapterId(const Aws::String& value) { m_adapterId = value; }
46 inline void SetAdapterId(Aws::String&& value) { m_adapterId = std::move(value); }
47 inline void SetAdapterId(const char* value) { m_adapterId.assign(value); }
48 inline GetAdapterResult& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
49 inline GetAdapterResult& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
50 inline GetAdapterResult& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
52
54
57 inline const Aws::String& GetAdapterName() const{ return m_adapterName; }
58 inline void SetAdapterName(const Aws::String& value) { m_adapterName = value; }
59 inline void SetAdapterName(Aws::String&& value) { m_adapterName = std::move(value); }
60 inline void SetAdapterName(const char* value) { m_adapterName.assign(value); }
61 inline GetAdapterResult& WithAdapterName(const Aws::String& value) { SetAdapterName(value); return *this;}
62 inline GetAdapterResult& WithAdapterName(Aws::String&& value) { SetAdapterName(std::move(value)); return *this;}
63 inline GetAdapterResult& WithAdapterName(const char* value) { SetAdapterName(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
71 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
72 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
73 inline GetAdapterResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
74 inline GetAdapterResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline void SetDescription(const Aws::String& value) { m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_description.assign(value); }
85 inline GetAdapterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline GetAdapterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline GetAdapterResult& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
94 inline const Aws::Vector<FeatureType>& GetFeatureTypes() const{ return m_featureTypes; }
95 inline void SetFeatureTypes(const Aws::Vector<FeatureType>& value) { m_featureTypes = value; }
96 inline void SetFeatureTypes(Aws::Vector<FeatureType>&& value) { m_featureTypes = std::move(value); }
97 inline GetAdapterResult& WithFeatureTypes(const Aws::Vector<FeatureType>& value) { SetFeatureTypes(value); return *this;}
98 inline GetAdapterResult& WithFeatureTypes(Aws::Vector<FeatureType>&& value) { SetFeatureTypes(std::move(value)); return *this;}
99 inline GetAdapterResult& AddFeatureTypes(const FeatureType& value) { m_featureTypes.push_back(value); return *this; }
100 inline GetAdapterResult& AddFeatureTypes(FeatureType&& value) { m_featureTypes.push_back(std::move(value)); return *this; }
102
104
108 inline const AutoUpdate& GetAutoUpdate() const{ return m_autoUpdate; }
109 inline void SetAutoUpdate(const AutoUpdate& value) { m_autoUpdate = value; }
110 inline void SetAutoUpdate(AutoUpdate&& value) { m_autoUpdate = std::move(value); }
111 inline GetAdapterResult& WithAutoUpdate(const AutoUpdate& value) { SetAutoUpdate(value); return *this;}
112 inline GetAdapterResult& WithAutoUpdate(AutoUpdate&& value) { SetAutoUpdate(std::move(value)); return *this;}
114
116
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
121 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
122 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
123 inline GetAdapterResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
124 inline GetAdapterResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
125 inline GetAdapterResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
126 inline GetAdapterResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
127 inline GetAdapterResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
128 inline GetAdapterResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
129 inline GetAdapterResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
130 inline GetAdapterResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
131 inline GetAdapterResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
133
135
136 inline const Aws::String& GetRequestId() const{ return m_requestId; }
137 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
138 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
140 inline GetAdapterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
141 inline GetAdapterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
142 inline GetAdapterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
144 private:
145
146 Aws::String m_adapterId;
147
148 Aws::String m_adapterName;
149
150 Aws::Utils::DateTime m_creationTime;
151
152 Aws::String m_description;
153
154 Aws::Vector<FeatureType> m_featureTypes;
155
156 AutoUpdate m_autoUpdate;
157
159
160 Aws::String m_requestId;
161 };
162
163} // namespace Model
164} // namespace Textract
165} // namespace Aws
GetAdapterResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAdapterResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAdapterResult & WithAutoUpdate(AutoUpdate &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAdapterResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetAdapterResult & WithDescription(const Aws::String &value)
void SetFeatureTypes(Aws::Vector< FeatureType > &&value)
void SetDescription(Aws::String &&value)
GetAdapterResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetAdapterId() const
GetAdapterResult & WithAdapterName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const AutoUpdate & GetAutoUpdate() const
const Aws::Vector< FeatureType > & GetFeatureTypes() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAdapterName(Aws::String &&value)
void SetAdapterId(const Aws::String &value)
GetAdapterResult & WithFeatureTypes(const Aws::Vector< FeatureType > &value)
GetAdapterResult & WithRequestId(const char *value)
GetAdapterResult & WithFeatureTypes(Aws::Vector< FeatureType > &&value)
GetAdapterResult & AddTags(Aws::String &&key, const Aws::String &value)
GetAdapterResult & WithAdapterName(const Aws::String &value)
GetAdapterResult & WithAutoUpdate(const AutoUpdate &value)
AWS_TEXTRACT_API GetAdapterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdapterResult & AddTags(const char *key, Aws::String &&value)
GetAdapterResult & WithRequestId(const Aws::String &value)
GetAdapterResult & AddTags(const char *key, const char *value)
GetAdapterResult & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
void SetFeatureTypes(const Aws::Vector< FeatureType > &value)
void SetAutoUpdate(const AutoUpdate &value)
GetAdapterResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAdapterName() const
void SetCreationTime(Aws::Utils::DateTime &&value)
GetAdapterResult & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
GetAdapterResult & WithAdapterId(const Aws::String &value)
void SetAdapterName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetAdapterResult & WithAdapterId(const char *value)
GetAdapterResult & AddTags(const Aws::String &key, Aws::String &&value)
AWS_TEXTRACT_API GetAdapterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAdapterResult & AddFeatureTypes(const FeatureType &value)
GetAdapterResult & WithAdapterId(Aws::String &&value)
GetAdapterResult & WithAdapterName(const char *value)
GetAdapterResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAdapterId(Aws::String &&value)
const Aws::String & GetRequestId() const
GetAdapterResult & WithRequestId(Aws::String &&value)
GetAdapterResult & AddTags(Aws::String &&key, const char *value)
GetAdapterResult & AddFeatureTypes(FeatureType &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue