AWS SDK for C++  1.9.161
AWS SDK for C++
LaunchTemplateSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GameLift
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
48 
52  inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
53 
57  inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
58 
62  inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
63 
67  inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
68 
72  inline LaunchTemplateSpecification& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;}
73 
77  inline LaunchTemplateSpecification& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;}
78 
82  inline LaunchTemplateSpecification& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
83 
84 
88  inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
89 
93  inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
94 
98  inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
99 
103  inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
104 
108  inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
109 
113  inline LaunchTemplateSpecification& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;}
114 
118  inline LaunchTemplateSpecification& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;}
119 
123  inline LaunchTemplateSpecification& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;}
124 
125 
132  inline const Aws::String& GetVersion() const{ return m_version; }
133 
140  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
141 
148  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
149 
156  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
157 
164  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
165 
172  inline LaunchTemplateSpecification& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
173 
180  inline LaunchTemplateSpecification& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
181 
188  inline LaunchTemplateSpecification& WithVersion(const char* value) { SetVersion(value); return *this;}
189 
190  private:
191 
192  Aws::String m_launchTemplateId;
193  bool m_launchTemplateIdHasBeenSet;
194 
195  Aws::String m_launchTemplateName;
196  bool m_launchTemplateNameHasBeenSet;
197 
198  Aws::String m_version;
199  bool m_versionHasBeenSet;
200  };
201 
202 } // namespace Model
203 } // namespace GameLift
204 } // namespace Aws
Aws::GameLift::Model::LaunchTemplateSpecification::LaunchTemplateNameHasBeenSet
bool LaunchTemplateNameHasBeenSet() const
Definition: LaunchTemplateSpecification.h:93
Aws::GameLift::Model::LaunchTemplateSpecification::LaunchTemplateSpecification
LaunchTemplateSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::LaunchTemplateSpecification
Definition: LaunchTemplateSpecification.h:36
Aws::GameLift::Model::LaunchTemplateSpecification::SetLaunchTemplateName
void SetLaunchTemplateName(const char *value)
Definition: LaunchTemplateSpecification.h:108
Aws::GameLift::Model::LaunchTemplateSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::LaunchTemplateSpecification::WithLaunchTemplateId
LaunchTemplateSpecification & WithLaunchTemplateId(const Aws::String &value)
Definition: LaunchTemplateSpecification.h:72
Aws::GameLift::Model::LaunchTemplateSpecification::SetVersion
void SetVersion(const Aws::String &value)
Definition: LaunchTemplateSpecification.h:148
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::LaunchTemplateSpecification::LaunchTemplateSpecification
LaunchTemplateSpecification()
Aws::GameLift::Model::LaunchTemplateSpecification::SetLaunchTemplateName
void SetLaunchTemplateName(const Aws::String &value)
Definition: LaunchTemplateSpecification.h:98
Aws::GameLift::Model::LaunchTemplateSpecification::GetVersion
const Aws::String & GetVersion() const
Definition: LaunchTemplateSpecification.h:132
Aws::GameLift::Model::LaunchTemplateSpecification::GetLaunchTemplateName
const Aws::String & GetLaunchTemplateName() const
Definition: LaunchTemplateSpecification.h:88
Aws::GameLift::Model::LaunchTemplateSpecification::WithLaunchTemplateName
LaunchTemplateSpecification & WithLaunchTemplateName(Aws::String &&value)
Definition: LaunchTemplateSpecification.h:118
Aws::GameLift::Model::LaunchTemplateSpecification::WithLaunchTemplateId
LaunchTemplateSpecification & WithLaunchTemplateId(Aws::String &&value)
Definition: LaunchTemplateSpecification.h:77
GameLift_EXPORTS.h
Aws::GameLift::Model::LaunchTemplateSpecification::WithVersion
LaunchTemplateSpecification & WithVersion(const char *value)
Definition: LaunchTemplateSpecification.h:188
Aws::GameLift::Model::LaunchTemplateSpecification::SetLaunchTemplateId
void SetLaunchTemplateId(Aws::String &&value)
Definition: LaunchTemplateSpecification.h:62
Aws::GameLift::Model::LaunchTemplateSpecification::WithLaunchTemplateId
LaunchTemplateSpecification & WithLaunchTemplateId(const char *value)
Definition: LaunchTemplateSpecification.h:82
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GameLift::Model::LaunchTemplateSpecification::WithLaunchTemplateName
LaunchTemplateSpecification & WithLaunchTemplateName(const char *value)
Definition: LaunchTemplateSpecification.h:123
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::LaunchTemplateSpecification::SetLaunchTemplateName
void SetLaunchTemplateName(Aws::String &&value)
Definition: LaunchTemplateSpecification.h:103
Aws::GameLift::Model::LaunchTemplateSpecification::SetVersion
void SetVersion(Aws::String &&value)
Definition: LaunchTemplateSpecification.h:156
Aws::GameLift::Model::LaunchTemplateSpecification::operator=
LaunchTemplateSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::LaunchTemplateSpecification::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: LaunchTemplateSpecification.h:140
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::LaunchTemplateSpecification::SetVersion
void SetVersion(const char *value)
Definition: LaunchTemplateSpecification.h:164
Aws::GameLift::Model::LaunchTemplateSpecification::LaunchTemplateIdHasBeenSet
bool LaunchTemplateIdHasBeenSet() const
Definition: LaunchTemplateSpecification.h:52
Aws::GameLift::Model::LaunchTemplateSpecification::SetLaunchTemplateId
void SetLaunchTemplateId(const Aws::String &value)
Definition: LaunchTemplateSpecification.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::LaunchTemplateSpecification::WithLaunchTemplateName
LaunchTemplateSpecification & WithLaunchTemplateName(const Aws::String &value)
Definition: LaunchTemplateSpecification.h:113
Aws::GameLift::Model::LaunchTemplateSpecification::WithVersion
LaunchTemplateSpecification & WithVersion(Aws::String &&value)
Definition: LaunchTemplateSpecification.h:180
Aws::GameLift::Model::LaunchTemplateSpecification::SetLaunchTemplateId
void SetLaunchTemplateId(const char *value)
Definition: LaunchTemplateSpecification.h:67
Aws::GameLift::Model::LaunchTemplateSpecification::WithVersion
LaunchTemplateSpecification & WithVersion(const Aws::String &value)
Definition: LaunchTemplateSpecification.h:172
Aws::GameLift::Model::LaunchTemplateSpecification::GetLaunchTemplateId
const Aws::String & GetLaunchTemplateId() const
Definition: LaunchTemplateSpecification.h:47