7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/clouddirectory/model/IndexAttachment.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudDirectory
42 template<
typename IndexAttachmentsT = Aws::Vector<IndexAttachment>>
43 void SetIndexAttachments(IndexAttachmentsT&& value) { m_indexAttachmentsHasBeenSet =
true; m_indexAttachments = std::forward<IndexAttachmentsT>(value); }
44 template<
typename IndexAttachmentsT = Aws::Vector<IndexAttachment>>
46 template<
typename IndexAttachmentsT = IndexAttachment>
47 ListIndexResult&
AddIndexAttachments(IndexAttachmentsT&& value) { m_indexAttachmentsHasBeenSet =
true; m_indexAttachments.emplace_back(std::forward<IndexAttachmentsT>(value));
return *
this; }
55 template<
typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<
typename NextTokenT = Aws::String>
64 template<
typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
66 template<
typename RequestIdT = Aws::String>
72 bool m_indexAttachmentsHasBeenSet =
false;
75 bool m_nextTokenHasBeenSet =
false;
78 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
void SetIndexAttachments(IndexAttachmentsT &&value)
AWS_CLOUDDIRECTORY_API ListIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDDIRECTORY_API ListIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
ListIndexResult & WithRequestId(RequestIdT &&value)
ListIndexResult & WithIndexAttachments(IndexAttachmentsT &&value)
ListIndexResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
AWS_CLOUDDIRECTORY_API ListIndexResult()=default
ListIndexResult & AddIndexAttachments(IndexAttachmentsT &&value)
const Aws::Vector< IndexAttachment > & GetIndexAttachments() 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