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

The list of task sets described.

*/ inline const Aws::Vector& GetTaskSets() const{ return m_taskSets; } /** *

The list of task sets described.

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

The list of task sets described.

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

The list of task sets described.

*/ inline DescribeTaskSetsResult& WithTaskSets(const Aws::Vector& value) { SetTaskSets(value); return *this;} /** *

The list of task sets described.

*/ inline DescribeTaskSetsResult& WithTaskSets(Aws::Vector&& value) { SetTaskSets(std::move(value)); return *this;} /** *

The list of task sets described.

*/ inline DescribeTaskSetsResult& AddTaskSets(const TaskSet& value) { m_taskSets.push_back(value); return *this; } /** *

The list of task sets described.

*/ inline DescribeTaskSetsResult& AddTaskSets(TaskSet&& value) { m_taskSets.push_back(std::move(value)); return *this; } /** *

Any failures associated with the call.

*/ inline const Aws::Vector& GetFailures() const{ return m_failures; } /** *

Any failures associated with the call.

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

Any failures associated with the call.

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

Any failures associated with the call.

*/ inline DescribeTaskSetsResult& WithFailures(const Aws::Vector& value) { SetFailures(value); return *this;} /** *

Any failures associated with the call.

*/ inline DescribeTaskSetsResult& WithFailures(Aws::Vector&& value) { SetFailures(std::move(value)); return *this;} /** *

Any failures associated with the call.

*/ inline DescribeTaskSetsResult& AddFailures(const Failure& value) { m_failures.push_back(value); return *this; } /** *

Any failures associated with the call.

*/ inline DescribeTaskSetsResult& AddFailures(Failure&& value) { m_failures.push_back(std::move(value)); return *this; } private: Aws::Vector m_taskSets; Aws::Vector m_failures; }; } // namespace Model } // namespace ECS } // namespace Aws