AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartEntitiesDetectionV2JobRequest.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/ComprehendMedicalRequest.h>
9#include <aws/comprehendmedical/model/InputDataConfig.h>
10#include <aws/comprehendmedical/model/OutputDataConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/comprehendmedical/model/LanguageCode.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace ComprehendMedical
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_COMPREHENDMEDICAL_API StartEntitiesDetectionV2JobRequest();
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 "StartEntitiesDetectionV2Job"; }
35
36 AWS_COMPREHENDMEDICAL_API Aws::String SerializePayload() const override;
37
38 AWS_COMPREHENDMEDICAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
47 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
48 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
49 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
53
55
58 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
59 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
60 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
61 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
65
67
74 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
75 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
76 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
77 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
78 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
81 inline StartEntitiesDetectionV2JobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
83
85
88 inline const Aws::String& GetJobName() const{ return m_jobName; }
89 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
90 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
91 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
92 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
93 inline StartEntitiesDetectionV2JobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
94 inline StartEntitiesDetectionV2JobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
95 inline StartEntitiesDetectionV2JobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
97
99
103 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
104 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
105 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
106 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
107 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
110 inline StartEntitiesDetectionV2JobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
112
114
118 inline const Aws::String& GetKMSKey() const{ return m_kMSKey; }
119 inline bool KMSKeyHasBeenSet() const { return m_kMSKeyHasBeenSet; }
120 inline void SetKMSKey(const Aws::String& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = value; }
121 inline void SetKMSKey(Aws::String&& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = std::move(value); }
122 inline void SetKMSKey(const char* value) { m_kMSKeyHasBeenSet = true; m_kMSKey.assign(value); }
123 inline StartEntitiesDetectionV2JobRequest& WithKMSKey(const Aws::String& value) { SetKMSKey(value); return *this;}
124 inline StartEntitiesDetectionV2JobRequest& WithKMSKey(Aws::String&& value) { SetKMSKey(std::move(value)); return *this;}
125 inline StartEntitiesDetectionV2JobRequest& WithKMSKey(const char* value) { SetKMSKey(value); return *this;}
127
129
133 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
134 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
135 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
136 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
138 inline StartEntitiesDetectionV2JobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
140 private:
141
142 InputDataConfig m_inputDataConfig;
143 bool m_inputDataConfigHasBeenSet = false;
144
145 OutputDataConfig m_outputDataConfig;
146 bool m_outputDataConfigHasBeenSet = false;
147
148 Aws::String m_dataAccessRoleArn;
149 bool m_dataAccessRoleArnHasBeenSet = false;
150
151 Aws::String m_jobName;
152 bool m_jobNameHasBeenSet = false;
153
154 Aws::String m_clientRequestToken;
155 bool m_clientRequestTokenHasBeenSet = false;
156
157 Aws::String m_kMSKey;
158 bool m_kMSKeyHasBeenSet = false;
159
160 LanguageCode m_languageCode;
161 bool m_languageCodeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace ComprehendMedical
166} // namespace Aws
StartEntitiesDetectionV2JobRequest & WithInputDataConfig(const InputDataConfig &value)
StartEntitiesDetectionV2JobRequest & WithDataAccessRoleArn(Aws::String &&value)
AWS_COMPREHENDMEDICAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COMPREHENDMEDICAL_API Aws::String SerializePayload() const override
StartEntitiesDetectionV2JobRequest & WithClientRequestToken(const char *value)
StartEntitiesDetectionV2JobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartEntitiesDetectionV2JobRequest & WithLanguageCode(const LanguageCode &value)
StartEntitiesDetectionV2JobRequest & WithKMSKey(Aws::String &&value)
StartEntitiesDetectionV2JobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartEntitiesDetectionV2JobRequest & WithJobName(Aws::String &&value)
StartEntitiesDetectionV2JobRequest & WithClientRequestToken(Aws::String &&value)
StartEntitiesDetectionV2JobRequest & WithJobName(const Aws::String &value)
StartEntitiesDetectionV2JobRequest & WithJobName(const char *value)
StartEntitiesDetectionV2JobRequest & WithDataAccessRoleArn(const char *value)
StartEntitiesDetectionV2JobRequest & WithInputDataConfig(InputDataConfig &&value)
StartEntitiesDetectionV2JobRequest & WithClientRequestToken(const Aws::String &value)
StartEntitiesDetectionV2JobRequest & WithLanguageCode(LanguageCode &&value)
StartEntitiesDetectionV2JobRequest & WithKMSKey(const Aws::String &value)
StartEntitiesDetectionV2JobRequest & WithOutputDataConfig(const OutputDataConfig &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String