/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of the DescribeSnapshotCopyGrants
* action.See Also:
AWS
* API Reference
The name of the snapshot copy grant.
*/ inline const Aws::String& GetSnapshotCopyGrantName() const{ return m_snapshotCopyGrantName; } /** *The name of the snapshot copy grant.
*/ inline bool SnapshotCopyGrantNameHasBeenSet() const { return m_snapshotCopyGrantNameHasBeenSet; } /** *The name of the snapshot copy grant.
*/ inline void SetSnapshotCopyGrantName(const Aws::String& value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName = value; } /** *The name of the snapshot copy grant.
*/ inline void SetSnapshotCopyGrantName(Aws::String&& value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName = std::move(value); } /** *The name of the snapshot copy grant.
*/ inline void SetSnapshotCopyGrantName(const char* value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName.assign(value); } /** *The name of the snapshot copy grant.
*/ inline DescribeSnapshotCopyGrantsRequest& WithSnapshotCopyGrantName(const Aws::String& value) { SetSnapshotCopyGrantName(value); return *this;} /** *The name of the snapshot copy grant.
*/ inline DescribeSnapshotCopyGrantsRequest& WithSnapshotCopyGrantName(Aws::String&& value) { SetSnapshotCopyGrantName(std::move(value)); return *this;} /** *The name of the snapshot copy grant.
*/ inline DescribeSnapshotCopyGrantsRequest& WithSnapshotCopyGrantName(const char* value) { SetSnapshotCopyGrantName(value); return *this;} /** *The maximum number of response records to return in each call. If the number
* of remaining response records exceeds the specified MaxRecords
* value, a value is returned in a marker
field of the response. You
* can retrieve the next set of records by retrying the command with the returned
* marker value.
Default: 100
Constraints: minimum 20, * maximum 100.
*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *The maximum number of response records to return in each call. If the number
* of remaining response records exceeds the specified MaxRecords
* value, a value is returned in a marker
field of the response. You
* can retrieve the next set of records by retrying the command with the returned
* marker value.
Default: 100
Constraints: minimum 20, * maximum 100.
*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *The maximum number of response records to return in each call. If the number
* of remaining response records exceeds the specified MaxRecords
* value, a value is returned in a marker
field of the response. You
* can retrieve the next set of records by retrying the command with the returned
* marker value.
Default: 100
Constraints: minimum 20, * maximum 100.
*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *The maximum number of response records to return in each call. If the number
* of remaining response records exceeds the specified MaxRecords
* value, a value is returned in a marker
field of the response. You
* can retrieve the next set of records by retrying the command with the returned
* marker value.
Default: 100
Constraints: minimum 20, * maximum 100.
*/ inline DescribeSnapshotCopyGrantsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline DescribeSnapshotCopyGrantsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline DescribeSnapshotCopyGrantsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *An optional parameter that specifies the starting point to return a set of
* response records. When the results of a DescribeSnapshotCopyGrant
* request exceed the value specified in MaxRecords
, Amazon Web
* Services returns a value in the Marker
field of the response. You
* can retrieve the next set of response records by providing the returned marker
* value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName * parameter or the Marker parameter, but not both.
*/ inline DescribeSnapshotCopyGrantsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag key or keys for which you want to return all matching resources that
* are associated with the specified key or keys. For example, suppose that you
* have resources tagged with keys called owner
and
* environment
. If you specify both of these tag keys in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag keys associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.
A tag value or values for which you want to return all matching resources
* that are associated with the specified value or values. For example, suppose
* that you have resources tagged with values called admin
and
* test
. If you specify both of these tag values in the request,
* Amazon Redshift returns a response with all resources that have either or both
* of these tag values associated with them.