/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a resource.See Also:
AWS
* API Reference
The identifier of the resource.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the resource.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the resource.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the resource.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the resource.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the resource.
*/ inline ResourceDetail& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the resource.
*/ inline ResourceDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the resource.
*/ inline ResourceDetail& WithId(const char* value) { SetId(value); return *this;} /** *The ARN of the resource.
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The ARN of the resource.
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The ARN of the resource.
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The ARN of the resource.
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The ARN of the resource.
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The ARN of the resource.
*/ inline ResourceDetail& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The ARN of the resource.
*/ inline ResourceDetail& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The ARN of the resource.
*/ inline ResourceDetail& WithARN(const char* value) { SetARN(value); return *this;} /** *The name of the resource.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the resource.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the resource.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the resource.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the resource.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the resource.
*/ inline ResourceDetail& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the resource.
*/ inline ResourceDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the resource.
*/ inline ResourceDetail& WithName(const char* value) { SetName(value); return *this;} /** *The description of the resource.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the resource.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the resource.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the resource.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the resource.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the resource.
*/ inline ResourceDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the resource.
*/ inline ResourceDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the resource.
*/ inline ResourceDetail& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The creation time of the resource.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The creation time of the resource.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The creation time of the resource.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The creation time of the resource.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The creation time of the resource.
*/ inline ResourceDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The creation time of the resource.
*/ inline ResourceDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_aRN; bool m_aRNHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws