AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchTemplateSpecification.h
1
6#pragma once
7#include <aws/batch/Batch_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 Batch
22{
23namespace Model
24{
25
39 {
40 public:
44 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
52 inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
53 inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
54 inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
55 inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
57 inline LaunchTemplateSpecification& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;}
58 inline LaunchTemplateSpecification& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
60
62
65 inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
66 inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
67 inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
68 inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
69 inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
71 inline LaunchTemplateSpecification& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;}
72 inline LaunchTemplateSpecification& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;}
74
76
95 inline const Aws::String& GetVersion() const{ return m_version; }
96 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
97 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
98 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
99 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
100 inline LaunchTemplateSpecification& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
101 inline LaunchTemplateSpecification& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
102 inline LaunchTemplateSpecification& WithVersion(const char* value) { SetVersion(value); return *this;}
104 private:
105
106 Aws::String m_launchTemplateId;
107 bool m_launchTemplateIdHasBeenSet = false;
108
109 Aws::String m_launchTemplateName;
110 bool m_launchTemplateNameHasBeenSet = false;
111
112 Aws::String m_version;
113 bool m_versionHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Batch
118} // namespace Aws
LaunchTemplateSpecification & WithLaunchTemplateName(const Aws::String &value)
LaunchTemplateSpecification & WithLaunchTemplateName(Aws::String &&value)
LaunchTemplateSpecification & WithLaunchTemplateName(const char *value)
LaunchTemplateSpecification & WithLaunchTemplateId(const Aws::String &value)
LaunchTemplateSpecification & WithLaunchTemplateId(Aws::String &&value)
LaunchTemplateSpecification & WithLaunchTemplateId(const char *value)
AWS_BATCH_API LaunchTemplateSpecification(Aws::Utils::Json::JsonView jsonValue)
LaunchTemplateSpecification & WithVersion(Aws::String &&value)
LaunchTemplateSpecification & WithVersion(const char *value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API LaunchTemplateSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchTemplateSpecification & WithVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue