/** * 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 { class ListScheduledAuditsResult { public: AWS_IOT_API ListScheduledAuditsResult(); AWS_IOT_API ListScheduledAuditsResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API ListScheduledAuditsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of scheduled audits.

*/ inline const Aws::Vector& GetScheduledAudits() const{ return m_scheduledAudits; } /** *

The list of scheduled audits.

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

The list of scheduled audits.

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

The list of scheduled audits.

*/ inline ListScheduledAuditsResult& WithScheduledAudits(const Aws::Vector& value) { SetScheduledAudits(value); return *this;} /** *

The list of scheduled audits.

*/ inline ListScheduledAuditsResult& WithScheduledAudits(Aws::Vector&& value) { SetScheduledAudits(std::move(value)); return *this;} /** *

The list of scheduled audits.

*/ inline ListScheduledAuditsResult& AddScheduledAudits(const ScheduledAuditMetadata& value) { m_scheduledAudits.push_back(value); return *this; } /** *

The list of scheduled audits.

*/ inline ListScheduledAuditsResult& AddScheduledAudits(ScheduledAuditMetadata&& value) { m_scheduledAudits.push_back(std::move(value)); return *this; } /** *

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

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

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

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

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

*/ inline ListScheduledAuditsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

*/ inline ListScheduledAuditsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token that can be used to retrieve the next set of results, or * null if there are no additional results.

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