/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input to the ListCertificatesByCA operation.See Also:
* AWS
* API Reference
The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline const Aws::String& GetCaCertificateId() const{ return m_caCertificateId; } /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline bool CaCertificateIdHasBeenSet() const { return m_caCertificateIdHasBeenSet; } /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline void SetCaCertificateId(const Aws::String& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = value; } /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline void SetCaCertificateId(Aws::String&& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = std::move(value); } /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline void SetCaCertificateId(const char* value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId.assign(value); } /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline ListCertificatesByCARequest& WithCaCertificateId(const Aws::String& value) { SetCaCertificateId(value); return *this;} /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline ListCertificatesByCARequest& WithCaCertificateId(Aws::String&& value) { SetCaCertificateId(std::move(value)); return *this;} /** *The ID of the CA certificate. This operation will list all registered device * certificate that were signed by this CA certificate.
*/ inline ListCertificatesByCARequest& WithCaCertificateId(const char* value) { SetCaCertificateId(value); return *this;} /** *The result page size.
*/ inline int GetPageSize() const{ return m_pageSize; } /** *The result page size.
*/ inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } /** *The result page size.
*/ inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } /** *The result page size.
*/ inline ListCertificatesByCARequest& WithPageSize(int value) { SetPageSize(value); return *this;} /** *The marker for the next set of results.
*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *The marker for the next set of results.
*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *The marker for the next set of results.
*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *The marker for the next set of results.
*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *The marker for the next set of results.
*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *The marker for the next set of results.
*/ inline ListCertificatesByCARequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *The marker for the next set of results.
*/ inline ListCertificatesByCARequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *The marker for the next set of results.
*/ inline ListCertificatesByCARequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *Specifies the order for results. If True, the results are returned in * ascending order, based on the creation date.
*/ inline bool GetAscendingOrder() const{ return m_ascendingOrder; } /** *Specifies the order for results. If True, the results are returned in * ascending order, based on the creation date.
*/ inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; } /** *Specifies the order for results. If True, the results are returned in * ascending order, based on the creation date.
*/ inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; } /** *Specifies the order for results. If True, the results are returned in * ascending order, based on the creation date.
*/ inline ListCertificatesByCARequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;} private: Aws::String m_caCertificateId; bool m_caCertificateIdHasBeenSet = false; int m_pageSize; bool m_pageSizeHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; bool m_ascendingOrder; bool m_ascendingOrderHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws