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/gamelift/GameLift_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 GameLift
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_GAMELIFT_API LaunchTemplateSpecification();
41 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
49 inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
50 inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
51 inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
52 inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
54 inline LaunchTemplateSpecification& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;}
55 inline LaunchTemplateSpecification& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
57
59
62 inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
63 inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
64 inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
65 inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
66 inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
68 inline LaunchTemplateSpecification& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;}
69 inline LaunchTemplateSpecification& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;}
71
73
79 inline const Aws::String& GetVersion() const{ return m_version; }
80 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
81 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
82 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
83 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
84 inline LaunchTemplateSpecification& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
85 inline LaunchTemplateSpecification& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
86 inline LaunchTemplateSpecification& WithVersion(const char* value) { SetVersion(value); return *this;}
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_version;
97 bool m_versionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace GameLift
102} // namespace Aws
LaunchTemplateSpecification & WithVersion(const char *value)
LaunchTemplateSpecification & WithVersion(const Aws::String &value)
LaunchTemplateSpecification & WithLaunchTemplateId(const Aws::String &value)
LaunchTemplateSpecification & WithVersion(Aws::String &&value)
AWS_GAMELIFT_API LaunchTemplateSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API LaunchTemplateSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchTemplateSpecification & WithLaunchTemplateId(const char *value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchTemplateSpecification & WithLaunchTemplateName(const Aws::String &value)
LaunchTemplateSpecification & WithLaunchTemplateName(const char *value)
LaunchTemplateSpecification & WithLaunchTemplateId(Aws::String &&value)
LaunchTemplateSpecification & WithLaunchTemplateName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue