/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Gathers information about when a particular result was clicked by a user.
* Your application uses the SubmitFeedback
API to provide click
* information.See Also:
AWS
* API Reference
The identifier of the search result that was clicked.
*/ inline const Aws::String& GetResultId() const{ return m_resultId; } /** *The identifier of the search result that was clicked.
*/ inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; } /** *The identifier of the search result that was clicked.
*/ inline void SetResultId(const Aws::String& value) { m_resultIdHasBeenSet = true; m_resultId = value; } /** *The identifier of the search result that was clicked.
*/ inline void SetResultId(Aws::String&& value) { m_resultIdHasBeenSet = true; m_resultId = std::move(value); } /** *The identifier of the search result that was clicked.
*/ inline void SetResultId(const char* value) { m_resultIdHasBeenSet = true; m_resultId.assign(value); } /** *The identifier of the search result that was clicked.
*/ inline ClickFeedback& WithResultId(const Aws::String& value) { SetResultId(value); return *this;} /** *The identifier of the search result that was clicked.
*/ inline ClickFeedback& WithResultId(Aws::String&& value) { SetResultId(std::move(value)); return *this;} /** *The identifier of the search result that was clicked.
*/ inline ClickFeedback& WithResultId(const char* value) { SetResultId(value); return *this;} /** *The Unix timestamp when the result was clicked.
*/ inline const Aws::Utils::DateTime& GetClickTime() const{ return m_clickTime; } /** *The Unix timestamp when the result was clicked.
*/ inline bool ClickTimeHasBeenSet() const { return m_clickTimeHasBeenSet; } /** *The Unix timestamp when the result was clicked.
*/ inline void SetClickTime(const Aws::Utils::DateTime& value) { m_clickTimeHasBeenSet = true; m_clickTime = value; } /** *The Unix timestamp when the result was clicked.
*/ inline void SetClickTime(Aws::Utils::DateTime&& value) { m_clickTimeHasBeenSet = true; m_clickTime = std::move(value); } /** *The Unix timestamp when the result was clicked.
*/ inline ClickFeedback& WithClickTime(const Aws::Utils::DateTime& value) { SetClickTime(value); return *this;} /** *The Unix timestamp when the result was clicked.
*/ inline ClickFeedback& WithClickTime(Aws::Utils::DateTime&& value) { SetClickTime(std::move(value)); return *this;} private: Aws::String m_resultId; bool m_resultIdHasBeenSet = false; Aws::Utils::DateTime m_clickTime; bool m_clickTimeHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws