/** * 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 Synthetics { namespace Model { class AWS_SYNTHETICS_API DescribeCanariesLastRunResult { public: DescribeCanariesLastRunResult(); DescribeCanariesLastRunResult(const Aws::AmazonWebServiceResult& result); DescribeCanariesLastRunResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array that contains the information from the most recent run of each * canary.

*/ inline const Aws::Vector& GetCanariesLastRun() const{ return m_canariesLastRun; } /** *

An array that contains the information from the most recent run of each * canary.

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

An array that contains the information from the most recent run of each * canary.

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

An array that contains the information from the most recent run of each * canary.

*/ inline DescribeCanariesLastRunResult& WithCanariesLastRun(const Aws::Vector& value) { SetCanariesLastRun(value); return *this;} /** *

An array that contains the information from the most recent run of each * canary.

*/ inline DescribeCanariesLastRunResult& WithCanariesLastRun(Aws::Vector&& value) { SetCanariesLastRun(std::move(value)); return *this;} /** *

An array that contains the information from the most recent run of each * canary.

*/ inline DescribeCanariesLastRunResult& AddCanariesLastRun(const CanaryLastRun& value) { m_canariesLastRun.push_back(value); return *this; } /** *

An array that contains the information from the most recent run of each * canary.

*/ inline DescribeCanariesLastRunResult& AddCanariesLastRun(CanaryLastRun&& value) { m_canariesLastRun.push_back(std::move(value)); return *this; } /** *

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

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

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

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

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

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

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

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

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

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

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

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

A token that indicates that there is more data available. You can use this * token in a subsequent DescribeCanariesLastRun operation to retrieve * the next set of results.

*/ inline DescribeCanariesLastRunResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_canariesLastRun; Aws::String m_nextToken; }; } // namespace Model } // namespace Synthetics } // namespace Aws