This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-synthetics/include/aws/synthetics/model/RuntimeVersion.h

227 lines
8.3 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/synthetics/Synthetics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Synthetics
{
namespace Model
{
/**
* <p>This structure contains information about one canary runtime version. For
* more information about runtime versions, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
* Canary Runtime Versions</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/RuntimeVersion">AWS
* API Reference</a></p>
*/
class AWS_SYNTHETICS_API RuntimeVersion
{
public:
RuntimeVersion();
RuntimeVersion(Aws::Utils::Json::JsonView jsonValue);
RuntimeVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline const Aws::String& GetVersionName() const{ return m_versionName; }
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline RuntimeVersion& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline RuntimeVersion& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
/**
* <p>The name of the runtime version. Currently, the only valid value is
* <code>syn-1.0</code>. </p> <p>Specifies the runtime version to use for the
* canary. Currently, the only valid value is <code>syn-1.0</code>.</p>
*/
inline RuntimeVersion& WithVersionName(const char* value) { SetVersionName(value); return *this;}
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline RuntimeVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline RuntimeVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>A description of the runtime version, created by Amazon.</p>
*/
inline RuntimeVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The date that the runtime version was released.</p>
*/
inline const Aws::Utils::DateTime& GetReleaseDate() const{ return m_releaseDate; }
/**
* <p>The date that the runtime version was released.</p>
*/
inline bool ReleaseDateHasBeenSet() const { return m_releaseDateHasBeenSet; }
/**
* <p>The date that the runtime version was released.</p>
*/
inline void SetReleaseDate(const Aws::Utils::DateTime& value) { m_releaseDateHasBeenSet = true; m_releaseDate = value; }
/**
* <p>The date that the runtime version was released.</p>
*/
inline void SetReleaseDate(Aws::Utils::DateTime&& value) { m_releaseDateHasBeenSet = true; m_releaseDate = std::move(value); }
/**
* <p>The date that the runtime version was released.</p>
*/
inline RuntimeVersion& WithReleaseDate(const Aws::Utils::DateTime& value) { SetReleaseDate(value); return *this;}
/**
* <p>The date that the runtime version was released.</p>
*/
inline RuntimeVersion& WithReleaseDate(Aws::Utils::DateTime&& value) { SetReleaseDate(std::move(value)); return *this;}
/**
* <p>If this runtime version is deprecated, this value is the date of
* deprecation.</p>
*/
inline const Aws::Utils::DateTime& GetDeprecationDate() const{ return m_deprecationDate; }
/**
* <p>If this runtime version is deprecated, this value is the date of
* deprecation.</p>
*/
inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
/**
* <p>If this runtime version is deprecated, this value is the date of
* deprecation.</p>
*/
inline void SetDeprecationDate(const Aws::Utils::DateTime& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = value; }
/**
* <p>If this runtime version is deprecated, this value is the date of
* deprecation.</p>
*/
inline void SetDeprecationDate(Aws::Utils::DateTime&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::move(value); }
/**
* <p>If this runtime version is deprecated, this value is the date of
* deprecation.</p>
*/
inline RuntimeVersion& WithDeprecationDate(const Aws::Utils::DateTime& value) { SetDeprecationDate(value); return *this;}
/**
* <p>If this runtime version is deprecated, this value is the date of
* deprecation.</p>
*/
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