AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchPromptsResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECT_API SearchPromptsResult();
35
36
38
41 inline const Aws::Vector<Prompt>& GetPrompts() const{ return m_prompts; }
42 inline void SetPrompts(const Aws::Vector<Prompt>& value) { m_prompts = value; }
43 inline void SetPrompts(Aws::Vector<Prompt>&& value) { m_prompts = std::move(value); }
44 inline SearchPromptsResult& WithPrompts(const Aws::Vector<Prompt>& value) { SetPrompts(value); return *this;}
45 inline SearchPromptsResult& WithPrompts(Aws::Vector<Prompt>&& value) { SetPrompts(std::move(value)); return *this;}
46 inline SearchPromptsResult& AddPrompts(const Prompt& value) { m_prompts.push_back(value); return *this; }
47 inline SearchPromptsResult& AddPrompts(Prompt&& value) { m_prompts.push_back(std::move(value)); return *this; }
49
51
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
59 inline SearchPromptsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline SearchPromptsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline SearchPromptsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
68 inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; }
69 inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; }
70 inline SearchPromptsResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline SearchPromptsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline SearchPromptsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline SearchPromptsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::Vector<Prompt> m_prompts;
86
87 Aws::String m_nextToken;
88
89 long long m_approximateTotalCount;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
SearchPromptsResult & WithNextToken(Aws::String &&value)
SearchPromptsResult & WithNextToken(const char *value)
SearchPromptsResult & WithPrompts(const Aws::Vector< Prompt > &value)
SearchPromptsResult & WithRequestId(Aws::String &&value)
void SetNextToken(const Aws::String &value)
SearchPromptsResult & WithRequestId(const Aws::String &value)
AWS_CONNECT_API SearchPromptsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchPromptsResult & WithApproximateTotalCount(long long value)
SearchPromptsResult & AddPrompts(const Prompt &value)
SearchPromptsResult & WithPrompts(Aws::Vector< Prompt > &&value)
void SetRequestId(const Aws::String &value)
SearchPromptsResult & WithRequestId(const char *value)
void SetPrompts(const Aws::Vector< Prompt > &value)
const Aws::Vector< Prompt > & GetPrompts() const
SearchPromptsResult & WithNextToken(const Aws::String &value)
AWS_CONNECT_API SearchPromptsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPrompts(Aws::Vector< Prompt > &&value)
SearchPromptsResult & AddPrompts(Prompt &&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