AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchSessionsRequest.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/SearchExpression.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace ConnectWisdomService
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECTWISDOMSERVICE_API SearchSessionsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "SearchSessions"; }
36
37 AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECTWISDOMSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
48 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
49 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
50 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
51 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
52 inline SearchSessionsRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
53 inline SearchSessionsRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
54 inline SearchSessionsRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
56
58
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline SearchSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline SearchSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline SearchSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline SearchSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
86 inline const SearchExpression& GetSearchExpression() const{ return m_searchExpression; }
87 inline bool SearchExpressionHasBeenSet() const { return m_searchExpressionHasBeenSet; }
88 inline void SetSearchExpression(const SearchExpression& value) { m_searchExpressionHasBeenSet = true; m_searchExpression = value; }
89 inline void SetSearchExpression(SearchExpression&& value) { m_searchExpressionHasBeenSet = true; m_searchExpression = std::move(value); }
91 inline SearchSessionsRequest& WithSearchExpression(SearchExpression&& value) { SetSearchExpression(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_assistantId;
96 bool m_assistantIdHasBeenSet = false;
97
98 int m_maxResults;
99 bool m_maxResultsHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103
104 SearchExpression m_searchExpression;
105 bool m_searchExpressionHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ConnectWisdomService
110} // namespace Aws
SearchSessionsRequest & WithSearchExpression(const SearchExpression &value)
SearchSessionsRequest & WithNextToken(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CONNECTWISDOMSERVICE_API SearchSessionsRequest()
virtual const char * GetServiceRequestName() const override
SearchSessionsRequest & WithNextToken(Aws::String &&value)
SearchSessionsRequest & WithAssistantId(const char *value)
SearchSessionsRequest & WithAssistantId(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
SearchSessionsRequest & WithAssistantId(const Aws::String &value)
SearchSessionsRequest & WithNextToken(const char *value)
SearchSessionsRequest & WithSearchExpression(SearchExpression &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String