AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
RuntimeVersion.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Synthetics {
21namespace Model {
22
32 public:
33 AWS_SYNTHETICS_API RuntimeVersion() = default;
34 AWS_SYNTHETICS_API RuntimeVersion(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SYNTHETICS_API RuntimeVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetVersionName() const { return m_versionName; }
45 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
46 template <typename VersionNameT = Aws::String>
47 void SetVersionName(VersionNameT&& value) {
48 m_versionNameHasBeenSet = true;
49 m_versionName = std::forward<VersionNameT>(value);
50 }
51 template <typename VersionNameT = Aws::String>
52 RuntimeVersion& WithVersionName(VersionNameT&& value) {
53 SetVersionName(std::forward<VersionNameT>(value));
54 return *this;
55 }
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) {
66 m_descriptionHasBeenSet = true;
67 m_description = std::forward<DescriptionT>(value);
68 }
69 template <typename DescriptionT = Aws::String>
70 RuntimeVersion& WithDescription(DescriptionT&& value) {
71 SetDescription(std::forward<DescriptionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetReleaseDate() const { return m_releaseDate; }
81 inline bool ReleaseDateHasBeenSet() const { return m_releaseDateHasBeenSet; }
82 template <typename ReleaseDateT = Aws::Utils::DateTime>
83 void SetReleaseDate(ReleaseDateT&& value) {
84 m_releaseDateHasBeenSet = true;
85 m_releaseDate = std::forward<ReleaseDateT>(value);
86 }
87 template <typename ReleaseDateT = Aws::Utils::DateTime>
88 RuntimeVersion& WithReleaseDate(ReleaseDateT&& value) {
89 SetReleaseDate(std::forward<ReleaseDateT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::Utils::DateTime& GetDeprecationDate() const { return m_deprecationDate; }
100 inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
101 template <typename DeprecationDateT = Aws::Utils::DateTime>
102 void SetDeprecationDate(DeprecationDateT&& value) {
103 m_deprecationDateHasBeenSet = true;
104 m_deprecationDate = std::forward<DeprecationDateT>(value);
105 }
106 template <typename DeprecationDateT = Aws::Utils::DateTime>
107 RuntimeVersion& WithDeprecationDate(DeprecationDateT&& value) {
108 SetDeprecationDate(std::forward<DeprecationDateT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_versionName;
114
115 Aws::String m_description;
116
117 Aws::Utils::DateTime m_releaseDate{};
118
119 Aws::Utils::DateTime m_deprecationDate{};
120 bool m_versionNameHasBeenSet = false;
121 bool m_descriptionHasBeenSet = false;
122 bool m_releaseDateHasBeenSet = false;
123 bool m_deprecationDateHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Synthetics
128} // 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