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

The response object returned after the data repository association is * updated.

*/ inline const DataRepositoryAssociation& GetAssociation() const{ return m_association; } /** *

The response object returned after the data repository association is * updated.

*/ inline void SetAssociation(const DataRepositoryAssociation& value) { m_association = value; } /** *

The response object returned after the data repository association is * updated.

*/ inline void SetAssociation(DataRepositoryAssociation&& value) { m_association = std::move(value); } /** *

The response object returned after the data repository association is * updated.

*/ inline UpdateDataRepositoryAssociationResult& WithAssociation(const DataRepositoryAssociation& value) { SetAssociation(value); return *this;} /** *

The response object returned after the data repository association is * updated.

*/ inline UpdateDataRepositoryAssociationResult& WithAssociation(DataRepositoryAssociation&& value) { SetAssociation(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 UpdateDataRepositoryAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDataRepositoryAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDataRepositoryAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DataRepositoryAssociation m_association; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws