AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListAssociationsRequest.h
1
6#pragma once
7#include <aws/chatbot/ChatbotRequest.h>
8#include <aws/chatbot/Chatbot_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace chatbot {
15namespace Model {
16
20 public:
21 AWS_CHATBOT_API ListAssociationsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListAssociations"; }
28
29 AWS_CHATBOT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetChatConfiguration() const { return m_chatConfiguration; }
36 inline bool ChatConfigurationHasBeenSet() const { return m_chatConfigurationHasBeenSet; }
37 template <typename ChatConfigurationT = Aws::String>
38 void SetChatConfiguration(ChatConfigurationT&& value) {
39 m_chatConfigurationHasBeenSet = true;
40 m_chatConfiguration = std::forward<ChatConfigurationT>(value);
41 }
42 template <typename ChatConfigurationT = Aws::String>
43 ListAssociationsRequest& WithChatConfiguration(ChatConfigurationT&& value) {
44 SetChatConfiguration(std::forward<ChatConfigurationT>(value));
45 return *this;
46 }
48
50
55 inline int GetMaxResults() const { return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) {
58 m_maxResultsHasBeenSet = true;
59 m_maxResults = value;
60 }
62 SetMaxResults(value);
63 return *this;
64 }
66
68
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_chatConfiguration;
89
90 int m_maxResults{0};
91
92 Aws::String m_nextToken;
93 bool m_chatConfigurationHasBeenSet = false;
94 bool m_maxResultsHasBeenSet = false;
95 bool m_nextTokenHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace chatbot
100} // namespace Aws
ListAssociationsRequest & WithNextToken(NextTokenT &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetChatConfiguration(ChatConfigurationT &&value)
ListAssociationsRequest & WithChatConfiguration(ChatConfigurationT &&value)
ListAssociationsRequest & WithMaxResults(int value)
AWS_CHATBOT_API ListAssociationsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String