/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ECS { namespace Model { class UpdateCapacityProviderResult { public: AWS_ECS_API UpdateCapacityProviderResult(); AWS_ECS_API UpdateCapacityProviderResult(const Aws::AmazonWebServiceResult& result); AWS_ECS_API UpdateCapacityProviderResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Details about the capacity provider.

*/ inline const CapacityProvider& GetCapacityProvider() const{ return m_capacityProvider; } /** *

Details about the capacity provider.

*/ inline void SetCapacityProvider(const CapacityProvider& value) { m_capacityProvider = value; } /** *

Details about the capacity provider.

*/ inline void SetCapacityProvider(CapacityProvider&& value) { m_capacityProvider = std::move(value); } /** *

Details about the capacity provider.

*/ inline UpdateCapacityProviderResult& WithCapacityProvider(const CapacityProvider& value) { SetCapacityProvider(value); return *this;} /** *

Details about the capacity provider.

*/ inline UpdateCapacityProviderResult& WithCapacityProvider(CapacityProvider&& value) { SetCapacityProvider(std::move(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 UpdateCapacityProviderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCapacityProviderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCapacityProviderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CapacityProvider m_capacityProvider; Aws::String m_requestId; }; } // namespace Model } // namespace ECS } // namespace Aws