7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/security-ir/model/ListCasesItem.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename NextTokenT = Aws::String>
44 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
45 template<
typename NextTokenT = Aws::String>
56 template<
typename ItemsT = Aws::Vector<ListCasesItem>>
57 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
58 template<
typename ItemsT = Aws::Vector<ListCasesItem>>
60 template<
typename ItemsT = ListCasesItem>
61 ListCasesResult&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
68 inline long long GetTotal()
const {
return m_total; }
69 inline void SetTotal(
long long value) { m_totalHasBeenSet =
true; m_total = value; }
76 template<
typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
78 template<
typename RequestIdT = Aws::String>
84 bool m_nextTokenHasBeenSet =
false;
87 bool m_itemsHasBeenSet =
false;
90 bool m_totalHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
void SetItems(ItemsT &&value)
ListCasesResult & AddItems(ItemsT &&value)
void SetRequestId(RequestIdT &&value)
ListCasesResult & WithNextToken(NextTokenT &&value)
ListCasesResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYIR_API ListCasesResult()=default
void SetTotal(long long value)
AWS_SECURITYIR_API ListCasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYIR_API ListCasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListCasesResult & WithTotal(long long value)
long long GetTotal() const
const Aws::Vector< ListCasesItem > & GetItems() const
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
ListCasesResult & WithItems(ItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue