7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/ThingDocument.h>
12#include <aws/iot/model/ThingGroupDocument.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
56 template <
typename ThingsT = Aws::Vector<ThingDocument>>
58 m_thingsHasBeenSet =
true;
59 m_things = std::forward<ThingsT>(value);
61 template <
typename ThingsT = Aws::Vector<ThingDocument>>
66 template <
typename ThingsT = ThingDocument>
68 m_thingsHasBeenSet =
true;
69 m_things.emplace_back(std::forward<ThingsT>(value));
79 template <
typename ThingGroupsT = Aws::Vector<ThingGroupDocument>>
81 m_thingGroupsHasBeenSet =
true;
82 m_thingGroups = std::forward<ThingGroupsT>(value);
84 template <
typename ThingGroupsT = Aws::Vector<ThingGroupDocument>>
89 template <
typename ThingGroupsT = ThingGroupDocument>
91 m_thingGroupsHasBeenSet =
true;
92 m_thingGroups.emplace_back(std::forward<ThingGroupsT>(value));
100 template <
typename RequestIdT = Aws::String>
102 m_requestIdHasBeenSet =
true;
103 m_requestId = std::forward<RequestIdT>(value);
105 template <
typename RequestIdT = Aws::String>
122 bool m_nextTokenHasBeenSet =
false;
123 bool m_thingsHasBeenSet =
false;
124 bool m_thingGroupsHasBeenSet =
false;
125 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::Vector< ThingDocument > & GetThings() const
void SetRequestId(RequestIdT &&value)
void SetThingGroups(ThingGroupsT &&value)
const Aws::Vector< ThingGroupDocument > & GetThingGroups() const
AWS_IOT_API SearchIndexResult()=default
const Aws::String & GetNextToken() const
SearchIndexResult & WithRequestId(RequestIdT &&value)
SearchIndexResult & WithThings(ThingsT &&value)
AWS_IOT_API SearchIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchIndexResult & AddThingGroups(ThingGroupsT &&value)
const Aws::String & GetRequestId() const
void SetThings(ThingsT &&value)
SearchIndexResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_IOT_API SearchIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchIndexResult & WithThingGroups(ThingGroupsT &&value)
SearchIndexResult & AddThings(ThingsT &&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