AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdapterVersionOverview.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/AdapterVersionStatus.h>
12#include <aws/textract/model/FeatureType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Textract
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_TEXTRACT_API AdapterVersionOverview();
43 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetAdapterId() const{ return m_adapterId; }
52 inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
53 inline void SetAdapterId(const Aws::String& value) { m_adapterIdHasBeenSet = true; m_adapterId = value; }
54 inline void SetAdapterId(Aws::String&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::move(value); }
55 inline void SetAdapterId(const char* value) { m_adapterIdHasBeenSet = true; m_adapterId.assign(value); }
56 inline AdapterVersionOverview& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
57 inline AdapterVersionOverview& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
58 inline AdapterVersionOverview& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
60
62
65 inline const Aws::String& GetAdapterVersion() const{ return m_adapterVersion; }
66 inline bool AdapterVersionHasBeenSet() const { return m_adapterVersionHasBeenSet; }
67 inline void SetAdapterVersion(const Aws::String& value) { m_adapterVersionHasBeenSet = true; m_adapterVersion = value; }
68 inline void SetAdapterVersion(Aws::String&& value) { m_adapterVersionHasBeenSet = true; m_adapterVersion = std::move(value); }
69 inline void SetAdapterVersion(const char* value) { m_adapterVersionHasBeenSet = true; m_adapterVersion.assign(value); }
70 inline AdapterVersionOverview& WithAdapterVersion(const Aws::String& value) { SetAdapterVersion(value); return *this;}
71 inline AdapterVersionOverview& WithAdapterVersion(Aws::String&& value) { SetAdapterVersion(std::move(value)); return *this;}
72 inline AdapterVersionOverview& WithAdapterVersion(const char* value) { SetAdapterVersion(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
80 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
81 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
82 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
83 inline AdapterVersionOverview& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
84 inline AdapterVersionOverview& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
86
88
91 inline const Aws::Vector<FeatureType>& GetFeatureTypes() const{ return m_featureTypes; }
92 inline bool FeatureTypesHasBeenSet() const { return m_featureTypesHasBeenSet; }
93 inline void SetFeatureTypes(const Aws::Vector<FeatureType>& value) { m_featureTypesHasBeenSet = true; m_featureTypes = value; }
94 inline void SetFeatureTypes(Aws::Vector<FeatureType>&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::move(value); }
96 inline AdapterVersionOverview& WithFeatureTypes(Aws::Vector<FeatureType>&& value) { SetFeatureTypes(std::move(value)); return *this;}
97 inline AdapterVersionOverview& AddFeatureTypes(const FeatureType& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
98 inline AdapterVersionOverview& AddFeatureTypes(FeatureType&& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(std::move(value)); return *this; }
100
102
105 inline const AdapterVersionStatus& GetStatus() const{ return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(const AdapterVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
108 inline void SetStatus(AdapterVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
109 inline AdapterVersionOverview& WithStatus(const AdapterVersionStatus& value) { SetStatus(value); return *this;}
110 inline AdapterVersionOverview& WithStatus(AdapterVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
118 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
119 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
120 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
121 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
122 inline AdapterVersionOverview& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
123 inline AdapterVersionOverview& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
124 inline AdapterVersionOverview& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
126 private:
127
128 Aws::String m_adapterId;
129 bool m_adapterIdHasBeenSet = false;
130
131 Aws::String m_adapterVersion;
132 bool m_adapterVersionHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationTime;
135 bool m_creationTimeHasBeenSet = false;
136
137 Aws::Vector<FeatureType> m_featureTypes;
138 bool m_featureTypesHasBeenSet = false;
139
140 AdapterVersionStatus m_status;
141 bool m_statusHasBeenSet = false;
142
143 Aws::String m_statusMessage;
144 bool m_statusMessageHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Textract
149} // namespace Aws
AdapterVersionOverview & WithAdapterVersion(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AdapterVersionOverview & WithStatusMessage(const Aws::String &value)
AdapterVersionOverview & WithAdapterId(Aws::String &&value)
AdapterVersionOverview & WithAdapterVersion(const char *value)
const AdapterVersionStatus & GetStatus() const
AdapterVersionOverview & WithAdapterId(const Aws::String &value)
void SetStatus(const AdapterVersionStatus &value)
AdapterVersionOverview & WithStatus(AdapterVersionStatus &&value)
void SetFeatureTypes(Aws::Vector< FeatureType > &&value)
AdapterVersionOverview & WithFeatureTypes(const Aws::Vector< FeatureType > &value)
void SetFeatureTypes(const Aws::Vector< FeatureType > &value)
const Aws::Vector< FeatureType > & GetFeatureTypes() const
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_TEXTRACT_API AdapterVersionOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
AdapterVersionOverview & WithStatusMessage(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
AdapterVersionOverview & AddFeatureTypes(FeatureType &&value)
AdapterVersionOverview & AddFeatureTypes(const FeatureType &value)
AdapterVersionOverview & WithAdapterId(const char *value)
AdapterVersionOverview & WithAdapterVersion(Aws::String &&value)
AdapterVersionOverview & WithFeatureTypes(Aws::Vector< FeatureType > &&value)
AdapterVersionOverview & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AdapterVersionOverview & WithCreationTime(const Aws::Utils::DateTime &value)
AdapterVersionOverview & WithStatus(const AdapterVersionStatus &value)
AdapterVersionOverview & WithStatusMessage(Aws::String &&value)
AWS_TEXTRACT_API AdapterVersionOverview(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue