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

The ID of the workspace.

*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

*/ inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); } /** *

The ID of the workspace.

*/ inline GetWorkspaceResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *

The ID of the workspace.

*/ inline GetWorkspaceResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *

The ID of the workspace.

*/ inline GetWorkspaceResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *

The ARN of the workspace.

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

The ARN of the workspace.

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

The ARN of the workspace.

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

The ARN of the workspace.

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

The ARN of the workspace.

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

The ARN of the workspace.

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

The ARN of the workspace.

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

The description of the workspace.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the workspace.

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

The description of the workspace.

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

The description of the workspace.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the workspace.

*/ inline GetWorkspaceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the workspace.

*/ inline GetWorkspaceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the workspace.

*/ inline GetWorkspaceResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ARN of the S3 bucket where resources associated with the workspace are * stored.

*/ inline const Aws::String& GetS3Location() const{ return m_s3Location; } /** *

The ARN of the S3 bucket where resources associated with the workspace are * stored.

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

The ARN of the S3 bucket where resources associated with the workspace are * stored.

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

The ARN of the S3 bucket where resources associated with the workspace are * stored.

*/ inline void SetS3Location(const char* value) { m_s3Location.assign(value); } /** *

The ARN of the S3 bucket where resources associated with the workspace are * stored.

*/ inline GetWorkspaceResult& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;} /** *

The ARN of the S3 bucket where resources associated with the workspace are * stored.

*/ inline GetWorkspaceResult& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;} /** *

The ARN of the S3 bucket where resources associated with the workspace are * stored.

*/ inline GetWorkspaceResult& WithS3Location(const char* value) { SetS3Location(value); return *this;} /** *

The ARN of the execution role associated with the workspace.

*/ inline const Aws::String& GetRole() const{ return m_role; } /** *

The ARN of the execution role associated with the workspace.

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

The ARN of the execution role associated with the workspace.

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

The ARN of the execution role associated with the workspace.

*/ inline void SetRole(const char* value) { m_role.assign(value); } /** *

The ARN of the execution role associated with the workspace.

*/ inline GetWorkspaceResult& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** *

The ARN of the execution role associated with the workspace.

*/ inline GetWorkspaceResult& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** *

The ARN of the execution role associated with the workspace.

*/ inline GetWorkspaceResult& WithRole(const char* value) { SetRole(value); return *this;} /** *

The date and time when the workspace was created.

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

The date and time when the workspace was created.

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

The date and time when the workspace was created.

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

The date and time when the workspace was created.

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

The date and time when the workspace was created.

*/ inline GetWorkspaceResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time when the workspace was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; } /** *

The date and time when the workspace was last updated.

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

The date and time when the workspace was last updated.

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

The date and time when the workspace was last updated.

*/ inline GetWorkspaceResult& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;} /** *

The date and time when the workspace was last updated.

*/ inline GetWorkspaceResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(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 GetWorkspaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWorkspaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWorkspaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_workspaceId; Aws::String m_arn; Aws::String m_description; Aws::String m_s3Location; Aws::String m_role; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_updateDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws