/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Translate { namespace Model { /** */ class UpdateParallelDataRequest : public TranslateRequest { public: AWS_TRANSLATE_API UpdateParallelDataRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateParallelData"; } AWS_TRANSLATE_API Aws::String SerializePayload() const override; AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the parallel data resource being updated.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the parallel data resource being updated.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the parallel data resource being updated.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the parallel data resource being updated.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the parallel data resource being updated.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the parallel data resource being updated.

*/ inline UpdateParallelDataRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the parallel data resource being updated.

*/ inline UpdateParallelDataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the parallel data resource being updated.

*/ inline UpdateParallelDataRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline UpdateParallelDataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline UpdateParallelDataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A custom description for the parallel data resource in Amazon Translate.

*/ inline UpdateParallelDataRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Specifies the format and S3 location of the parallel data input file.

*/ inline const ParallelDataConfig& GetParallelDataConfig() const{ return m_parallelDataConfig; } /** *

Specifies the format and S3 location of the parallel data input file.

*/ inline bool ParallelDataConfigHasBeenSet() const { return m_parallelDataConfigHasBeenSet; } /** *

Specifies the format and S3 location of the parallel data input file.

*/ inline void SetParallelDataConfig(const ParallelDataConfig& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = value; } /** *

Specifies the format and S3 location of the parallel data input file.

*/ inline void SetParallelDataConfig(ParallelDataConfig&& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = std::move(value); } /** *

Specifies the format and S3 location of the parallel data input file.

*/ inline UpdateParallelDataRequest& WithParallelDataConfig(const ParallelDataConfig& value) { SetParallelDataConfig(value); return *this;} /** *

Specifies the format and S3 location of the parallel data input file.

*/ inline UpdateParallelDataRequest& WithParallelDataConfig(ParallelDataConfig&& value) { SetParallelDataConfig(std::move(value)); return *this;} /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline UpdateParallelDataRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline UpdateParallelDataRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique identifier for the request. This token is automatically generated * when you use Amazon Translate through an AWS SDK.

*/ inline UpdateParallelDataRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ParallelDataConfig m_parallelDataConfig; bool m_parallelDataConfigHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace Translate } // namespace Aws