AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
53 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
54 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
55 inline RuntimeVersion& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
56 inline RuntimeVersion& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
57 inline RuntimeVersion& WithVersionName(const char* value) { SetVersionName(value); return *this;}
59
61
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline RuntimeVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline RuntimeVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline RuntimeVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetReleaseDate() const{ return m_releaseDate; }
79 inline bool ReleaseDateHasBeenSet() const { return m_releaseDateHasBeenSet; }
80 inline void SetReleaseDate(const Aws::Utils::DateTime& value) { m_releaseDateHasBeenSet = true; m_releaseDate = value; }
81 inline void SetReleaseDate(Aws::Utils::DateTime&& value) { m_releaseDateHasBeenSet = true; m_releaseDate = std::move(value); }
82 inline RuntimeVersion& WithReleaseDate(const Aws::Utils::DateTime& value) { SetReleaseDate(value); return *this;}
83 inline RuntimeVersion& WithReleaseDate(Aws::Utils::DateTime&& value) { SetReleaseDate(std::move(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetDeprecationDate() const{ return m_deprecationDate; }
92 inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
93 inline void SetDeprecationDate(const Aws::Utils::DateTime& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = value; }
94 inline void SetDeprecationDate(Aws::Utils::DateTime&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::move(value); }
95 inline RuntimeVersion& WithDeprecationDate(const Aws::Utils::DateTime& value) { SetDeprecationDate(value); return *this;}
96 inline RuntimeVersion& WithDeprecationDate(Aws::Utils::DateTime&& value) { SetDeprecationDate(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_versionName;
101 bool m_versionNameHasBeenSet = false;
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::Utils::DateTime m_releaseDate;
107 bool m_releaseDateHasBeenSet = false;
108
109 Aws::Utils::DateTime m_deprecationDate;
110 bool m_deprecationDateHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Synthetics
115} // namespace Aws
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeVersion & WithDeprecationDate(Aws::Utils::DateTime &&value)
RuntimeVersion & WithDeprecationDate(const Aws::Utils::DateTime &value)
void SetDeprecationDate(Aws::Utils::DateTime &&value)
RuntimeVersion & WithDescription(const Aws::String &value)
RuntimeVersion & WithDescription(Aws::String &&value)
RuntimeVersion & WithVersionName(const Aws::String &value)
const Aws::String & GetVersionName() const
RuntimeVersion & WithVersionName(const char *value)
void SetVersionName(Aws::String &&value)
void SetDeprecationDate(const Aws::Utils::DateTime &value)
void SetVersionName(const char *value)
const Aws::Utils::DateTime & GetReleaseDate() const
void SetDescription(const Aws::String &value)
void SetReleaseDate(const Aws::Utils::DateTime &value)
AWS_SYNTHETICS_API RuntimeVersion(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseDate(Aws::Utils::DateTime &&value)
void SetDescription(const char *value)
RuntimeVersion & WithVersionName(Aws::String &&value)
RuntimeVersion & WithDescription(const char *value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
void SetVersionName(const Aws::String &value)
AWS_SYNTHETICS_API RuntimeVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetDeprecationDate() const
RuntimeVersion & WithReleaseDate(const Aws::Utils::DateTime &value)
RuntimeVersion & WithReleaseDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue