AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LaunchTemplateSpecification.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EKS
22{
23namespace Model
24{
25
51 {
52 public:
53 AWS_EKS_API LaunchTemplateSpecification() = default;
57
58
60
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 LaunchTemplateSpecification& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
83 template<typename VersionT = Aws::String>
84 LaunchTemplateSpecification& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
86
88
93 inline const Aws::String& GetId() const { return m_id; }
94 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
95 template<typename IdT = Aws::String>
96 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
97 template<typename IdT = Aws::String>
98 LaunchTemplateSpecification& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
100 private:
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::String m_version;
106 bool m_versionHasBeenSet = false;
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EKS
114} // 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