/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information about a workspace.See
* Also:
AWS
* API Reference
The ID of the workspace.
*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *The ID of the workspace.
*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *The ID of the workspace.
*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *The ID of the workspace.
*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *The ID of the workspace.
*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *The ID of the workspace.
*/ inline WorkspaceSummary& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *The ID of the workspace.
*/ inline WorkspaceSummary& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *The ID of the workspace.
*/ inline WorkspaceSummary& 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 bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the workspace.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the workspace.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the workspace.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the workspace.
*/ inline WorkspaceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the workspace.
*/ inline WorkspaceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the workspace.
*/ inline WorkspaceSummary& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the workspace.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the workspace.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the workspace.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the workspace.
*/ inline WorkspaceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the workspace.
*/ inline WorkspaceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the workspace.
*/ inline WorkspaceSummary& WithDescription(const char* value) { SetDescription(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 bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time when the workspace was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time when the workspace was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time when the workspace was created.
*/ inline WorkspaceSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time when the workspace was created.
*/ inline WorkspaceSummary& 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 bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; } /** *The date and time when the workspace was last updated.
*/ inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; } /** *The date and time when the workspace was last updated.
*/ inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); } /** *The date and time when the workspace was last updated.
*/ inline WorkspaceSummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;} /** *The date and time when the workspace was last updated.
*/ inline WorkspaceSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_updateDateTime; bool m_updateDateTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws