AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RuntimeVersion.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Synthetics
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_SYNTHETICS_API RuntimeVersion() = default;
39 AWS_SYNTHETICS_API RuntimeVersion(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SYNTHETICS_API RuntimeVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetVersionName() const { return m_versionName; }
51 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
52 template<typename VersionNameT = Aws::String>
53 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
54 template<typename VersionNameT = Aws::String>
55 RuntimeVersion& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 RuntimeVersion& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetReleaseDate() const { return m_releaseDate; }
75 inline bool ReleaseDateHasBeenSet() const { return m_releaseDateHasBeenSet; }
76 template<typename ReleaseDateT = Aws::Utils::DateTime>
77 void SetReleaseDate(ReleaseDateT&& value) { m_releaseDateHasBeenSet = true; m_releaseDate = std::forward<ReleaseDateT>(value); }
78 template<typename ReleaseDateT = Aws::Utils::DateTime>
79 RuntimeVersion& WithReleaseDate(ReleaseDateT&& value) { SetReleaseDate(std::forward<ReleaseDateT>(value)); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetDeprecationDate() const { return m_deprecationDate; }
88 inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
89 template<typename DeprecationDateT = Aws::Utils::DateTime>
90 void SetDeprecationDate(DeprecationDateT&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::forward<DeprecationDateT>(value); }
91 template<typename DeprecationDateT = Aws::Utils::DateTime>
92 RuntimeVersion& WithDeprecationDate(DeprecationDateT&& value) { SetDeprecationDate(std::forward<DeprecationDateT>(value)); return *this;}
94 private:
95
96 Aws::String m_versionName;
97 bool m_versionNameHasBeenSet = false;
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 Aws::Utils::DateTime m_releaseDate{};
103 bool m_releaseDateHasBeenSet = false;
104
105 Aws::Utils::DateTime m_deprecationDate{};
106 bool m_deprecationDateHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Synthetics
111} // namespace Aws
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeVersion & WithVersionName(VersionNameT &&value)
RuntimeVersion & WithDeprecationDate(DeprecationDateT &&value)
void SetDeprecationDate(DeprecationDateT &&value)
AWS_SYNTHETICS_API RuntimeVersion()=default
RuntimeVersion & WithReleaseDate(ReleaseDateT &&value)
const Aws::String & GetVersionName() const
RuntimeVersion & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetReleaseDate() const
AWS_SYNTHETICS_API RuntimeVersion(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseDate(ReleaseDateT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetVersionName(VersionNameT &&value)
AWS_SYNTHETICS_API RuntimeVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetDeprecationDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue