/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Launch configuration for a server group.See Also:
AWS
* API Reference
The ID of the server group with which the launch configuration is * associated.
*/ inline const Aws::String& GetServerGroupId() const{ return m_serverGroupId; } /** *The ID of the server group with which the launch configuration is * associated.
*/ inline bool ServerGroupIdHasBeenSet() const { return m_serverGroupIdHasBeenSet; } /** *The ID of the server group with which the launch configuration is * associated.
*/ inline void SetServerGroupId(const Aws::String& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = value; } /** *The ID of the server group with which the launch configuration is * associated.
*/ inline void SetServerGroupId(Aws::String&& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = std::move(value); } /** *The ID of the server group with which the launch configuration is * associated.
*/ inline void SetServerGroupId(const char* value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId.assign(value); } /** *The ID of the server group with which the launch configuration is * associated.
*/ inline ServerGroupLaunchConfiguration& WithServerGroupId(const Aws::String& value) { SetServerGroupId(value); return *this;} /** *The ID of the server group with which the launch configuration is * associated.
*/ inline ServerGroupLaunchConfiguration& WithServerGroupId(Aws::String&& value) { SetServerGroupId(std::move(value)); return *this;} /** *The ID of the server group with which the launch configuration is * associated.
*/ inline ServerGroupLaunchConfiguration& WithServerGroupId(const char* value) { SetServerGroupId(value); return *this;} /** *The launch order of servers in the server group.
*/ inline int GetLaunchOrder() const{ return m_launchOrder; } /** *The launch order of servers in the server group.
*/ inline bool LaunchOrderHasBeenSet() const { return m_launchOrderHasBeenSet; } /** *The launch order of servers in the server group.
*/ inline void SetLaunchOrder(int value) { m_launchOrderHasBeenSet = true; m_launchOrder = value; } /** *The launch order of servers in the server group.
*/ inline ServerGroupLaunchConfiguration& WithLaunchOrder(int value) { SetLaunchOrder(value); return *this;} /** *The launch configuration for servers in the server group.
*/ inline const Aws::VectorThe launch configuration for servers in the server group.
*/ inline bool ServerLaunchConfigurationsHasBeenSet() const { return m_serverLaunchConfigurationsHasBeenSet; } /** *The launch configuration for servers in the server group.
*/ inline void SetServerLaunchConfigurations(const Aws::VectorThe launch configuration for servers in the server group.
*/ inline void SetServerLaunchConfigurations(Aws::VectorThe launch configuration for servers in the server group.
*/ inline ServerGroupLaunchConfiguration& WithServerLaunchConfigurations(const Aws::VectorThe launch configuration for servers in the server group.
*/ inline ServerGroupLaunchConfiguration& WithServerLaunchConfigurations(Aws::VectorThe launch configuration for servers in the server group.
*/ inline ServerGroupLaunchConfiguration& AddServerLaunchConfigurations(const ServerLaunchConfiguration& value) { m_serverLaunchConfigurationsHasBeenSet = true; m_serverLaunchConfigurations.push_back(value); return *this; } /** *The launch configuration for servers in the server group.
*/ inline ServerGroupLaunchConfiguration& AddServerLaunchConfigurations(ServerLaunchConfiguration&& value) { m_serverLaunchConfigurationsHasBeenSet = true; m_serverLaunchConfigurations.push_back(std::move(value)); return *this; } private: Aws::String m_serverGroupId; bool m_serverGroupIdHasBeenSet = false; int m_launchOrder; bool m_launchOrderHasBeenSet = false; Aws::Vector