/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTRoboRunner { namespace Model { class CreateDestinationResult { public: AWS_IOTROBORUNNER_API CreateDestinationResult(); AWS_IOTROBORUNNER_API CreateDestinationResult(const Aws::AmazonWebServiceResult& result); AWS_IOTROBORUNNER_API CreateDestinationResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::String& GetArn() const{ return m_arn; } inline void SetArn(const Aws::String& value) { m_arn = value; } inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } inline void SetArn(const char* value) { m_arn.assign(value); } inline CreateDestinationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} inline CreateDestinationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} inline CreateDestinationResult& WithArn(const char* value) { SetArn(value); return *this;} inline const Aws::String& GetId() const{ return m_id; } inline void SetId(const Aws::String& value) { m_id = value; } inline void SetId(Aws::String&& value) { m_id = std::move(value); } inline void SetId(const char* value) { m_id.assign(value); } inline CreateDestinationResult& WithId(const Aws::String& value) { SetId(value); return *this;} inline CreateDestinationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} inline CreateDestinationResult& WithId(const char* value) { SetId(value); return *this;} inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } inline CreateDestinationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} inline CreateDestinationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } inline CreateDestinationResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} inline CreateDestinationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} inline const DestinationState& GetState() const{ return m_state; } inline void SetState(const DestinationState& value) { m_state = value; } inline void SetState(DestinationState&& value) { m_state = std::move(value); } inline CreateDestinationResult& WithState(const DestinationState& value) { SetState(value); return *this;} inline CreateDestinationResult& WithState(DestinationState&& value) { SetState(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 CreateDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_updatedAt; DestinationState m_state; Aws::String m_requestId; }; } // namespace Model } // namespace IoTRoboRunner } // namespace Aws