AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateParallelDataRequest.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/translate/TranslateRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/translate/model/ParallelDataConfig.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Translate
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_TRANSLATE_API UpdateParallelDataRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateParallelData"; }
33
34 AWS_TRANSLATE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline UpdateParallelDataRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateParallelDataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateParallelDataRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateParallelDataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateParallelDataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateParallelDataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const ParallelDataConfig& GetParallelDataConfig() const{ return m_parallelDataConfig; }
72 inline bool ParallelDataConfigHasBeenSet() const { return m_parallelDataConfigHasBeenSet; }
73 inline void SetParallelDataConfig(const ParallelDataConfig& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = value; }
74 inline void SetParallelDataConfig(ParallelDataConfig&& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = std::move(value); }
78
80
84 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
85 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
86 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
87 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
88 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
89 inline UpdateParallelDataRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
90 inline UpdateParallelDataRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
91 inline UpdateParallelDataRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
101 ParallelDataConfig m_parallelDataConfig;
102 bool m_parallelDataConfigHasBeenSet = false;
103
104 Aws::String m_clientToken;
105 bool m_clientTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Translate
110} // namespace Aws
UpdateParallelDataRequest & WithName(Aws::String &&value)
UpdateParallelDataRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
void SetParallelDataConfig(const ParallelDataConfig &value)
UpdateParallelDataRequest & WithName(const Aws::String &value)
UpdateParallelDataRequest & WithParallelDataConfig(const ParallelDataConfig &value)
UpdateParallelDataRequest & WithName(const char *value)
AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateParallelDataRequest & WithClientToken(Aws::String &&value)
UpdateParallelDataRequest & WithDescription(const Aws::String &value)
UpdateParallelDataRequest & WithClientToken(const char *value)
AWS_TRANSLATE_API Aws::String SerializePayload() const override
UpdateParallelDataRequest & WithDescription(Aws::String &&value)
UpdateParallelDataRequest & WithParallelDataConfig(ParallelDataConfig &&value)
UpdateParallelDataRequest & WithClientToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String