/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This structure contains information about one canary runtime version. For
* more information about runtime versions, see
* Canary Runtime Versions.See Also:
AWS
* API Reference
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
The name of the runtime version. Currently, the only valid value is
* syn-1.0.
Specifies the runtime version to use for the
* canary. Currently, the only valid value is syn-1.0.
A description of the runtime version, created by Amazon.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the runtime version, created by Amazon.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the runtime version, created by Amazon.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the runtime version, created by Amazon.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the runtime version, created by Amazon.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the runtime version, created by Amazon.
*/ inline RuntimeVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the runtime version, created by Amazon.
*/ inline RuntimeVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the runtime version, created by Amazon.
*/ inline RuntimeVersion& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The date that the runtime version was released.
*/ inline const Aws::Utils::DateTime& GetReleaseDate() const{ return m_releaseDate; } /** *The date that the runtime version was released.
*/ inline bool ReleaseDateHasBeenSet() const { return m_releaseDateHasBeenSet; } /** *The date that the runtime version was released.
*/ inline void SetReleaseDate(const Aws::Utils::DateTime& value) { m_releaseDateHasBeenSet = true; m_releaseDate = value; } /** *The date that the runtime version was released.
*/ inline void SetReleaseDate(Aws::Utils::DateTime&& value) { m_releaseDateHasBeenSet = true; m_releaseDate = std::move(value); } /** *The date that the runtime version was released.
*/ inline RuntimeVersion& WithReleaseDate(const Aws::Utils::DateTime& value) { SetReleaseDate(value); return *this;} /** *The date that the runtime version was released.
*/ inline RuntimeVersion& WithReleaseDate(Aws::Utils::DateTime&& value) { SetReleaseDate(std::move(value)); return *this;} /** *If this runtime version is deprecated, this value is the date of * deprecation.
*/ inline const Aws::Utils::DateTime& GetDeprecationDate() const{ return m_deprecationDate; } /** *If this runtime version is deprecated, this value is the date of * deprecation.
*/ inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; } /** *If this runtime version is deprecated, this value is the date of * deprecation.
*/ inline void SetDeprecationDate(const Aws::Utils::DateTime& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = value; } /** *If this runtime version is deprecated, this value is the date of * deprecation.
*/ inline void SetDeprecationDate(Aws::Utils::DateTime&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::move(value); } /** *If this runtime version is deprecated, this value is the date of * deprecation.
*/ inline RuntimeVersion& WithDeprecationDate(const Aws::Utils::DateTime& value) { SetDeprecationDate(value); return *this;} /** *If this runtime version is deprecated, this value is the date of * deprecation.
*/ inline RuntimeVersion& WithDeprecationDate(Aws::Utils::DateTime&& value) { SetDeprecationDate(std::move(value)); return *this;} private: Aws::String m_versionName; bool m_versionNameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Aws::Utils::DateTime m_releaseDate; bool m_releaseDateHasBeenSet; Aws::Utils::DateTime m_deprecationDate; bool m_deprecationDateHasBeenSet; }; } // namespace Model } // namespace Synthetics } // namespace Aws