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

The full details about the canary you have created.

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

The full details about the canary you have created.

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

The full details about the canary you have created.

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

The full details about the canary you have created.

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

The full details about the canary you have created.

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