7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/model/MonitorSummary.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
48 template<
typename NextTokenT = Aws::String>
49 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
50 template<
typename NextTokenT = Aws::String>
60 template<
typename MonitorsT = Aws::Vector<MonitorSummary>>
61 void SetMonitors(MonitorsT&& value) { m_monitorsHasBeenSet =
true; m_monitors = std::forward<MonitorsT>(value); }
62 template<
typename MonitorsT = Aws::Vector<MonitorSummary>>
64 template<
typename MonitorsT = MonitorSummary>
65 ListMonitorsResult&
AddMonitors(MonitorsT&& value) { m_monitorsHasBeenSet =
true; m_monitors.emplace_back(std::forward<MonitorsT>(value));
return *
this; }
71 template<
typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
73 template<
typename RequestIdT = Aws::String>
79 bool m_nextTokenHasBeenSet =
false;
82 bool m_monitorsHasBeenSet =
false;
85 bool m_requestIdHasBeenSet =
false;
void SetMonitors(MonitorsT &&value)
void SetNextToken(NextTokenT &&value)
ListMonitorsResult & AddMonitors(MonitorsT &&value)
AWS_DEADLINE_API ListMonitorsResult()=default
ListMonitorsResult & WithMonitors(MonitorsT &&value)
AWS_DEADLINE_API ListMonitorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEADLINE_API ListMonitorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListMonitorsResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
ListMonitorsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< MonitorSummary > & GetMonitors() const
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue