/** * 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 Personalize { namespace Model { class UpdateDatasetResult { public: AWS_PERSONALIZE_API UpdateDatasetResult(); AWS_PERSONALIZE_API UpdateDatasetResult(const Aws::AmazonWebServiceResult& result); AWS_PERSONALIZE_API UpdateDatasetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the dataset you updated.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The Amazon Resource Name (ARN) of the dataset you updated.

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

The Amazon Resource Name (ARN) of the dataset you updated.

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

The Amazon Resource Name (ARN) of the dataset you updated.

*/ inline void SetDatasetArn(const char* value) { m_datasetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset you updated.

*/ inline UpdateDatasetResult& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset you updated.

*/ inline UpdateDatasetResult& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset you updated.

*/ inline UpdateDatasetResult& WithDatasetArn(const char* value) { SetDatasetArn(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 UpdateDatasetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDatasetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDatasetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_datasetArn; Aws::String m_requestId; }; } // namespace Model } // namespace Personalize } // namespace Aws