AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
OSRelease.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMR {
20namespace Model {
21
28class OSRelease {
29 public:
30 AWS_EMR_API OSRelease() = default;
31 AWS_EMR_API OSRelease(Aws::Utils::Json::JsonView jsonValue);
34
36
42 inline const Aws::String& GetLabel() const { return m_label; }
43 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
44 template <typename LabelT = Aws::String>
45 void SetLabel(LabelT&& value) {
46 m_labelHasBeenSet = true;
47 m_label = std::forward<LabelT>(value);
48 }
49 template <typename LabelT = Aws::String>
50 OSRelease& WithLabel(LabelT&& value) {
51 SetLabel(std::forward<LabelT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_label;
57 bool m_labelHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace EMR
62} // namespace Aws
OSRelease & WithLabel(LabelT &&value)
Definition OSRelease.h:50
AWS_EMR_API OSRelease(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API OSRelease & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLabel(LabelT &&value)
Definition OSRelease.h:45
const Aws::String & GetLabel() const
Definition OSRelease.h:42
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API OSRelease()=default
bool LabelHasBeenSet() const
Definition OSRelease.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue