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

A unique identifier for the data source.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

A unique identifier for the data source.

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

A unique identifier for the data source.

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

A unique identifier for the data source.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

A unique identifier for the data source.

*/ inline CreateDataSourceResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

A unique identifier for the data source.

*/ inline CreateDataSourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

A unique identifier for the data source.

*/ inline CreateDataSourceResult& WithId(const char* value) { SetId(value); return *this;} private: Aws::String m_id; }; } // namespace Model } // namespace kendra } // namespace Aws