/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This input determines how the ListClusters action filters the list of
* clusters that it returns.See Also:
AWS
* API Reference
The creation date and time beginning value filter for listing clusters.
*/ inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; } /** *The creation date and time beginning value filter for listing clusters.
*/ inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; } /** *The creation date and time beginning value filter for listing clusters.
*/ inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; } /** *The creation date and time beginning value filter for listing clusters.
*/ inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); } /** *The creation date and time beginning value filter for listing clusters.
*/ inline ListClustersRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;} /** *The creation date and time beginning value filter for listing clusters.
*/ inline ListClustersRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;} /** *The creation date and time end value filter for listing clusters.
*/ inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; } /** *The creation date and time end value filter for listing clusters.
*/ inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; } /** *The creation date and time end value filter for listing clusters.
*/ inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; } /** *The creation date and time end value filter for listing clusters.
*/ inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); } /** *The creation date and time end value filter for listing clusters.
*/ inline ListClustersRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;} /** *The creation date and time end value filter for listing clusters.
*/ inline ListClustersRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;} /** *The cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline const Aws::VectorThe cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline bool ClusterStatesHasBeenSet() const { return m_clusterStatesHasBeenSet; } /** *The cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline void SetClusterStates(const Aws::VectorThe cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline void SetClusterStates(Aws::VectorThe cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline ListClustersRequest& WithClusterStates(const Aws::VectorThe cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline ListClustersRequest& WithClusterStates(Aws::VectorThe cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline ListClustersRequest& AddClusterStates(const ClusterState& value) { m_clusterStatesHasBeenSet = true; m_clusterStates.push_back(value); return *this; } /** *The cluster state filters to apply when listing clusters. Clusters that * change state while this action runs may be not be returned as expected in the * list of clusters.
*/ inline ListClustersRequest& AddClusterStates(ClusterState&& value) { m_clusterStatesHasBeenSet = true; m_clusterStates.push_back(std::move(value)); return *this; } /** *The pagination token that indicates the next set of results to retrieve.
*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *The pagination token that indicates the next set of results to retrieve.
*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *The pagination token that indicates the next set of results to retrieve.
*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *The pagination token that indicates the next set of results to retrieve.
*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *The pagination token that indicates the next set of results to retrieve.
*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *The pagination token that indicates the next set of results to retrieve.
*/ inline ListClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *The pagination token that indicates the next set of results to retrieve.
*/ inline ListClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *The pagination token that indicates the next set of results to retrieve.
*/ inline ListClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::Utils::DateTime m_createdAfter; bool m_createdAfterHasBeenSet = false; Aws::Utils::DateTime m_createdBefore; bool m_createdBeforeHasBeenSet = false; Aws::Vector