/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace RedshiftServerless { namespace Model { /** */ class ListRecoveryPointsRequest : public RedshiftServerlessRequest { public: AWS_REDSHIFTSERVERLESS_API ListRecoveryPointsRequest(); // 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 "ListRecoveryPoints"; } AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override; AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The time when creation of the recovery point finished.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The time when creation of the recovery point finished.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The time when creation of the recovery point finished.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The time when creation of the recovery point finished.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The time when creation of the recovery point finished.

*/ inline ListRecoveryPointsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The time when creation of the recovery point finished.

*/ inline ListRecoveryPointsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline ListRecoveryPointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline const Aws::String& GetNamespaceArn() const{ return m_namespaceArn; } /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline void SetNamespaceArn(const Aws::String& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = value; } /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline void SetNamespaceArn(Aws::String&& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline void SetNamespaceArn(const char* value) { m_namespaceArnHasBeenSet = true; m_namespaceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline ListRecoveryPointsRequest& WithNamespaceArn(const Aws::String& value) { SetNamespaceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline ListRecoveryPointsRequest& WithNamespaceArn(Aws::String&& value) { SetNamespaceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the namespace from which to list recovery * points.

*/ inline ListRecoveryPointsRequest& WithNamespaceArn(const char* value) { SetNamespaceArn(value); return *this;} /** *

The name of the namespace to list recovery points for.

*/ inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; } /** *

The name of the namespace to list recovery points for.

*/ inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; } /** *

The name of the namespace to list recovery points for.

*/ inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; } /** *

The name of the namespace to list recovery points for.

*/ inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); } /** *

The name of the namespace to list recovery points for.

*/ inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); } /** *

The name of the namespace to list recovery points for.

*/ inline ListRecoveryPointsRequest& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;} /** *

The name of the namespace to list recovery points for.

*/ inline ListRecoveryPointsRequest& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;} /** *

The name of the namespace to list recovery points for.

*/ inline ListRecoveryPointsRequest& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;} /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline ListRecoveryPointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline ListRecoveryPointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If your initial ListRecoveryPoints operation returns a * nextToken, you can include the returned nextToken in * following ListRecoveryPoints operations, which returns results in * the next page.

*/ inline ListRecoveryPointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The time when the recovery point's creation was initiated.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The time when the recovery point's creation was initiated.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The time when the recovery point's creation was initiated.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The time when the recovery point's creation was initiated.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The time when the recovery point's creation was initiated.

*/ inline ListRecoveryPointsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The time when the recovery point's creation was initiated.

*/ inline ListRecoveryPointsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_namespaceArn; bool m_namespaceArnHasBeenSet = false; Aws::String m_namespaceName; bool m_namespaceNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; }; } // namespace Model } // namespace RedshiftServerless } // namespace Aws