/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/lexv2-models/LexModelsV2Request.h>
#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
#include <aws/lexv2-models/model/AnalyticsPathFilter.h>

#include <utility>

namespace Aws {
namespace LexModelsV2 {
namespace Model {

/**
 */
class ListIntentPathsRequest : public LexModelsV2Request {
 public:
  AWS_LEXMODELSV2_API ListIntentPathsRequest() = default;

  // Service request name is the Operation name which will send this request out,
  // each operation should has unique request name, so that we can get operation's name from this request.
  // Note: this is not true for response, multiple operations may have the same response name,
  // so we can not get operation's name from response.
  inline virtual const char* GetServiceRequestName() const override { return "ListIntentPaths"; }

  AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;

  ///@{
  /**
   * <p>The identifier for the bot for which you want to retrieve intent path
   * metrics.</p>
   */
  inline const Aws::String& GetBotId() const { return m_botId; }
  inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
  template <typename BotIdT = Aws::String>
  void SetBotId(BotIdT&& value) {
    m_botIdHasBeenSet = true;
    m_botId = std::forward<BotIdT>(value);
  }
  template <typename BotIdT = Aws::String>
  ListIntentPathsRequest& WithBotId(BotIdT&& value) {
    SetBotId(std::forward<BotIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The date and time that marks the beginning of the range of time for which you
   * want to see intent path metrics.</p>
   */
  inline const Aws::Utils::DateTime& GetStartDateTime() const { return m_startDateTime; }
  inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
  template <typename StartDateTimeT = Aws::Utils::DateTime>
  void SetStartDateTime(StartDateTimeT&& value) {
    m_startDateTimeHasBeenSet = true;
    m_startDateTime = std::forward<StartDateTimeT>(value);
  }
  template <typename StartDateTimeT = Aws::Utils::DateTime>
  ListIntentPathsRequest& WithStartDateTime(StartDateTimeT&& value) {
    SetStartDateTime(std::forward<StartDateTimeT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The date and time that marks the end of the range of time for which you want
   * to see intent path metrics.</p>
   */
  inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
  inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
  template <typename EndDateTimeT = Aws::Utils::DateTime>
  void SetEndDateTime(EndDateTimeT&& value) {
    m_endDateTimeHasBeenSet = true;
    m_endDateTime = std::forward<EndDateTimeT>(value);
  }
  template <typename EndDateTimeT = Aws::Utils::DateTime>
  ListIntentPathsRequest& WithEndDateTime(EndDateTimeT&& value) {
    SetEndDateTime(std::forward<EndDateTimeT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The intent path for which you want to retrieve metrics. Use a forward slash
   * to separate intents in the path. For example:</p> <ul> <li> <p>/BookCar</p>
   * </li> <li> <p>/BookCar/BookHotel</p> </li> <li> <p>/BookHotel/BookCar</p> </li>
   * </ul>
   */
  inline const Aws::String& GetIntentPath() const { return m_intentPath; }
  inline bool IntentPathHasBeenSet() const { return m_intentPathHasBeenSet; }
  template <typename IntentPathT = Aws::String>
  void SetIntentPath(IntentPathT&& value) {
    m_intentPathHasBeenSet = true;
    m_intentPath = std::forward<IntentPathT>(value);
  }
  template <typename IntentPathT = Aws::String>
  ListIntentPathsRequest& WithIntentPath(IntentPathT&& value) {
    SetIntentPath(std::forward<IntentPathT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>A list of objects, each describes a condition by which you want to filter the
   * results.</p>
   */
  inline const Aws::Vector<AnalyticsPathFilter>& GetFilters() const { return m_filters; }
  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
  template <typename FiltersT = Aws::Vector<AnalyticsPathFilter>>
  void SetFilters(FiltersT&& value) {
    m_filtersHasBeenSet = true;
    m_filters = std::forward<FiltersT>(value);
  }
  template <typename FiltersT = Aws::Vector<AnalyticsPathFilter>>
  ListIntentPathsRequest& WithFilters(FiltersT&& value) {
    SetFilters(std::forward<FiltersT>(value));
    return *this;
  }
  template <typename FiltersT = AnalyticsPathFilter>
  ListIntentPathsRequest& AddFilters(FiltersT&& value) {
    m_filtersHasBeenSet = true;
    m_filters.emplace_back(std::forward<FiltersT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_botId;

  Aws::Utils::DateTime m_startDateTime{};

  Aws::Utils::DateTime m_endDateTime{};

  Aws::String m_intentPath;

  Aws::Vector<AnalyticsPathFilter> m_filters;
  bool m_botIdHasBeenSet = false;
  bool m_startDateTimeHasBeenSet = false;
  bool m_endDateTimeHasBeenSet = false;
  bool m_intentPathHasBeenSet = false;
  bool m_filtersHasBeenSet = false;
};

}  // namespace Model
}  // namespace LexModelsV2
}  // namespace Aws
