AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateParallelDataRequest.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 <aws/translate/model/EncryptionKey.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/translate/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace Translate
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_TRANSLATE_API CreateParallelDataRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateParallelData"; }
36
37 AWS_TRANSLATE_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CreateParallelDataRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CreateParallelDataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CreateParallelDataRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline CreateParallelDataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CreateParallelDataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CreateParallelDataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const ParallelDataConfig& GetParallelDataConfig() const{ return m_parallelDataConfig; }
76 inline bool ParallelDataConfigHasBeenSet() const { return m_parallelDataConfigHasBeenSet; }
77 inline void SetParallelDataConfig(const ParallelDataConfig& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = value; }
78 inline void SetParallelDataConfig(ParallelDataConfig&& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = std::move(value); }
82
84
85 inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; }
86 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
87 inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
88 inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
89 inline CreateParallelDataRequest& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;}
90 inline CreateParallelDataRequest& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
99 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
100 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
101 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
102 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
103 inline CreateParallelDataRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
104 inline CreateParallelDataRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
105 inline CreateParallelDataRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
107
109
116 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline CreateParallelDataRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
121 inline CreateParallelDataRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
122 inline CreateParallelDataRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
123 inline CreateParallelDataRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
125 private:
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 ParallelDataConfig m_parallelDataConfig;
134 bool m_parallelDataConfigHasBeenSet = false;
135
136 EncryptionKey m_encryptionKey;
137 bool m_encryptionKeyHasBeenSet = false;
138
139 Aws::String m_clientToken;
140 bool m_clientTokenHasBeenSet = false;
141
142 Aws::Vector<Tag> m_tags;
143 bool m_tagsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Translate
148} // namespace Aws
AWS_TRANSLATE_API Aws::String SerializePayload() const override
CreateParallelDataRequest & WithClientToken(Aws::String &&value)
CreateParallelDataRequest & WithDescription(const Aws::String &value)
CreateParallelDataRequest & AddTags(const Tag &value)
CreateParallelDataRequest & WithParallelDataConfig(const ParallelDataConfig &value)
CreateParallelDataRequest & AddTags(Tag &&value)
AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateParallelDataRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
CreateParallelDataRequest & WithEncryptionKey(EncryptionKey &&value)
CreateParallelDataRequest & WithClientToken(const Aws::String &value)
CreateParallelDataRequest & WithEncryptionKey(const EncryptionKey &value)
CreateParallelDataRequest & WithParallelDataConfig(ParallelDataConfig &&value)
CreateParallelDataRequest & WithDescription(const char *value)
CreateParallelDataRequest & WithTags(const Aws::Vector< Tag > &value)
CreateParallelDataRequest & WithName(const char *value)
CreateParallelDataRequest & WithName(const Aws::String &value)
CreateParallelDataRequest & WithName(Aws::String &&value)
void SetParallelDataConfig(const ParallelDataConfig &value)
CreateParallelDataRequest & WithDescription(Aws::String &&value)
CreateParallelDataRequest & WithTags(Aws::Vector< Tag > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector