AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GetChatMessagesRequest.h
1
6#pragma once
7#include <aws/assurance/AssuranceRequest.h>
8#include <aws/assurance/Assurance_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Assurance {
15namespace Model {
16
20 public:
21 AWS_ASSURANCE_API GetChatMessagesRequest() = 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 "GetChatMessages"; }
28
29 AWS_ASSURANCE_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
38 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
39 template <typename EnvironmentArnT = Aws::String>
40 void SetEnvironmentArn(EnvironmentArnT&& value) {
41 m_environmentArnHasBeenSet = true;
42 m_environmentArn = std::forward<EnvironmentArnT>(value);
43 }
44 template <typename EnvironmentArnT = Aws::String>
45 GetChatMessagesRequest& WithEnvironmentArn(EnvironmentArnT&& value) {
46 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetSessionId() const { return m_sessionId; }
56 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
57 template <typename SessionIdT = Aws::String>
58 void SetSessionId(SessionIdT&& value) {
59 m_sessionIdHasBeenSet = true;
60 m_sessionId = std::forward<SessionIdT>(value);
61 }
62 template <typename SessionIdT = Aws::String>
64 SetSessionId(std::forward<SessionIdT>(value));
65 return *this;
66 }
68
70
75 inline int GetMaxResults() const { return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) {
78 m_maxResultsHasBeenSet = true;
79 m_maxResults = value;
80 }
82 SetMaxResults(value);
83 return *this;
84 }
86
88
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template <typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) {
97 m_nextTokenHasBeenSet = true;
98 m_nextToken = std::forward<NextTokenT>(value);
99 }
100 template <typename NextTokenT = Aws::String>
102 SetNextToken(std::forward<NextTokenT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_environmentArn;
108
109 Aws::String m_sessionId;
110
111 int m_maxResults{0};
112
113 Aws::String m_nextToken;
114 bool m_environmentArnHasBeenSet = false;
115 bool m_sessionIdHasBeenSet = false;
116 bool m_maxResultsHasBeenSet = false;
117 bool m_nextTokenHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Assurance
122} // namespace Aws
GetChatMessagesRequest & WithMaxResults(int value)
GetChatMessagesRequest & WithEnvironmentArn(EnvironmentArnT &&value)
GetChatMessagesRequest & WithNextToken(NextTokenT &&value)
GetChatMessagesRequest & WithSessionId(SessionIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_ASSURANCE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ASSURANCE_API Aws::String SerializePayload() const override
AWS_ASSURANCE_API GetChatMessagesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String