/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Logical grouping of servers.See Also:
AWS API
* Reference
The ID of a server group.
*/ inline const Aws::String& GetServerGroupId() const{ return m_serverGroupId; } /** *The ID of a server group.
*/ inline bool ServerGroupIdHasBeenSet() const { return m_serverGroupIdHasBeenSet; } /** *The ID of a server group.
*/ inline void SetServerGroupId(const Aws::String& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = value; } /** *The ID of a server group.
*/ inline void SetServerGroupId(Aws::String&& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = std::move(value); } /** *The ID of a server group.
*/ inline void SetServerGroupId(const char* value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId.assign(value); } /** *The ID of a server group.
*/ inline ServerGroup& WithServerGroupId(const Aws::String& value) { SetServerGroupId(value); return *this;} /** *The ID of a server group.
*/ inline ServerGroup& WithServerGroupId(Aws::String&& value) { SetServerGroupId(std::move(value)); return *this;} /** *The ID of a server group.
*/ inline ServerGroup& WithServerGroupId(const char* value) { SetServerGroupId(value); return *this;} /** *The name of a server group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a server group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a server group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a server group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a server group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a server group.
*/ inline ServerGroup& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a server group.
*/ inline ServerGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a server group.
*/ inline ServerGroup& WithName(const char* value) { SetName(value); return *this;} /** *The servers that belong to a server group.
*/ inline const Aws::VectorThe servers that belong to a server group.
*/ inline bool ServerListHasBeenSet() const { return m_serverListHasBeenSet; } /** *The servers that belong to a server group.
*/ inline void SetServerList(const Aws::VectorThe servers that belong to a server group.
*/ inline void SetServerList(Aws::VectorThe servers that belong to a server group.
*/ inline ServerGroup& WithServerList(const Aws::VectorThe servers that belong to a server group.
*/ inline ServerGroup& WithServerList(Aws::VectorThe servers that belong to a server group.
*/ inline ServerGroup& AddServerList(const Server& value) { m_serverListHasBeenSet = true; m_serverList.push_back(value); return *this; } /** *The servers that belong to a server group.
*/ inline ServerGroup& AddServerList(Server&& value) { m_serverListHasBeenSet = true; m_serverList.push_back(std::move(value)); return *this; } private: Aws::String m_serverGroupId; bool m_serverGroupIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector