7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sms/model/Server.h>
48 template<
typename ServerGroupIdT = Aws::String>
49 void SetServerGroupId(ServerGroupIdT&& value) { m_serverGroupIdHasBeenSet =
true; m_serverGroupId = std::forward<ServerGroupIdT>(value); }
50 template<
typename ServerGroupIdT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename ServerListT = Aws::Vector<Server>>
73 void SetServerList(ServerListT&& value) { m_serverListHasBeenSet =
true; m_serverList = std::forward<ServerListT>(value); }
74 template<
typename ServerListT = Aws::Vector<Server>>
76 template<
typename ServerListT = Server>
77 ServerGroup&
AddServerList(ServerListT&& value) { m_serverListHasBeenSet =
true; m_serverList.emplace_back(std::forward<ServerListT>(value));
return *
this; }
82 bool m_serverGroupIdHasBeenSet =
false;
85 bool m_nameHasBeenSet =
false;
88 bool m_serverListHasBeenSet =
false;
ServerGroup & AddServerList(ServerListT &&value)
AWS_SMS_API ServerGroup()=default
bool NameHasBeenSet() const
void SetServerList(ServerListT &&value)
const Aws::String & GetName() const
const Aws::Vector< Server > & GetServerList() const
ServerGroup & WithServerGroupId(ServerGroupIdT &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServerGroupIdHasBeenSet() const
void SetServerGroupId(ServerGroupIdT &&value)
ServerGroup & WithServerList(ServerListT &&value)
const Aws::String & GetServerGroupId() const
AWS_SMS_API ServerGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ServerListHasBeenSet() const
void SetName(NameT &&value)
ServerGroup & WithName(NameT &&value)
AWS_SMS_API ServerGroup(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue