AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListIndicesResult.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOT_API ListIndicesResult() = default;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetIndexNames() const { return m_indexNames; }
41 template<typename IndexNamesT = Aws::Vector<Aws::String>>
42 void SetIndexNames(IndexNamesT&& value) { m_indexNamesHasBeenSet = true; m_indexNames = std::forward<IndexNamesT>(value); }
43 template<typename IndexNamesT = Aws::Vector<Aws::String>>
44 ListIndicesResult& WithIndexNames(IndexNamesT&& value) { SetIndexNames(std::forward<IndexNamesT>(value)); return *this;}
45 template<typename IndexNamesT = Aws::String>
46 ListIndicesResult& AddIndexNames(IndexNamesT&& value) { m_indexNamesHasBeenSet = true; m_indexNames.emplace_back(std::forward<IndexNamesT>(value)); return *this; }
48
50
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
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>
58 ListIndicesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
67 ListIndicesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_indexNames;
72 bool m_indexNamesHasBeenSet = false;
73
74 Aws::String m_nextToken;
75 bool m_nextTokenHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoT
83} // namespace Aws
void SetRequestId(RequestIdT &&value)
void SetIndexNames(IndexNamesT &&value)
AWS_IOT_API ListIndicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetIndexNames() const
void SetNextToken(NextTokenT &&value)
AWS_IOT_API ListIndicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListIndicesResult & AddIndexNames(IndexNamesT &&value)
ListIndicesResult & WithRequestId(RequestIdT &&value)
ListIndicesResult & WithIndexNames(IndexNamesT &&value)
AWS_IOT_API ListIndicesResult()=default
ListIndicesResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() 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