7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/Prompt.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename PromptsT = Aws::Vector<Prompt>>
43 void SetPrompts(PromptsT&& value) { m_promptsHasBeenSet =
true; m_prompts = std::forward<PromptsT>(value); }
44 template<
typename PromptsT = Aws::Vector<Prompt>>
46 template<
typename PromptsT = Prompt>
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>
67 inline void SetApproximateTotalCount(
long long value) { m_approximateTotalCountHasBeenSet =
true; m_approximateTotalCount = value; }
74 template<
typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
76 template<
typename RequestIdT = Aws::String>
82 bool m_promptsHasBeenSet =
false;
85 bool m_nextTokenHasBeenSet =
false;
87 long long m_approximateTotalCount{0};
88 bool m_approximateTotalCountHasBeenSet =
false;
91 bool m_requestIdHasBeenSet =
false;
SearchPromptsResult & AddPrompts(PromptsT &&value)
AWS_CONNECT_API SearchPromptsResult()=default
void SetApproximateTotalCount(long long value)
void SetRequestId(RequestIdT &&value)
long long GetApproximateTotalCount() const
void SetPrompts(PromptsT &&value)
SearchPromptsResult & WithNextToken(NextTokenT &&value)
SearchPromptsResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API SearchPromptsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
SearchPromptsResult & WithApproximateTotalCount(long long value)
const Aws::String & GetNextToken() const
const Aws::Vector< Prompt > & GetPrompts() const
AWS_CONNECT_API SearchPromptsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
SearchPromptsResult & WithPrompts(PromptsT &&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