AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAdapterVersionRequest.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/TextractRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/textract/model/AdapterVersionDatasetConfig.h>
11#include <aws/textract/model/OutputConfig.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Textract
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_TEXTRACT_API CreateAdapterVersionRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateAdapterVersion"; }
35
36 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetAdapterId() const{ return m_adapterId; }
47 inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
48 inline void SetAdapterId(const Aws::String& value) { m_adapterIdHasBeenSet = true; m_adapterId = value; }
49 inline void SetAdapterId(Aws::String&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::move(value); }
50 inline void SetAdapterId(const char* value) { m_adapterIdHasBeenSet = true; m_adapterId.assign(value); }
51 inline CreateAdapterVersionRequest& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
52 inline CreateAdapterVersionRequest& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
53 inline CreateAdapterVersionRequest& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
55
57
63 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
64 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
65 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
66 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
67 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
69 inline CreateAdapterVersionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
70 inline CreateAdapterVersionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
72
74
78 inline const AdapterVersionDatasetConfig& GetDatasetConfig() const{ return m_datasetConfig; }
79 inline bool DatasetConfigHasBeenSet() const { return m_datasetConfigHasBeenSet; }
80 inline void SetDatasetConfig(const AdapterVersionDatasetConfig& value) { m_datasetConfigHasBeenSet = true; m_datasetConfig = value; }
81 inline void SetDatasetConfig(AdapterVersionDatasetConfig&& value) { m_datasetConfigHasBeenSet = true; m_datasetConfig = std::move(value); }
85
87
91 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
92 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
93 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
94 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
95 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
96 inline CreateAdapterVersionRequest& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
97 inline CreateAdapterVersionRequest& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
98 inline CreateAdapterVersionRequest& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
100
102
103 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
104 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
105 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
106 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
107 inline CreateAdapterVersionRequest& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
108 inline CreateAdapterVersionRequest& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
110
112
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
121 inline CreateAdapterVersionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 inline CreateAdapterVersionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 inline CreateAdapterVersionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline CreateAdapterVersionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline CreateAdapterVersionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
126 inline CreateAdapterVersionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
127 inline CreateAdapterVersionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline CreateAdapterVersionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
130 private:
131
132 Aws::String m_adapterId;
133 bool m_adapterIdHasBeenSet = false;
134
135 Aws::String m_clientRequestToken;
136 bool m_clientRequestTokenHasBeenSet = false;
137
138 AdapterVersionDatasetConfig m_datasetConfig;
139 bool m_datasetConfigHasBeenSet = false;
140
141 Aws::String m_kMSKeyId;
142 bool m_kMSKeyIdHasBeenSet = false;
143
144 OutputConfig m_outputConfig;
145 bool m_outputConfigHasBeenSet = false;
146
148 bool m_tagsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Textract
153} // namespace Aws
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAdapterVersionRequest & AddTags(const char *key, const char *value)
void SetDatasetConfig(const AdapterVersionDatasetConfig &value)
CreateAdapterVersionRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAdapterVersionRequest & WithOutputConfig(const OutputConfig &value)
CreateAdapterVersionRequest & WithKMSKeyId(const Aws::String &value)
CreateAdapterVersionRequest & WithDatasetConfig(AdapterVersionDatasetConfig &&value)
CreateAdapterVersionRequest & WithKMSKeyId(const char *value)
CreateAdapterVersionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAdapterVersionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAdapterVersionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAdapterVersionRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDatasetConfig(AdapterVersionDatasetConfig &&value)
CreateAdapterVersionRequest & WithAdapterId(const Aws::String &value)
CreateAdapterVersionRequest & WithKMSKeyId(Aws::String &&value)
CreateAdapterVersionRequest & WithAdapterId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAdapterVersionRequest & WithClientRequestToken(const Aws::String &value)
CreateAdapterVersionRequest & WithClientRequestToken(Aws::String &&value)
CreateAdapterVersionRequest & WithClientRequestToken(const char *value)
CreateAdapterVersionRequest & WithDatasetConfig(const AdapterVersionDatasetConfig &value)
CreateAdapterVersionRequest & AddTags(Aws::String &&key, const char *value)
AWS_TEXTRACT_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAdapterVersionRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAdapterVersionRequest & WithOutputConfig(OutputConfig &&value)
CreateAdapterVersionRequest & WithAdapterId(const char *value)
virtual const char * GetServiceRequestName() const override
CreateAdapterVersionRequest & AddTags(const char *key, Aws::String &&value)
const AdapterVersionDatasetConfig & GetDatasetConfig() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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