/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 GetCanaryResult { public: GetCanaryResult(); GetCanaryResult(const Aws::AmazonWebServiceResult& result); GetCanaryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A strucure that contains the full information about the canary.

*/ inline const Canary& GetCanary() const{ return m_canary; } /** *

A strucure that contains the full information about the canary.

*/ inline void SetCanary(const Canary& value) { m_canary = value; } /** *

A strucure that contains the full information about the canary.

*/ inline void SetCanary(Canary&& value) { m_canary = std::move(value); } /** *

A strucure that contains the full information about the canary.

*/ inline GetCanaryResult& WithCanary(const Canary& value) { SetCanary(value); return *this;} /** *

A strucure that contains the full information about the canary.

*/ inline GetCanaryResult& WithCanary(Canary&& value) { SetCanary(std::move(value)); return *this;} private: Canary m_canary; }; } // namespace Model } // namespace Synthetics } // namespace Aws