AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SimplifiedApplication.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
29 public:
30 AWS_EMR_API SimplifiedApplication() = default;
34
36
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetVersion() const { return m_version; }
60 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
61 template <typename VersionT = Aws::String>
62 void SetVersion(VersionT&& value) {
63 m_versionHasBeenSet = true;
64 m_version = std::forward<VersionT>(value);
65 }
66 template <typename VersionT = Aws::String>
68 SetVersion(std::forward<VersionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_name;
74
75 Aws::String m_version;
76 bool m_nameHasBeenSet = false;
77 bool m_versionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EMR
82} // namespace Aws
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
SimplifiedApplication & WithVersion(VersionT &&value)
AWS_EMR_API SimplifiedApplication()=default
SimplifiedApplication & WithName(NameT &&value)
AWS_EMR_API SimplifiedApplication(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API SimplifiedApplication & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue