7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ActiveViolation.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename ActiveViolationsT = Aws::Vector<ActiveViolation>>
43 void SetActiveViolations(ActiveViolationsT&& value) { m_activeViolationsHasBeenSet =
true; m_activeViolations = std::forward<ActiveViolationsT>(value); }
44 template<
typename ActiveViolationsT = Aws::Vector<ActiveViolation>>
46 template<
typename ActiveViolationsT = ActiveViolation>
56 template<
typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<
typename NextTokenT = Aws::String>
65 template<
typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
67 template<
typename RequestIdT = Aws::String>
73 bool m_activeViolationsHasBeenSet =
false;
76 bool m_nextTokenHasBeenSet =
false;
79 bool m_requestIdHasBeenSet =
false;
AWS_IOT_API ListActiveViolationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API ListActiveViolationsResult()=default
AWS_IOT_API ListActiveViolationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListActiveViolationsResult & WithNextToken(NextTokenT &&value)
ListActiveViolationsResult & AddActiveViolations(ActiveViolationsT &&value)
void SetActiveViolations(ActiveViolationsT &&value)
const Aws::String & GetNextToken() const
ListActiveViolationsResult & WithActiveViolations(ActiveViolationsT &&value)
ListActiveViolationsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ActiveViolation > & GetActiveViolations() 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