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

The container instance for which the container agent was updated.

*/ inline const ContainerInstance& GetContainerInstance() const{ return m_containerInstance; } /** *

The container instance for which the container agent was updated.

*/ inline void SetContainerInstance(const ContainerInstance& value) { m_containerInstance = value; } /** *

The container instance for which the container agent was updated.

*/ inline void SetContainerInstance(ContainerInstance&& value) { m_containerInstance = std::move(value); } /** *

The container instance for which the container agent was updated.

*/ inline UpdateContainerAgentResult& WithContainerInstance(const ContainerInstance& value) { SetContainerInstance(value); return *this;} /** *

The container instance for which the container agent was updated.

*/ inline UpdateContainerAgentResult& WithContainerInstance(ContainerInstance&& value) { SetContainerInstance(std::move(value)); return *this;} private: ContainerInstance m_containerInstance; }; } // namespace Model } // namespace ECS } // namespace Aws