7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sms/model/ServerGroupLaunchConfiguration.h>
45 template<
typename AppIdT = Aws::String>
46 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
47 template<
typename AppIdT = Aws::String>
58 template<
typename RoleNameT = Aws::String>
59 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
60 template<
typename RoleNameT = Aws::String>
71 inline void SetAutoLaunch(
bool value) { m_autoLaunchHasBeenSet =
true; m_autoLaunch = value; }
82 template<
typename ServerGroupLaunchConfigurationsT = Aws::Vector<ServerGroupLaunchConfiguration>>
83 void SetServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT&& value) { m_serverGroupLaunchConfigurationsHasBeenSet =
true; m_serverGroupLaunchConfigurations = std::forward<ServerGroupLaunchConfigurationsT>(value); }
84 template<
typename ServerGroupLaunchConfigurationsT = Aws::Vector<ServerGroupLaunchConfiguration>>
86 template<
typename ServerGroupLaunchConfigurationsT = ServerGroupLaunchConfiguration>
92 bool m_appIdHasBeenSet =
false;
95 bool m_roleNameHasBeenSet =
false;
97 bool m_autoLaunch{
false};
98 bool m_autoLaunchHasBeenSet =
false;
101 bool m_serverGroupLaunchConfigurationsHasBeenSet =
false;
const Aws::String & GetRoleName() const
PutAppLaunchConfigurationRequest & WithServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT &&value)
const Aws::String & GetAppId() const
void SetAutoLaunch(bool value)
bool AppIdHasBeenSet() const
AWS_SMS_API Aws::String SerializePayload() const override
const Aws::Vector< ServerGroupLaunchConfiguration > & GetServerGroupLaunchConfigurations() const
PutAppLaunchConfigurationRequest & WithAutoLaunch(bool value)
virtual const char * GetServiceRequestName() const override
PutAppLaunchConfigurationRequest & WithAppId(AppIdT &&value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAppLaunchConfigurationRequest & WithRoleName(RoleNameT &&value)
bool ServerGroupLaunchConfigurationsHasBeenSet() const
bool AutoLaunchHasBeenSet() const
bool RoleNameHasBeenSet() const
PutAppLaunchConfigurationRequest & AddServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT &&value)
bool GetAutoLaunch() const
AWS_SMS_API PutAppLaunchConfigurationRequest()=default
void SetAppId(AppIdT &&value)
void SetServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT &&value)
void SetRoleName(RoleNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector