AWS SDK for C++

AWS SDK for C++ Version 1.11.904

Loading...
Searching...
No Matches
UpdateLanguageModelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/transcribe/TranscribeService_EXPORTS.h>
10#include <aws/transcribe/model/EncryptionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace TranscribeService {
16namespace Model {
17
21 public:
22 AWS_TRANSCRIBESERVICE_API UpdateLanguageModelRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLanguageModel"; }
29
30 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetModelName() const { return m_modelName; }
40 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
41 template <typename ModelNameT = Aws::String>
42 void SetModelName(ModelNameT&& value) {
43 m_modelNameHasBeenSet = true;
44 m_modelName = std::forward<ModelNameT>(value);
45 }
46 template <typename ModelNameT = Aws::String>
48 SetModelName(std::forward<ModelNameT>(value));
49 return *this;
50 }
52
54
66 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
67 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
68 template <typename DataAccessRoleArnT = Aws::String>
69 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
70 m_dataAccessRoleArnHasBeenSet = true;
71 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
72 }
73 template <typename DataAccessRoleArnT = Aws::String>
75 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
76 return *this;
77 }
79
81
86 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
87 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
88 template <typename EncryptionConfigurationT = EncryptionConfiguration>
89 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
90 m_encryptionConfigurationHasBeenSet = true;
91 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
92 }
93 template <typename EncryptionConfigurationT = EncryptionConfiguration>
94 UpdateLanguageModelRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
95 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_modelName;
101
102 Aws::String m_dataAccessRoleArn;
103
104 EncryptionConfiguration m_encryptionConfiguration;
105 bool m_modelNameHasBeenSet = false;
106 bool m_dataAccessRoleArnHasBeenSet = false;
107 bool m_encryptionConfigurationHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace TranscribeService
112} // namespace Aws
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
UpdateLanguageModelRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_TRANSCRIBESERVICE_API UpdateLanguageModelRequest()=default
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLanguageModelRequest & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
UpdateLanguageModelRequest & WithModelName(ModelNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String