AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAdapterResult.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/textract/model/FeatureType.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Textract
28{
29namespace Model
30{
32 {
33 public:
34 AWS_TEXTRACT_API UpdateAdapterResult() = default;
37
38
40
43 inline const Aws::String& GetAdapterId() const { return m_adapterId; }
44 template<typename AdapterIdT = Aws::String>
45 void SetAdapterId(AdapterIdT&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::forward<AdapterIdT>(value); }
46 template<typename AdapterIdT = Aws::String>
47 UpdateAdapterResult& WithAdapterId(AdapterIdT&& value) { SetAdapterId(std::forward<AdapterIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetAdapterName() const { return m_adapterName; }
55 template<typename AdapterNameT = Aws::String>
56 void SetAdapterName(AdapterNameT&& value) { m_adapterNameHasBeenSet = true; m_adapterName = std::forward<AdapterNameT>(value); }
57 template<typename AdapterNameT = Aws::String>
58 UpdateAdapterResult& WithAdapterName(AdapterNameT&& value) { SetAdapterName(std::forward<AdapterNameT>(value)); return *this;}
60
62
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 UpdateAdapterResult& 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 UpdateAdapterResult& 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 UpdateAdapterResult& WithFeatureTypes(FeatureTypesT&& value) { SetFeatureTypes(std::forward<FeatureTypesT>(value)); return *this;}
93 inline UpdateAdapterResult& AddFeatureTypes(FeatureType value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
95
97
100 inline AutoUpdate GetAutoUpdate() const { return m_autoUpdate; }
101 inline void SetAutoUpdate(AutoUpdate value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
102 inline UpdateAdapterResult& WithAutoUpdate(AutoUpdate value) { SetAutoUpdate(value); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 UpdateAdapterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_adapterId;
116 bool m_adapterIdHasBeenSet = false;
117
118 Aws::String m_adapterName;
119 bool m_adapterNameHasBeenSet = false;
120
121 Aws::Utils::DateTime m_creationTime{};
122 bool m_creationTimeHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::Vector<FeatureType> m_featureTypes;
128 bool m_featureTypesHasBeenSet = false;
129
130 AutoUpdate m_autoUpdate{AutoUpdate::NOT_SET};
131 bool m_autoUpdateHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Textract
139} // namespace Aws
AWS_TEXTRACT_API UpdateAdapterResult()=default
AWS_TEXTRACT_API UpdateAdapterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAdapterResult & AddFeatureTypes(FeatureType value)
UpdateAdapterResult & WithAdapterName(AdapterNameT &&value)
UpdateAdapterResult & WithDescription(DescriptionT &&value)
UpdateAdapterResult & WithFeatureTypes(FeatureTypesT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateAdapterResult & WithRequestId(RequestIdT &&value)
UpdateAdapterResult & WithAdapterId(AdapterIdT &&value)
AWS_TEXTRACT_API UpdateAdapterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FeatureType > & GetFeatureTypes() const
UpdateAdapterResult & WithCreationTime(CreationTimeT &&value)
UpdateAdapterResult & WithAutoUpdate(AutoUpdate value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue