AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetAdapterId() const { return m_adapterId; }
45 template<typename AdapterIdT = Aws::String>
46 void SetAdapterId(AdapterIdT&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::forward<AdapterIdT>(value); }
47 template<typename AdapterIdT = Aws::String>
48 GetAdapterResult& WithAdapterId(AdapterIdT&& value) { SetAdapterId(std::forward<AdapterIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetAdapterName() const { return m_adapterName; }
56 template<typename AdapterNameT = Aws::String>
57 void SetAdapterName(AdapterNameT&& value) { m_adapterNameHasBeenSet = true; m_adapterName = std::forward<AdapterNameT>(value); }
58 template<typename AdapterNameT = Aws::String>
59 GetAdapterResult& WithAdapterName(AdapterNameT&& value) { SetAdapterName(std::forward<AdapterNameT>(value)); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
67 template<typename CreationTimeT = Aws::Utils::DateTime>
68 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
69 template<typename CreationTimeT = Aws::Utils::DateTime>
70 GetAdapterResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 GetAdapterResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
88 inline const Aws::Vector<FeatureType>& GetFeatureTypes() const { return m_featureTypes; }
89 template<typename FeatureTypesT = Aws::Vector<FeatureType>>
90 void SetFeatureTypes(FeatureTypesT&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::forward<FeatureTypesT>(value); }
91 template<typename FeatureTypesT = Aws::Vector<FeatureType>>
92 GetAdapterResult& WithFeatureTypes(FeatureTypesT&& value) { SetFeatureTypes(std::forward<FeatureTypesT>(value)); return *this;}
93 inline GetAdapterResult& AddFeatureTypes(FeatureType value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
95
97
101 inline AutoUpdate GetAutoUpdate() const { return m_autoUpdate; }
102 inline void SetAutoUpdate(AutoUpdate value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
103 inline GetAdapterResult& WithAutoUpdate(AutoUpdate value) { SetAutoUpdate(value); return *this;}
105
107
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
112 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
114 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 GetAdapterResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
116 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
117 GetAdapterResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
118 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
119 }
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template<typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
127 template<typename RequestIdT = Aws::String>
128 GetAdapterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
130 private:
131
132 Aws::String m_adapterId;
133 bool m_adapterIdHasBeenSet = false;
134
135 Aws::String m_adapterName;
136 bool m_adapterNameHasBeenSet = false;
137
138 Aws::Utils::DateTime m_creationTime{};
139 bool m_creationTimeHasBeenSet = false;
140
141 Aws::String m_description;
142 bool m_descriptionHasBeenSet = false;
143
144 Aws::Vector<FeatureType> m_featureTypes;
145 bool m_featureTypesHasBeenSet = false;
146
147 AutoUpdate m_autoUpdate{AutoUpdate::NOT_SET};
148 bool m_autoUpdateHasBeenSet = false;
149
151 bool m_tagsHasBeenSet = false;
152
153 Aws::String m_requestId;
154 bool m_requestIdHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace Textract
159} // namespace Aws
GetAdapterResult & WithRequestId(RequestIdT &&value)
GetAdapterResult & WithDescription(DescriptionT &&value)
void SetAdapterName(AdapterNameT &&value)
void SetFeatureTypes(FeatureTypesT &&value)
const Aws::String & GetAdapterId() const
const Aws::Vector< FeatureType > & GetFeatureTypes() const
GetAdapterResult & WithAdapterId(AdapterIdT &&value)
AWS_TEXTRACT_API GetAdapterResult()=default
GetAdapterResult & AddFeatureTypes(FeatureType value)
AWS_TEXTRACT_API GetAdapterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdapterResult & WithFeatureTypes(FeatureTypesT &&value)
GetAdapterResult & WithCreationTime(CreationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
GetAdapterResult & WithAutoUpdate(AutoUpdate value)
const Aws::String & GetAdapterName() const
GetAdapterResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
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 & WithTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
GetAdapterResult & WithAdapterName(AdapterNameT &&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