/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains project summary information.See Also:
AWS
* API Reference
The ID of the project.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the project.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the project.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the project.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the project.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the project.
*/ inline ProjectSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the project.
*/ inline ProjectSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the project.
*/ inline ProjectSummary& WithId(const char* value) { SetId(value); return *this;} /** *The name of the project.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the project.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the project.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the project.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the project.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the project.
*/ inline ProjectSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the project.
*/ inline ProjectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the project.
*/ inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;} /** *The project's description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The project's description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The project's description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The project's description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The project's description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The project's description.
*/ inline ProjectSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The project's description.
*/ inline ProjectSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The project's description.
*/ inline ProjectSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The date the project was created, in Unix epoch time.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date the project was created, in Unix epoch time.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date the project was created, in Unix epoch time.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date the project was created, in Unix epoch time.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date the project was created, in Unix epoch time.
*/ inline ProjectSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date the project was created, in Unix epoch time.
*/ inline ProjectSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date the project was last updated, in Unix epoch time.
*/ inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; } /** *The date the project was last updated, in Unix epoch time.
*/ inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; } /** *The date the project was last updated, in Unix epoch time.
*/ inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; } /** *The date the project was last updated, in Unix epoch time.
*/ inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); } /** *The date the project was last updated, in Unix epoch time.
*/ inline ProjectSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;} /** *The date the project was last updated, in Unix epoch time.
*/ inline ProjectSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateDate; bool m_lastUpdateDateHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws