442 lines
24 KiB
C++
442 lines
24 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/redshift/Redshift_EXPORTS.h>
|
|
#include <aws/redshift/RedshiftRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Redshift
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p/><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificatesMessage">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_REDSHIFT_API DescribeHsmClientCertificatesRequest : public RedshiftRequest
|
|
{
|
|
public:
|
|
DescribeHsmClientCertificatesRequest();
|
|
|
|
// 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 "DescribeHsmClientCertificates"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithHsmClientCertificateIdentifier(const Aws::String& value) { SetHsmClientCertificateIdentifier(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithHsmClientCertificateIdentifier(Aws::String&& value) { SetHsmClientCertificateIdentifier(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of a specific HSM client certificate for which you want
|
|
* information. If no identifier is specified, information is returned for all HSM
|
|
* client certificates owned by your AWS customer account.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The maximum number of response records to return in each call. If the number
|
|
* of remaining response records exceeds the specified <code>MaxRecords</code>
|
|
* value, a value is returned in a <code>marker</code> field of the response. You
|
|
* can retrieve the next set of records by retrying the command with the returned
|
|
* marker value. </p> <p>Default: <code>100</code> </p> <p>Constraints: minimum 20,
|
|
* maximum 100.</p>
|
|
*/
|
|
inline int GetMaxRecords() const{ return m_maxRecords; }
|
|
|
|
/**
|
|
* <p>The maximum number of response records to return in each call. If the number
|
|
* of remaining response records exceeds the specified <code>MaxRecords</code>
|
|
* value, a value is returned in a <code>marker</code> field of the response. You
|
|
* can retrieve the next set of records by retrying the command with the returned
|
|
* marker value. </p> <p>Default: <code>100</code> </p> <p>Constraints: minimum 20,
|
|
* maximum 100.</p>
|
|
*/
|
|
inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum number of response records to return in each call. If the number
|
|
* of remaining response records exceeds the specified <code>MaxRecords</code>
|
|
* value, a value is returned in a <code>marker</code> field of the response. You
|
|
* can retrieve the next set of records by retrying the command with the returned
|
|
* marker value. </p> <p>Default: <code>100</code> </p> <p>Constraints: minimum 20,
|
|
* maximum 100.</p>
|
|
*/
|
|
inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
|
|
|
|
/**
|
|
* <p>The maximum number of response records to return in each call. If the number
|
|
* of remaining response records exceeds the specified <code>MaxRecords</code>
|
|
* value, a value is returned in a <code>marker</code> field of the response. You
|
|
* can retrieve the next set of records by retrying the command with the returned
|
|
* marker value. </p> <p>Default: <code>100</code> </p> <p>Constraints: minimum 20,
|
|
* maximum 100.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline const Aws::String& GetMarker() const{ return m_marker; }
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>An optional parameter that specifies the starting point to return a set of
|
|
* response records. When the results of a <a>DescribeHsmClientCertificates</a>
|
|
* request exceed the value specified in <code>MaxRecords</code>, AWS returns a
|
|
* value in the <code>Marker</code> field of the response. You can retrieve the
|
|
* next set of response records by providing the returned marker value in the
|
|
* <code>Marker</code> parameter and retrying the request. </p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>A tag key or keys for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified key or keys. For example,
|
|
* suppose that you have HSM client certificates that are tagged with keys called
|
|
* <code>owner</code> and <code>environment</code>. If you specify both of these
|
|
* tag keys in the request, Amazon Redshift returns a response with the HSM client
|
|
* certificates that have either or both of these tag keys associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>A tag value or values for which you want to return all matching HSM client
|
|
* certificates that are associated with the specified tag value or values. For
|
|
* example, suppose that you have HSM client certificates that are tagged with
|
|
* values called <code>admin</code> and <code>test</code>. If you specify both of
|
|
* these tag values in the request, Amazon Redshift returns a response with the HSM
|
|
* client certificates that have either or both of these tag values associated with
|
|
* them.</p>
|
|
*/
|
|
inline DescribeHsmClientCertificatesRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_hsmClientCertificateIdentifier;
|
|
bool m_hsmClientCertificateIdentifierHasBeenSet;
|
|
|
|
int m_maxRecords;
|
|
bool m_maxRecordsHasBeenSet;
|
|
|
|
Aws::String m_marker;
|
|
bool m_markerHasBeenSet;
|
|
|
|
Aws::Vector<Aws::String> m_tagKeys;
|
|
bool m_tagKeysHasBeenSet;
|
|
|
|
Aws::Vector<Aws::String> m_tagValues;
|
|
bool m_tagValuesHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Redshift
|
|
} // namespace Aws
|