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

The description of the association that was updated.

*/ inline const AssociationDescription& GetAssociationDescription() const{ return m_associationDescription; } /** *

The description of the association that was updated.

*/ inline void SetAssociationDescription(const AssociationDescription& value) { m_associationDescription = value; } /** *

The description of the association that was updated.

*/ inline void SetAssociationDescription(AssociationDescription&& value) { m_associationDescription = std::move(value); } /** *

The description of the association that was updated.

*/ inline UpdateAssociationResult& WithAssociationDescription(const AssociationDescription& value) { SetAssociationDescription(value); return *this;} /** *

The description of the association that was updated.

*/ inline UpdateAssociationResult& WithAssociationDescription(AssociationDescription&& value) { SetAssociationDescription(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 UpdateAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AssociationDescription m_associationDescription; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws