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

If fleet name is specified, this returns the list of applications that are * associated to it. If application ARN is specified, this returns the list of * fleets to which it is associated.

*/ inline const ApplicationFleetAssociation& GetApplicationFleetAssociation() const{ return m_applicationFleetAssociation; } /** *

If fleet name is specified, this returns the list of applications that are * associated to it. If application ARN is specified, this returns the list of * fleets to which it is associated.

*/ inline void SetApplicationFleetAssociation(const ApplicationFleetAssociation& value) { m_applicationFleetAssociation = value; } /** *

If fleet name is specified, this returns the list of applications that are * associated to it. If application ARN is specified, this returns the list of * fleets to which it is associated.

*/ inline void SetApplicationFleetAssociation(ApplicationFleetAssociation&& value) { m_applicationFleetAssociation = std::move(value); } /** *

If fleet name is specified, this returns the list of applications that are * associated to it. If application ARN is specified, this returns the list of * fleets to which it is associated.

*/ inline AssociateApplicationFleetResult& WithApplicationFleetAssociation(const ApplicationFleetAssociation& value) { SetApplicationFleetAssociation(value); return *this;} /** *

If fleet name is specified, this returns the list of applications that are * associated to it. If application ARN is specified, this returns the list of * fleets to which it is associated.

*/ inline AssociateApplicationFleetResult& WithApplicationFleetAssociation(ApplicationFleetAssociation&& value) { SetApplicationFleetAssociation(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 AssociateApplicationFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateApplicationFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateApplicationFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ApplicationFleetAssociation m_applicationFleetAssociation; Aws::String m_requestId; }; } // namespace Model } // namespace AppStream } // namespace Aws