/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class CreateUploadUrlResult { public: AWS_LEXMODELSV2_API CreateUploadUrlResult(); AWS_LEXMODELSV2_API CreateUploadUrlResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API CreateUploadUrlResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline const Aws::String& GetImportId() const{ return m_importId; } /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline void SetImportId(const Aws::String& value) { m_importId = value; } /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); } /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline void SetImportId(const char* value) { m_importId.assign(value); } /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline CreateUploadUrlResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;} /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline CreateUploadUrlResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;} /** *

An identifier for a unique import job. Use it when you call the StartImport * operation.

*/ inline CreateUploadUrlResult& WithImportId(const char* value) { SetImportId(value); return *this;} /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline const Aws::String& GetUploadUrl() const{ return m_uploadUrl; } /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline void SetUploadUrl(const Aws::String& value) { m_uploadUrl = value; } /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline void SetUploadUrl(Aws::String&& value) { m_uploadUrl = std::move(value); } /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline void SetUploadUrl(const char* value) { m_uploadUrl.assign(value); } /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline CreateUploadUrlResult& WithUploadUrl(const Aws::String& value) { SetUploadUrl(value); return *this;} /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline CreateUploadUrlResult& WithUploadUrl(Aws::String&& value) { SetUploadUrl(std::move(value)); return *this;} /** *

A pre-signed S3 write URL. Upload the zip archive file that contains the * definition of your bot or bot locale.

*/ inline CreateUploadUrlResult& WithUploadUrl(const char* value) { SetUploadUrl(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateUploadUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateUploadUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateUploadUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_importId; Aws::String m_uploadUrl; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws