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

The list of UserStackAssociationError objects.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

The list of UserStackAssociationError objects.

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

The list of UserStackAssociationError objects.

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

The list of UserStackAssociationError objects.

*/ inline BatchAssociateUserStackResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

The list of UserStackAssociationError objects.

*/ inline BatchAssociateUserStackResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

The list of UserStackAssociationError objects.

*/ inline BatchAssociateUserStackResult& AddErrors(const UserStackAssociationError& value) { m_errors.push_back(value); return *this; } /** *

The list of UserStackAssociationError objects.

*/ inline BatchAssociateUserStackResult& AddErrors(UserStackAssociationError&& value) { m_errors.push_back(std::move(value)); return *this; } private: Aws::Vector m_errors; }; } // namespace Model } // namespace AppStream } // namespace Aws