/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

The output of the ListCertificatesByCA operation.

See Also:

* AWS * API Reference

*/ class ListCertificatesByCAResult { public: AWS_IOT_API ListCertificatesByCAResult(); AWS_IOT_API ListCertificatesByCAResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API ListCertificatesByCAResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The device certificates signed by the specified CA certificate.

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

The device certificates signed by the specified CA certificate.

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

The device certificates signed by the specified CA certificate.

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

The device certificates signed by the specified CA certificate.

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

The device certificates signed by the specified CA certificate.

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

The device certificates signed by the specified CA certificate.

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

The device certificates signed by the specified CA certificate.

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

The marker for the next set of results, or null if there are no additional * results.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

The marker for the next set of results, or null if there are no additional * results.

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

The marker for the next set of results, or null if there are no additional * results.

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

The marker for the next set of results, or null if there are no additional * results.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

The marker for the next set of results, or null if there are no additional * results.

*/ inline ListCertificatesByCAResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

The marker for the next set of results, or null if there are no additional * results.

*/ inline ListCertificatesByCAResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

The marker for the next set of results, or null if there are no additional * results.

*/ inline ListCertificatesByCAResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListCertificatesByCAResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCertificatesByCAResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCertificatesByCAResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_certificates; Aws::String m_nextMarker; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws