AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LaunchTemplateSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
47 public:
48 AWS_EKS_API LaunchTemplateSpecification() = default;
52
54
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetVersion() const { return m_version; }
80 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
81 template <typename VersionT = Aws::String>
82 void SetVersion(VersionT&& value) {
83 m_versionHasBeenSet = true;
84 m_version = std::forward<VersionT>(value);
85 }
86 template <typename VersionT = Aws::String>
88 SetVersion(std::forward<VersionT>(value));
89 return *this;
90 }
92
94
99 inline const Aws::String& GetId() const { return m_id; }
100 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
101 template <typename IdT = Aws::String>
102 void SetId(IdT&& value) {
103 m_idHasBeenSet = true;
104 m_id = std::forward<IdT>(value);
105 }
106 template <typename IdT = Aws::String>
108 SetId(std::forward<IdT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_name;
114
115 Aws::String m_version;
116
117 Aws::String m_id;
118 bool m_nameHasBeenSet = false;
119 bool m_versionHasBeenSet = false;
120 bool m_idHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace EKS
125} // namespace Aws
LaunchTemplateSpecification & WithName(NameT &&value)
AWS_EKS_API LaunchTemplateSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API LaunchTemplateSpecification()=default
LaunchTemplateSpecification & WithVersion(VersionT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchTemplateSpecification & WithId(IdT &&value)
AWS_EKS_API LaunchTemplateSpecification(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue