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

Summary information for your Amazon Kendra experience. You can create an * Amazon Kendra experience such as a search application. For more information on * creating a search application experience, see Building * a search experience with no code.

See Also:

AWS * API Reference

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

The name of your Amazon Kendra experience.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of your Amazon Kendra experience.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of your Amazon Kendra experience.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of your Amazon Kendra experience.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of your Amazon Kendra experience.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of your Amazon Kendra experience.

*/ inline ExperiencesSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of your Amazon Kendra experience.

*/ inline ExperiencesSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of your Amazon Kendra experience.

*/ inline ExperiencesSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The identifier of your Amazon Kendra experience.

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

The identifier of your Amazon Kendra experience.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier of your Amazon Kendra experience.

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

The identifier of your Amazon Kendra experience.

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

The identifier of your Amazon Kendra experience.

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

The identifier of your Amazon Kendra experience.

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

The identifier of your Amazon Kendra experience.

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

The identifier of your Amazon Kendra experience.

*/ inline ExperiencesSummary& WithId(const char* value) { SetId(value); return *this;} /** *

The Unix timestamp when your Amazon Kendra experience was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The Unix timestamp when your Amazon Kendra experience was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The Unix timestamp when your Amazon Kendra experience was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The Unix timestamp when your Amazon Kendra experience was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The Unix timestamp when your Amazon Kendra experience was created.

*/ inline ExperiencesSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The Unix timestamp when your Amazon Kendra experience was created.

*/ inline ExperiencesSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The processing status of your Amazon Kendra experience.

*/ inline const ExperienceStatus& GetStatus() const{ return m_status; } /** *

The processing status of your Amazon Kendra experience.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The processing status of your Amazon Kendra experience.

*/ inline void SetStatus(const ExperienceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The processing status of your Amazon Kendra experience.

*/ inline void SetStatus(ExperienceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The processing status of your Amazon Kendra experience.

*/ inline ExperiencesSummary& WithStatus(const ExperienceStatus& value) { SetStatus(value); return *this;} /** *

The processing status of your Amazon Kendra experience.

*/ inline ExperiencesSummary& WithStatus(ExperienceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline const Aws::Vector& GetEndpoints() const{ return m_endpoints; } /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline void SetEndpoints(const Aws::Vector& value) { m_endpointsHasBeenSet = true; m_endpoints = value; } /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline void SetEndpoints(Aws::Vector&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); } /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline ExperiencesSummary& WithEndpoints(const Aws::Vector& value) { SetEndpoints(value); return *this;} /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline ExperiencesSummary& WithEndpoints(Aws::Vector&& value) { SetEndpoints(std::move(value)); return *this;} /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline ExperiencesSummary& AddEndpoints(const ExperienceEndpoint& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and * fully hosted by Amazon Web Services.

*/ inline ExperiencesSummary& AddEndpoints(ExperienceEndpoint&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; ExperienceStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws