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

The ARNs of the resources that were successfully removed from the group.

*/ inline const Aws::Vector& GetSucceeded() const{ return m_succeeded; } /** *

The ARNs of the resources that were successfully removed from the group.

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

The ARNs of the resources that were successfully removed from the group.

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

The ARNs of the resources that were successfully removed from the group.

*/ inline UngroupResourcesResult& WithSucceeded(const Aws::Vector& value) { SetSucceeded(value); return *this;} /** *

The ARNs of the resources that were successfully removed from the group.

*/ inline UngroupResourcesResult& WithSucceeded(Aws::Vector&& value) { SetSucceeded(std::move(value)); return *this;} /** *

The ARNs of the resources that were successfully removed from the group.

*/ inline UngroupResourcesResult& AddSucceeded(const Aws::String& value) { m_succeeded.push_back(value); return *this; } /** *

The ARNs of the resources that were successfully removed from the group.

*/ inline UngroupResourcesResult& AddSucceeded(Aws::String&& value) { m_succeeded.push_back(std::move(value)); return *this; } /** *

The ARNs of the resources that were successfully removed from the group.

*/ inline UngroupResourcesResult& AddSucceeded(const char* value) { m_succeeded.push_back(value); return *this; } /** *

The resources that failed to be removed from the group.

*/ inline const Aws::Vector& GetFailed() const{ return m_failed; } /** *

The resources that failed to be removed from the group.

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

The resources that failed to be removed from the group.

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

The resources that failed to be removed from the group.

*/ inline UngroupResourcesResult& WithFailed(const Aws::Vector& value) { SetFailed(value); return *this;} /** *

The resources that failed to be removed from the group.

*/ inline UngroupResourcesResult& WithFailed(Aws::Vector&& value) { SetFailed(std::move(value)); return *this;} /** *

The resources that failed to be removed from the group.

*/ inline UngroupResourcesResult& AddFailed(const FailedResource& value) { m_failed.push_back(value); return *this; } /** *

The resources that failed to be removed from the group.

*/ inline UngroupResourcesResult& AddFailed(FailedResource&& value) { m_failed.push_back(std::move(value)); return *this; } private: Aws::Vector m_succeeded; Aws::Vector m_failed; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws