7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/model/Server.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sms/model/UserData.h>
11#include <aws/sms/model/S3Location.h>
12#include <aws/sms/model/ScriptType.h>
50 inline void SetServer(
const Server& value) { m_serverHasBeenSet =
true; m_server = value; }
51 inline void SetServer(
Server&& value) { m_serverHasBeenSet =
true; m_server = std::move(value); }
64 inline void SetLogicalId(
const char* value) { m_logicalIdHasBeenSet =
true; m_logicalId.assign(value); }
77 inline void SetVpc(
Aws::String&& value) { m_vpcHasBeenSet =
true; m_vpc = std::move(value); }
78 inline void SetVpc(
const char* value) { m_vpcHasBeenSet =
true; m_vpc.assign(value); }
92 inline void SetSubnet(
const char* value) { m_subnetHasBeenSet =
true; m_subnet.assign(value); }
106 inline void SetSecurityGroup(
const char* value) { m_securityGroupHasBeenSet =
true; m_securityGroup.assign(value); }
121 inline void SetEc2KeyName(
const char* value) { m_ec2KeyNameHasBeenSet =
true; m_ec2KeyName.assign(value); }
148 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
173 inline void SetIamInstanceProfileName(
const char* value) { m_iamInstanceProfileNameHasBeenSet =
true; m_iamInstanceProfileName.assign(value); }
203 bool m_serverHasBeenSet =
false;
206 bool m_logicalIdHasBeenSet =
false;
209 bool m_vpcHasBeenSet =
false;
212 bool m_subnetHasBeenSet =
false;
215 bool m_securityGroupHasBeenSet =
false;
218 bool m_ec2KeyNameHasBeenSet =
false;
221 bool m_userDataHasBeenSet =
false;
224 bool m_instanceTypeHasBeenSet =
false;
226 bool m_associatePublicIpAddress;
227 bool m_associatePublicIpAddressHasBeenSet =
false;
230 bool m_iamInstanceProfileNameHasBeenSet =
false;
233 bool m_configureScriptHasBeenSet =
false;
236 bool m_configureScriptTypeHasBeenSet =
false;
const Aws::String & GetSecurityGroup() const
void SetLogicalId(const char *value)
void SetVpc(const char *value)
ServerLaunchConfiguration & WithSecurityGroup(Aws::String &&value)
AWS_SMS_API ServerLaunchConfiguration(Aws::Utils::Json::JsonView jsonValue)
ServerLaunchConfiguration & WithInstanceType(Aws::String &&value)
ServerLaunchConfiguration & WithIamInstanceProfileName(Aws::String &&value)
void SetUserData(UserData &&value)
bool ConfigureScriptHasBeenSet() const
ServerLaunchConfiguration & WithUserData(const UserData &value)
void SetServer(const Server &value)
void SetSecurityGroup(const Aws::String &value)
const ScriptType & GetConfigureScriptType() const
bool SecurityGroupHasBeenSet() const
void SetLogicalId(Aws::String &&value)
ServerLaunchConfiguration & WithServer(Server &&value)
void SetAssociatePublicIpAddress(bool value)
bool IamInstanceProfileNameHasBeenSet() const
void SetConfigureScriptType(ScriptType &&value)
void SetInstanceType(Aws::String &&value)
ServerLaunchConfiguration & WithUserData(UserData &&value)
void SetUserData(const UserData &value)
ServerLaunchConfiguration & WithVpc(const Aws::String &value)
const Aws::String & GetEc2KeyName() const
ServerLaunchConfiguration & WithConfigureScriptType(ScriptType &&value)
const UserData & GetUserData() const
const Aws::String & GetVpc() const
AWS_SMS_API ServerLaunchConfiguration()
void SetEc2KeyName(const char *value)
bool LogicalIdHasBeenSet() const
AWS_SMS_API ServerLaunchConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConfigureScriptTypeHasBeenSet() const
ServerLaunchConfiguration & WithSubnet(Aws::String &&value)
ServerLaunchConfiguration & WithEc2KeyName(const Aws::String &value)
ServerLaunchConfiguration & WithVpc(const char *value)
void SetSecurityGroup(const char *value)
const Server & GetServer() const
bool InstanceTypeHasBeenSet() const
ServerLaunchConfiguration & WithAssociatePublicIpAddress(bool value)
void SetConfigureScriptType(const ScriptType &value)
void SetSubnet(const Aws::String &value)
ServerLaunchConfiguration & WithInstanceType(const Aws::String &value)
ServerLaunchConfiguration & WithConfigureScript(S3Location &&value)
ServerLaunchConfiguration & WithInstanceType(const char *value)
ServerLaunchConfiguration & WithEc2KeyName(const char *value)
const Aws::String & GetSubnet() const
ServerLaunchConfiguration & WithEc2KeyName(Aws::String &&value)
void SetEc2KeyName(Aws::String &&value)
ServerLaunchConfiguration & WithSubnet(const char *value)
ServerLaunchConfiguration & WithIamInstanceProfileName(const Aws::String &value)
void SetVpc(Aws::String &&value)
void SetSecurityGroup(Aws::String &&value)
void SetSubnet(Aws::String &&value)
ServerLaunchConfiguration & WithSubnet(const Aws::String &value)
const Aws::String & GetLogicalId() const
ServerLaunchConfiguration & WithLogicalId(Aws::String &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfigureScript(S3Location &&value)
ServerLaunchConfiguration & WithSecurityGroup(const Aws::String &value)
bool SubnetHasBeenSet() const
void SetConfigureScript(const S3Location &value)
bool AssociatePublicIpAddressHasBeenSet() const
bool Ec2KeyNameHasBeenSet() const
bool ServerHasBeenSet() const
void SetVpc(const Aws::String &value)
void SetInstanceType(const char *value)
bool GetAssociatePublicIpAddress() const
void SetServer(Server &&value)
ServerLaunchConfiguration & WithSecurityGroup(const char *value)
ServerLaunchConfiguration & WithServer(const Server &value)
ServerLaunchConfiguration & WithConfigureScript(const S3Location &value)
void SetSubnet(const char *value)
ServerLaunchConfiguration & WithConfigureScriptType(const ScriptType &value)
void SetIamInstanceProfileName(const char *value)
ServerLaunchConfiguration & WithVpc(Aws::String &&value)
ServerLaunchConfiguration & WithIamInstanceProfileName(const char *value)
bool VpcHasBeenSet() const
void SetInstanceType(const Aws::String &value)
void SetLogicalId(const Aws::String &value)
const Aws::String & GetInstanceType() const
bool UserDataHasBeenSet() const
void SetIamInstanceProfileName(const Aws::String &value)
void SetIamInstanceProfileName(Aws::String &&value)
ServerLaunchConfiguration & WithLogicalId(const Aws::String &value)
const S3Location & GetConfigureScript() const
const Aws::String & GetIamInstanceProfileName() const
ServerLaunchConfiguration & WithLogicalId(const char *value)
void SetEc2KeyName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue