AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FastLaunchLaunchTemplateSpecification.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_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 imagebuilder
22{
23namespace Model
24{
25
36 {
37 public:
41 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
50 inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
51 inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
52 inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
53 inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
56 inline FastLaunchLaunchTemplateSpecification& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
58
60
64 inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
65 inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
66 inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
67 inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
68 inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
73
75
79 inline const Aws::String& GetLaunchTemplateVersion() const{ return m_launchTemplateVersion; }
80 inline bool LaunchTemplateVersionHasBeenSet() const { return m_launchTemplateVersionHasBeenSet; }
81 inline void SetLaunchTemplateVersion(const Aws::String& value) { m_launchTemplateVersionHasBeenSet = true; m_launchTemplateVersion = value; }
82 inline void SetLaunchTemplateVersion(Aws::String&& value) { m_launchTemplateVersionHasBeenSet = true; m_launchTemplateVersion = std::move(value); }
83 inline void SetLaunchTemplateVersion(const char* value) { m_launchTemplateVersionHasBeenSet = true; m_launchTemplateVersion.assign(value); }
88 private:
89
90 Aws::String m_launchTemplateId;
91 bool m_launchTemplateIdHasBeenSet = false;
92
93 Aws::String m_launchTemplateName;
94 bool m_launchTemplateNameHasBeenSet = false;
95
96 Aws::String m_launchTemplateVersion;
97 bool m_launchTemplateVersionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace imagebuilder
102} // namespace Aws
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateVersion(const Aws::String &value)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateName(const Aws::String &value)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateId(const char *value)
AWS_IMAGEBUILDER_API FastLaunchLaunchTemplateSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateName(Aws::String &&value)
AWS_IMAGEBUILDER_API FastLaunchLaunchTemplateSpecification(Aws::Utils::Json::JsonView jsonValue)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateId(const Aws::String &value)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateId(Aws::String &&value)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateVersion(Aws::String &&value)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateName(const char *value)
FastLaunchLaunchTemplateSpecification & WithLaunchTemplateVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue