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

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/wafv2/WAFV2_EXPORTS.h>
#include <aws/wafv2/model/RegexPatternSetSummary.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Json {
class JsonValue;
}  // namespace Json
}  // namespace Utils
namespace WAFV2 {
namespace Model {
class ListRegexPatternSetsResult {
 public:
  AWS_WAFV2_API ListRegexPatternSetsResult() = default;
  AWS_WAFV2_API ListRegexPatternSetsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  AWS_WAFV2_API ListRegexPatternSetsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);

  ///@{
  /**
   * <p>When you request a list of objects with a <code>Limit</code> setting, if the
   * number of objects that are still available for retrieval exceeds the limit, WAF
   * returns a <code>NextMarker</code> value in the response. To retrieve the next
   * batch of objects, provide the marker from the prior call in your next
   * request.</p>
   */
  inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
  template <typename NextMarkerT = Aws::String>
  void SetNextMarker(NextMarkerT&& value) {
    m_nextMarkerHasBeenSet = true;
    m_nextMarker = std::forward<NextMarkerT>(value);
  }
  template <typename NextMarkerT = Aws::String>
  ListRegexPatternSetsResult& WithNextMarker(NextMarkerT&& value) {
    SetNextMarker(std::forward<NextMarkerT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Array of regex pattern sets. If you specified a <code>Limit</code> in your
   * request, this might not be the full list. </p>
   */
  inline const Aws::Vector<RegexPatternSetSummary>& GetRegexPatternSets() const { return m_regexPatternSets; }
  template <typename RegexPatternSetsT = Aws::Vector<RegexPatternSetSummary>>
  void SetRegexPatternSets(RegexPatternSetsT&& value) {
    m_regexPatternSetsHasBeenSet = true;
    m_regexPatternSets = std::forward<RegexPatternSetsT>(value);
  }
  template <typename RegexPatternSetsT = Aws::Vector<RegexPatternSetSummary>>
  ListRegexPatternSetsResult& WithRegexPatternSets(RegexPatternSetsT&& value) {
    SetRegexPatternSets(std::forward<RegexPatternSetsT>(value));
    return *this;
  }
  template <typename RegexPatternSetsT = RegexPatternSetSummary>
  ListRegexPatternSetsResult& AddRegexPatternSets(RegexPatternSetsT&& value) {
    m_regexPatternSetsHasBeenSet = true;
    m_regexPatternSets.emplace_back(std::forward<RegexPatternSetsT>(value));
    return *this;
  }
  ///@}

  ///@{

  inline const Aws::String& GetRequestId() const { return m_requestId; }
  template <typename RequestIdT = Aws::String>
  void SetRequestId(RequestIdT&& value) {
    m_requestIdHasBeenSet = true;
    m_requestId = std::forward<RequestIdT>(value);
  }
  template <typename RequestIdT = Aws::String>
  ListRegexPatternSetsResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_nextMarker;

  Aws::Vector<RegexPatternSetSummary> m_regexPatternSets;

  Aws::String m_requestId;
  bool m_nextMarkerHasBeenSet = false;
  bool m_regexPatternSetsHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace WAFV2
}  // namespace Aws
