AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetAdapterId() const{ return m_adapterId; }
44 inline void SetAdapterId(const Aws::String& value) { m_adapterId = value; }
45 inline void SetAdapterId(Aws::String&& value) { m_adapterId = std::move(value); }
46 inline void SetAdapterId(const char* value) { m_adapterId.assign(value); }
47 inline UpdateAdapterResult& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
48 inline UpdateAdapterResult& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
49 inline UpdateAdapterResult& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
51
53
56 inline const Aws::String& GetAdapterName() const{ return m_adapterName; }
57 inline void SetAdapterName(const Aws::String& value) { m_adapterName = value; }
58 inline void SetAdapterName(Aws::String&& value) { m_adapterName = std::move(value); }
59 inline void SetAdapterName(const char* value) { m_adapterName.assign(value); }
60 inline UpdateAdapterResult& WithAdapterName(const Aws::String& value) { SetAdapterName(value); return *this;}
61 inline UpdateAdapterResult& WithAdapterName(Aws::String&& value) { SetAdapterName(std::move(value)); return *this;}
62 inline UpdateAdapterResult& WithAdapterName(const char* value) { SetAdapterName(value); return *this;}
64
66
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 UpdateAdapterResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
74 inline UpdateAdapterResult& 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 UpdateAdapterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline UpdateAdapterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline UpdateAdapterResult& 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); }
98 inline UpdateAdapterResult& WithFeatureTypes(Aws::Vector<FeatureType>&& value) { SetFeatureTypes(std::move(value)); return *this;}
99 inline UpdateAdapterResult& AddFeatureTypes(const FeatureType& value) { m_featureTypes.push_back(value); return *this; }
100 inline UpdateAdapterResult& AddFeatureTypes(FeatureType&& value) { m_featureTypes.push_back(std::move(value)); return *this; }
102
104
107 inline const AutoUpdate& GetAutoUpdate() const{ return m_autoUpdate; }
108 inline void SetAutoUpdate(const AutoUpdate& value) { m_autoUpdate = value; }
109 inline void SetAutoUpdate(AutoUpdate&& value) { m_autoUpdate = std::move(value); }
110 inline UpdateAdapterResult& WithAutoUpdate(const AutoUpdate& value) { SetAutoUpdate(value); return *this;}
111 inline UpdateAdapterResult& WithAutoUpdate(AutoUpdate&& value) { SetAutoUpdate(std::move(value)); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline UpdateAdapterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline UpdateAdapterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline UpdateAdapterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_adapterId;
127
128 Aws::String m_adapterName;
129
130 Aws::Utils::DateTime m_creationTime;
131
132 Aws::String m_description;
133
134 Aws::Vector<FeatureType> m_featureTypes;
135
136 AutoUpdate m_autoUpdate;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace Textract
143} // namespace Aws
AWS_TEXTRACT_API UpdateAdapterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAdapterId(const Aws::String &value)
void SetAutoUpdate(const AutoUpdate &value)
UpdateAdapterResult & WithAutoUpdate(const AutoUpdate &value)
UpdateAdapterResult & WithAdapterName(const char *value)
UpdateAdapterResult & WithDescription(Aws::String &&value)
void SetAdapterName(const Aws::String &value)
UpdateAdapterResult & WithFeatureTypes(const Aws::Vector< FeatureType > &value)
UpdateAdapterResult & AddFeatureTypes(FeatureType &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
UpdateAdapterResult & WithFeatureTypes(Aws::Vector< FeatureType > &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdateAdapterResult & WithDescription(const char *value)
UpdateAdapterResult & WithAdapterId(const Aws::String &value)
UpdateAdapterResult & WithAdapterName(Aws::String &&value)
UpdateAdapterResult & WithRequestId(const char *value)
UpdateAdapterResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetFeatureTypes(Aws::Vector< FeatureType > &&value)
UpdateAdapterResult & AddFeatureTypes(const FeatureType &value)
void SetFeatureTypes(const Aws::Vector< FeatureType > &value)
UpdateAdapterResult & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetDescription(const Aws::String &value)
UpdateAdapterResult & WithAdapterName(const Aws::String &value)
UpdateAdapterResult & WithRequestId(const Aws::String &value)
UpdateAdapterResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateAdapterResult & WithAutoUpdate(AutoUpdate &&value)
UpdateAdapterResult & WithRequestId(Aws::String &&value)
AWS_TEXTRACT_API UpdateAdapterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FeatureType > & GetFeatureTypes() const
UpdateAdapterResult & WithAdapterId(const char *value)
UpdateAdapterResult & WithAdapterId(Aws::String &&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