/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace DocDB { namespace Model { class DescribeCertificatesResult { public: AWS_DOCDB_API DescribeCertificatesResult(); AWS_DOCDB_API DescribeCertificatesResult(const Aws::AmazonWebServiceResult& result); AWS_DOCDB_API DescribeCertificatesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of certificates for this Amazon Web Services account.

*/ inline const Aws::Vector& GetCertificates() const{ return m_certificates; } /** *

A list of certificates for this Amazon Web Services account.

*/ inline void SetCertificates(const Aws::Vector& value) { m_certificates = value; } /** *

A list of certificates for this Amazon Web Services account.

*/ inline void SetCertificates(Aws::Vector&& value) { m_certificates = std::move(value); } /** *

A list of certificates for this Amazon Web Services account.

*/ inline DescribeCertificatesResult& WithCertificates(const Aws::Vector& value) { SetCertificates(value); return *this;} /** *

A list of certificates for this Amazon Web Services account.

*/ inline DescribeCertificatesResult& WithCertificates(Aws::Vector&& value) { SetCertificates(std::move(value)); return *this;} /** *

A list of certificates for this Amazon Web Services account.

*/ inline DescribeCertificatesResult& AddCertificates(const Certificate& value) { m_certificates.push_back(value); return *this; } /** *

A list of certificates for this Amazon Web Services account.

*/ inline DescribeCertificatesResult& AddCertificates(Certificate&& value) { m_certificates.push_back(std::move(value)); return *this; } /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline void SetMarker(const Aws::String& value) { m_marker = value; } /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline DescribeCertificatesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline DescribeCertificatesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An optional pagination token provided if the number of records retrieved is * greater than MaxRecords. If this parameter is specified, the marker * specifies the next record in the list. Including the value of * Marker in the next call to DescribeCertificates * results in the next page of certificates.

*/ inline DescribeCertificatesResult& WithMarker(const char* value) { SetMarker(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeCertificatesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCertificatesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_certificates; Aws::String m_marker; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace DocDB } // namespace Aws