/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudDirectory { namespace Model { class UpdateObjectAttributesResult { public: AWS_CLOUDDIRECTORY_API UpdateObjectAttributesResult(); AWS_CLOUDDIRECTORY_API UpdateObjectAttributesResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDDIRECTORY_API UpdateObjectAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ObjectIdentifier of the updated object.

*/ inline const Aws::String& GetObjectIdentifier() const{ return m_objectIdentifier; } /** *

The ObjectIdentifier of the updated object.

*/ inline void SetObjectIdentifier(const Aws::String& value) { m_objectIdentifier = value; } /** *

The ObjectIdentifier of the updated object.

*/ inline void SetObjectIdentifier(Aws::String&& value) { m_objectIdentifier = std::move(value); } /** *

The ObjectIdentifier of the updated object.

*/ inline void SetObjectIdentifier(const char* value) { m_objectIdentifier.assign(value); } /** *

The ObjectIdentifier of the updated object.

*/ inline UpdateObjectAttributesResult& WithObjectIdentifier(const Aws::String& value) { SetObjectIdentifier(value); return *this;} /** *

The ObjectIdentifier of the updated object.

*/ inline UpdateObjectAttributesResult& WithObjectIdentifier(Aws::String&& value) { SetObjectIdentifier(std::move(value)); return *this;} /** *

The ObjectIdentifier of the updated object.

*/ inline UpdateObjectAttributesResult& WithObjectIdentifier(const char* value) { SetObjectIdentifier(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 UpdateObjectAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateObjectAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateObjectAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_objectIdentifier; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws