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

The attributes applied to your resource.

*/ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } /** *

The attributes applied to your resource.

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

The attributes applied to your resource.

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

The attributes applied to your resource.

*/ inline PutAttributesResult& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} /** *

The attributes applied to your resource.

*/ inline PutAttributesResult& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} /** *

The attributes applied to your resource.

*/ inline PutAttributesResult& AddAttributes(const Attribute& value) { m_attributes.push_back(value); return *this; } /** *

The attributes applied to your resource.

*/ inline PutAttributesResult& AddAttributes(Attribute&& value) { m_attributes.push_back(std::move(value)); return *this; } private: Aws::Vector m_attributes; }; } // namespace Model } // namespace ECS } // namespace Aws