212 lines
8.3 KiB
C++
212 lines
8.3 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/elasticache/ElastiCache_EXPORTS.h>
|
|
#include <aws/elasticache/ElastiCacheRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace ElastiCache
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_ELASTICACHE_API DescribeGlobalReplicationGroupsRequest : public ElastiCacheRequest
|
|
{
|
|
public:
|
|
DescribeGlobalReplicationGroupsRequest();
|
|
|
|
// 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 "DescribeGlobalReplicationGroups"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline const Aws::String& GetGlobalReplicationGroupId() const{ return m_globalReplicationGroupId; }
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline bool GlobalReplicationGroupIdHasBeenSet() const { return m_globalReplicationGroupIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline void SetGlobalReplicationGroupId(const Aws::String& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = value; }
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline void SetGlobalReplicationGroupId(Aws::String&& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline void SetGlobalReplicationGroupId(const char* value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithGlobalReplicationGroupId(const Aws::String& value) { SetGlobalReplicationGroupId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithGlobalReplicationGroupId(Aws::String&& value) { SetGlobalReplicationGroupId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the Global Datastore</p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithGlobalReplicationGroupId(const char* value) { SetGlobalReplicationGroupId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The maximum number of records to include in the response. If more records
|
|
* exist than the specified MaxRecords value, a marker is included in the response
|
|
* so that the remaining results can be retrieved. </p>
|
|
*/
|
|
inline int GetMaxRecords() const{ return m_maxRecords; }
|
|
|
|
/**
|
|
* <p>The maximum number of records to include in the response. If more records
|
|
* exist than the specified MaxRecords value, a marker is included in the response
|
|
* so that the remaining results can be retrieved. </p>
|
|
*/
|
|
inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum number of records to include in the response. If more records
|
|
* exist than the specified MaxRecords value, a marker is included in the response
|
|
* so that the remaining results can be retrieved. </p>
|
|
*/
|
|
inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
|
|
|
|
/**
|
|
* <p>The maximum number of records to include in the response. If more records
|
|
* exist than the specified MaxRecords value, a marker is included in the response
|
|
* so that the remaining results can be retrieved. </p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline const Aws::String& GetMarker() const{ return m_marker; }
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>An optional marker returned from a prior request. Use this marker for
|
|
* pagination of results from this operation. If this parameter is specified, the
|
|
* response includes only records beyond the marker, up to the value specified by
|
|
* <code>MaxRecords</code>. </p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Returns the list of members that comprise the Global Datastore.</p>
|
|
*/
|
|
inline bool GetShowMemberInfo() const{ return m_showMemberInfo; }
|
|
|
|
/**
|
|
* <p>Returns the list of members that comprise the Global Datastore.</p>
|
|
*/
|
|
inline bool ShowMemberInfoHasBeenSet() const { return m_showMemberInfoHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Returns the list of members that comprise the Global Datastore.</p>
|
|
*/
|
|
inline void SetShowMemberInfo(bool value) { m_showMemberInfoHasBeenSet = true; m_showMemberInfo = value; }
|
|
|
|
/**
|
|
* <p>Returns the list of members that comprise the Global Datastore.</p>
|
|
*/
|
|
inline DescribeGlobalReplicationGroupsRequest& WithShowMemberInfo(bool value) { SetShowMemberInfo(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_globalReplicationGroupId;
|
|
bool m_globalReplicationGroupIdHasBeenSet;
|
|
|
|
int m_maxRecords;
|
|
bool m_maxRecordsHasBeenSet;
|
|
|
|
Aws::String m_marker;
|
|
bool m_markerHasBeenSet;
|
|
|
|
bool m_showMemberInfo;
|
|
bool m_showMemberInfoHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace ElastiCache
|
|
} // namespace Aws
|