7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/sms/model/ServerCatalogStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/sms/model/Server.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
45 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet =
true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
46 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
64 template<
typename ServerListT = Aws::Vector<Server>>
65 void SetServerList(ServerListT&& value) { m_serverListHasBeenSet =
true; m_serverList = std::forward<ServerListT>(value); }
66 template<
typename ServerListT = Aws::Vector<Server>>
68 template<
typename ServerListT = Server>
69 GetServersResult&
AddServerList(ServerListT&& value) { m_serverListHasBeenSet =
true; m_serverList.emplace_back(std::forward<ServerListT>(value));
return *
this; }
78 template<
typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
80 template<
typename NextTokenT = Aws::String>
87 template<
typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
89 template<
typename RequestIdT = Aws::String>
95 bool m_lastModifiedOnHasBeenSet =
false;
98 bool m_serverCatalogStatusHasBeenSet =
false;
101 bool m_serverListHasBeenSet =
false;
104 bool m_nextTokenHasBeenSet =
false;
107 bool m_requestIdHasBeenSet =
false;
AWS_SMS_API GetServersResult()=default
const Aws::Vector< Server > & GetServerList() const
void SetNextToken(NextTokenT &&value)
void SetServerList(ServerListT &&value)
void SetServerCatalogStatus(ServerCatalogStatus value)
GetServersResult & WithRequestId(RequestIdT &&value)
GetServersResult & WithNextToken(NextTokenT &&value)
GetServersResult & WithServerList(ServerListT &&value)
GetServersResult & WithServerCatalogStatus(ServerCatalogStatus value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
GetServersResult & AddServerList(ServerListT &&value)
AWS_SMS_API GetServersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ServerCatalogStatus GetServerCatalogStatus() const
const Aws::String & GetRequestId() const
GetServersResult & WithLastModifiedOn(LastModifiedOnT &&value)
const Aws::Utils::DateTime & GetLastModifiedOn() const
void SetLastModifiedOn(LastModifiedOnT &&value)
AWS_SMS_API GetServersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue