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

The ARN of the scene.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the scene.

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

The ARN of the scene.

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

The ARN of the scene.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the scene.

*/ inline CreateSceneResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the scene.

*/ inline CreateSceneResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the scene.

*/ inline CreateSceneResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The date and time when the scene was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time when the scene was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; } /** *

The date and time when the scene was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); } /** *

The date and time when the scene was created.

*/ inline CreateSceneResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time when the scene was created.

*/ inline CreateSceneResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(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 CreateSceneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSceneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSceneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws