/** * 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 from the ListCACertificates operation.

See Also:

* AWS * API Reference

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

The CA certificates registered in your Amazon Web Services account.

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

The CA certificates registered in your Amazon Web Services account.

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

The CA certificates registered in your Amazon Web Services account.

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

The CA certificates registered in your Amazon Web Services account.

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

The CA certificates registered in your Amazon Web Services account.

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

The CA certificates registered in your Amazon Web Services account.

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

The CA certificates registered in your Amazon Web Services account.

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

The current position within the list of CA certificates.

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

The current position within the list of CA certificates.

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

The current position within the list of CA certificates.

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

The current position within the list of CA certificates.

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

The current position within the list of CA certificates.

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

The current position within the list of CA certificates.

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

The current position within the list of CA certificates.

*/ inline ListCACertificatesResult& 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 ListCACertificatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCACertificatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCACertificatesResult& 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