/** * 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 ListOutgoingCertificates operation.

See * Also:

AWS * API Reference

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

The certificates that are being transferred but not yet accepted.

*/ inline const Aws::Vector& GetOutgoingCertificates() const{ return m_outgoingCertificates; } /** *

The certificates that are being transferred but not yet accepted.

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

The certificates that are being transferred but not yet accepted.

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

The certificates that are being transferred but not yet accepted.

*/ inline ListOutgoingCertificatesResult& WithOutgoingCertificates(const Aws::Vector& value) { SetOutgoingCertificates(value); return *this;} /** *

The certificates that are being transferred but not yet accepted.

*/ inline ListOutgoingCertificatesResult& WithOutgoingCertificates(Aws::Vector&& value) { SetOutgoingCertificates(std::move(value)); return *this;} /** *

The certificates that are being transferred but not yet accepted.

*/ inline ListOutgoingCertificatesResult& AddOutgoingCertificates(const OutgoingCertificate& value) { m_outgoingCertificates.push_back(value); return *this; } /** *

The certificates that are being transferred but not yet accepted.

*/ inline ListOutgoingCertificatesResult& AddOutgoingCertificates(OutgoingCertificate&& value) { m_outgoingCertificates.push_back(std::move(value)); return *this; } /** *

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

*/ inline ListOutgoingCertificatesResult& 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 ListOutgoingCertificatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListOutgoingCertificatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListOutgoingCertificatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_outgoingCertificates; Aws::String m_nextMarker; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws