/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information for a template.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the template.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the template.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the template.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the template.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the template.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the template.
*/ inline TemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the template.
*/ inline TemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the template.
*/ inline TemplateSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The time, in milliseconds since the epoch, when the template was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time, in milliseconds since the epoch, when the template was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the template was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time, in milliseconds since the epoch, when the template was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the template was created.
*/ inline TemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the template was created.
*/ inline TemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time, in milliseconds since the epoch, when the template was last * updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The time, in milliseconds since the epoch, when the template was last * updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the template was last * updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The time, in milliseconds since the epoch, when the template was last * updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the template was last * updated.
*/ inline TemplateSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the template was last * updated.
*/ inline TemplateSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The name of the template.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the template.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the template.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the template.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the template.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the template.
*/ inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the template.
*/ inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the template.
*/ inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;} /** *The version of the template that you're using.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the template that you're using.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the template that you're using.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the template that you're using.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the template that you're using.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the template that you're using.
*/ inline TemplateSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the template that you're using.
*/ inline TemplateSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the template that you're using.
*/ inline TemplateSummary& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws