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

Information on the set of featured results. This includes the identifier of * the featured results set, whether the featured results set is active or * inactive, when the featured results set was last updated, and more.

*/ inline const FeaturedResultsSet& GetFeaturedResultsSet() const{ return m_featuredResultsSet; } /** *

Information on the set of featured results. This includes the identifier of * the featured results set, whether the featured results set is active or * inactive, when the featured results set was last updated, and more.

*/ inline void SetFeaturedResultsSet(const FeaturedResultsSet& value) { m_featuredResultsSet = value; } /** *

Information on the set of featured results. This includes the identifier of * the featured results set, whether the featured results set is active or * inactive, when the featured results set was last updated, and more.

*/ inline void SetFeaturedResultsSet(FeaturedResultsSet&& value) { m_featuredResultsSet = std::move(value); } /** *

Information on the set of featured results. This includes the identifier of * the featured results set, whether the featured results set is active or * inactive, when the featured results set was last updated, and more.

*/ inline UpdateFeaturedResultsSetResult& WithFeaturedResultsSet(const FeaturedResultsSet& value) { SetFeaturedResultsSet(value); return *this;} /** *

Information on the set of featured results. This includes the identifier of * the featured results set, whether the featured results set is active or * inactive, when the featured results set was last updated, and more.

*/ inline UpdateFeaturedResultsSetResult& WithFeaturedResultsSet(FeaturedResultsSet&& value) { SetFeaturedResultsSet(std::move(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 UpdateFeaturedResultsSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateFeaturedResultsSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateFeaturedResultsSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: FeaturedResultsSet m_featuredResultsSet; Aws::String m_requestId; }; } // namespace Model } // namespace kendra } // namespace Aws