/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace kendra { namespace Model { /** *

Provides the configuration information for the endpoint for your Amazon * Kendra experience.

See Also:

AWS * API Reference

*/ class ExperienceEndpoint { public: AWS_KENDRA_API ExperienceEndpoint(); AWS_KENDRA_API ExperienceEndpoint(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API ExperienceEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of endpoint for your Amazon Kendra experience. The type currently * available is HOME, which is a unique and fully hosted URL to the * home page of your Amazon Kendra experience.

*/ inline const EndpointType& GetEndpointType() const{ return m_endpointType; } /** *

The type of endpoint for your Amazon Kendra experience. The type currently * available is HOME, which is a unique and fully hosted URL to the * home page of your Amazon Kendra experience.

*/ inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; } /** *

The type of endpoint for your Amazon Kendra experience. The type currently * available is HOME, which is a unique and fully hosted URL to the * home page of your Amazon Kendra experience.

*/ inline void SetEndpointType(const EndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; } /** *

The type of endpoint for your Amazon Kendra experience. The type currently * available is HOME, which is a unique and fully hosted URL to the * home page of your Amazon Kendra experience.

*/ inline void SetEndpointType(EndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); } /** *

The type of endpoint for your Amazon Kendra experience. The type currently * available is HOME, which is a unique and fully hosted URL to the * home page of your Amazon Kendra experience.

*/ inline ExperienceEndpoint& WithEndpointType(const EndpointType& value) { SetEndpointType(value); return *this;} /** *

The type of endpoint for your Amazon Kendra experience. The type currently * available is HOME, which is a unique and fully hosted URL to the * home page of your Amazon Kendra experience.

*/ inline ExperienceEndpoint& WithEndpointType(EndpointType&& value) { SetEndpointType(std::move(value)); return *this;} /** *

The endpoint of your Amazon Kendra experience.

*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *

The endpoint of your Amazon Kendra experience.

*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *

The endpoint of your Amazon Kendra experience.

*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *

The endpoint of your Amazon Kendra experience.

*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *

The endpoint of your Amazon Kendra experience.

*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *

The endpoint of your Amazon Kendra experience.

*/ inline ExperienceEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *

The endpoint of your Amazon Kendra experience.

*/ inline ExperienceEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *

The endpoint of your Amazon Kendra experience.

*/ inline ExperienceEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} private: EndpointType m_endpointType; bool m_endpointTypeHasBeenSet = false; Aws::String m_endpoint; bool m_endpointHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws