/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The template summary.See Also:
AWS
* API Reference
A summary of a template.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *A summary of a template.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *A summary of a template.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *A summary of a template.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *A summary of a template.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *A summary of a template.
*/ inline TemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *A summary of a template.
*/ inline TemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *A summary of a template.
*/ inline TemplateSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline const Aws::String& GetTemplateId() const{ return m_templateId; } /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; } /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; } /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); } /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); } /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline TemplateSummary& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline TemplateSummary& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} /** *The ID of the template. This ID is unique per Amazon Web Services Region for * each Amazon Web Services account.
*/ inline TemplateSummary& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} /** *A display name for the template.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A display name for the template.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A display name for the template.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A display name for the template.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A display name for the template.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A display name for the template.
*/ inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A display name for the template.
*/ inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A display name for the template.
*/ inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;} /** *A structure containing a list of version numbers for the template * summary.
*/ inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; } /** *A structure containing a list of version numbers for the template * summary.
*/ inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; } /** *A structure containing a list of version numbers for the template * summary.
*/ inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; } /** *A structure containing a list of version numbers for the template * summary.
*/ inline TemplateSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;} /** *The last time that this template was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The last time that this template was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The last time that this template was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The last time that this template was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The last time that this template was created.
*/ inline TemplateSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The last time that this template was created.
*/ inline TemplateSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The last time that this template was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The last time that this template was updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The last time that this template was updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The last time that this template was updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The last time that this template was updated.
*/ inline TemplateSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The last time that this template was updated.
*/ inline TemplateSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_templateId; bool m_templateIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; long long m_latestVersionNumber; bool m_latestVersionNumberHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws