AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateParallelDataRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/TranslateRequest.h>
10#include <aws/translate/Translate_EXPORTS.h>
11#include <aws/translate/model/ParallelDataConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Translate {
17namespace Model {
18
22 public:
23 AWS_TRANSLATE_API UpdateParallelDataRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateParallelData"; }
30
31 AWS_TRANSLATE_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const ParallelDataConfig& GetParallelDataConfig() const { return m_parallelDataConfig; }
76 inline bool ParallelDataConfigHasBeenSet() const { return m_parallelDataConfigHasBeenSet; }
77 template <typename ParallelDataConfigT = ParallelDataConfig>
78 void SetParallelDataConfig(ParallelDataConfigT&& value) {
79 m_parallelDataConfigHasBeenSet = true;
80 m_parallelDataConfig = std::forward<ParallelDataConfigT>(value);
81 }
82 template <typename ParallelDataConfigT = ParallelDataConfig>
83 UpdateParallelDataRequest& WithParallelDataConfig(ParallelDataConfigT&& value) {
84 SetParallelDataConfig(std::forward<ParallelDataConfigT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetClientToken() const { return m_clientToken; }
95 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 template <typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) {
98 m_clientTokenHasBeenSet = true;
99 m_clientToken = std::forward<ClientTokenT>(value);
100 }
101 template <typename ClientTokenT = Aws::String>
103 SetClientToken(std::forward<ClientTokenT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_name;
109
110 Aws::String m_description;
111
112 ParallelDataConfig m_parallelDataConfig;
113
115 bool m_nameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_parallelDataConfigHasBeenSet = false;
118 bool m_clientTokenHasBeenSet = true;
119};
120
121} // namespace Model
122} // namespace Translate
123} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateParallelDataRequest & WithClientToken(ClientTokenT &&value)
UpdateParallelDataRequest & WithDescription(DescriptionT &&value)
UpdateParallelDataRequest & WithParallelDataConfig(ParallelDataConfigT &&value)
UpdateParallelDataRequest & WithName(NameT &&value)
AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TRANSLATE_API Aws::String SerializePayload() const override
AWS_TRANSLATE_API UpdateParallelDataRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String