AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostContentRequest.h
1
6#pragma once
7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/lex/LexRuntimeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LexRuntimeService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LEXRUNTIMESERVICE_API PostContentRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PostContent"; }
32
33 AWS_LEXRUNTIMESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
35 AWS_LEXRUNTIMESERVICE_API bool SignBody() const override { return false; }
36
37
39
42 inline const Aws::String& GetBotName() const{ return m_botName; }
43 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
44 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
45 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
46 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
47 inline PostContentRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
48 inline PostContentRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
49 inline PostContentRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
51
53
56 inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
57 inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; }
58 inline void SetBotAlias(const Aws::String& value) { m_botAliasHasBeenSet = true; m_botAlias = value; }
59 inline void SetBotAlias(Aws::String&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::move(value); }
60 inline void SetBotAlias(const char* value) { m_botAliasHasBeenSet = true; m_botAlias.assign(value); }
61 inline PostContentRequest& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
62 inline PostContentRequest& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
63 inline PostContentRequest& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
65
67
85 inline const Aws::String& GetUserId() const{ return m_userId; }
86 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
87 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
88 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
89 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
90 inline PostContentRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
91 inline PostContentRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
92 inline PostContentRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
94
96
106 inline const Aws::String& GetSessionAttributes() const{ return m_sessionAttributes; }
107 inline bool SessionAttributesHasBeenSet() const { return m_sessionAttributesHasBeenSet; }
108 inline void SetSessionAttributes(const Aws::String& value) { m_sessionAttributesHasBeenSet = true; m_sessionAttributes = value; }
109 inline void SetSessionAttributes(Aws::String&& value) { m_sessionAttributesHasBeenSet = true; m_sessionAttributes = std::move(value); }
110 inline void SetSessionAttributes(const char* value) { m_sessionAttributesHasBeenSet = true; m_sessionAttributes.assign(value); }
111 inline PostContentRequest& WithSessionAttributes(const Aws::String& value) { SetSessionAttributes(value); return *this;}
112 inline PostContentRequest& WithSessionAttributes(Aws::String&& value) { SetSessionAttributes(std::move(value)); return *this;}
113 inline PostContentRequest& WithSessionAttributes(const char* value) { SetSessionAttributes(value); return *this;}
115
117
129 inline const Aws::String& GetRequestAttributes() const{ return m_requestAttributes; }
130 inline bool RequestAttributesHasBeenSet() const { return m_requestAttributesHasBeenSet; }
131 inline void SetRequestAttributes(const Aws::String& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = value; }
132 inline void SetRequestAttributes(Aws::String&& value) { m_requestAttributesHasBeenSet = true; m_requestAttributes = std::move(value); }
133 inline void SetRequestAttributes(const char* value) { m_requestAttributesHasBeenSet = true; m_requestAttributes.assign(value); }
134 inline PostContentRequest& WithRequestAttributes(const Aws::String& value) { SetRequestAttributes(value); return *this;}
135 inline PostContentRequest& WithRequestAttributes(Aws::String&& value) { SetRequestAttributes(std::move(value)); return *this;}
136 inline PostContentRequest& WithRequestAttributes(const char* value) { SetRequestAttributes(value); return *this;}
138
140
157 inline const Aws::String& GetAccept() const{ return m_accept; }
158 inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
159 inline void SetAccept(const Aws::String& value) { m_acceptHasBeenSet = true; m_accept = value; }
160 inline void SetAccept(Aws::String&& value) { m_acceptHasBeenSet = true; m_accept = std::move(value); }
161 inline void SetAccept(const char* value) { m_acceptHasBeenSet = true; m_accept.assign(value); }
162 inline PostContentRequest& WithAccept(const Aws::String& value) { SetAccept(value); return *this;}
163 inline PostContentRequest& WithAccept(Aws::String&& value) { SetAccept(std::move(value)); return *this;}
164 inline PostContentRequest& WithAccept(const char* value) { SetAccept(value); return *this;}
166
168
175 inline const Aws::String& GetActiveContexts() const{ return m_activeContexts; }
176 inline bool ActiveContextsHasBeenSet() const { return m_activeContextsHasBeenSet; }
177 inline void SetActiveContexts(const Aws::String& value) { m_activeContextsHasBeenSet = true; m_activeContexts = value; }
178 inline void SetActiveContexts(Aws::String&& value) { m_activeContextsHasBeenSet = true; m_activeContexts = std::move(value); }
179 inline void SetActiveContexts(const char* value) { m_activeContextsHasBeenSet = true; m_activeContexts.assign(value); }
180 inline PostContentRequest& WithActiveContexts(const Aws::String& value) { SetActiveContexts(value); return *this;}
181 inline PostContentRequest& WithActiveContexts(Aws::String&& value) { SetActiveContexts(std::move(value)); return *this;}
182 inline PostContentRequest& WithActiveContexts(const char* value) { SetActiveContexts(value); return *this;}
184 private:
185
186 Aws::String m_botName;
187 bool m_botNameHasBeenSet = false;
188
189 Aws::String m_botAlias;
190 bool m_botAliasHasBeenSet = false;
191
192 Aws::String m_userId;
193 bool m_userIdHasBeenSet = false;
194
195 Aws::String m_sessionAttributes;
196 bool m_sessionAttributesHasBeenSet = false;
197
198 Aws::String m_requestAttributes;
199 bool m_requestAttributesHasBeenSet = false;
200
201 Aws::String m_accept;
202 bool m_acceptHasBeenSet = false;
203
204
205 Aws::String m_activeContexts;
206 bool m_activeContextsHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace LexRuntimeService
211} // namespace Aws
void SetBotAlias(Aws::String &&value)
void SetBotName(const Aws::String &value)
bool BotAliasHasBeenSet() const
PostContentRequest & WithActiveContexts(const char *value)
void SetRequestAttributes(Aws::String &&value)
void SetUserId(const char *value)
PostContentRequest & WithSessionAttributes(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API PostContentRequest()
PostContentRequest & WithBotName(const Aws::String &value)
bool ActiveContextsHasBeenSet() const
void SetUserId(Aws::String &&value)
void SetBotName(Aws::String &&value)
PostContentRequest & WithActiveContexts(const Aws::String &value)
void SetBotAlias(const Aws::String &value)
PostContentRequest & WithRequestAttributes(const char *value)
PostContentRequest & WithAccept(Aws::String &&value)
PostContentRequest & WithBotAlias(const char *value)
void SetSessionAttributes(Aws::String &&value)
void SetAccept(Aws::String &&value)
void SetUserId(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetSessionAttributes() const
PostContentRequest & WithUserId(const char *value)
PostContentRequest & WithBotName(const char *value)
bool RequestAttributesHasBeenSet() const
void SetBotAlias(const char *value)
bool BotNameHasBeenSet() const
void SetSessionAttributes(const Aws::String &value)
bool AcceptHasBeenSet() const
const Aws::String & GetBotName() const
bool SessionAttributesHasBeenSet() const
PostContentRequest & WithRequestAttributes(const Aws::String &value)
void SetSessionAttributes(const char *value)
PostContentRequest & WithUserId(const Aws::String &value)
const Aws::String & GetRequestAttributes() const
PostContentRequest & WithUserId(Aws::String &&value)
const Aws::String & GetActiveContexts() const
void SetRequestAttributes(const char *value)
PostContentRequest & WithSessionAttributes(Aws::String &&value)
const Aws::String & GetBotAlias() const
void SetAccept(const Aws::String &value)
PostContentRequest & WithBotName(Aws::String &&value)
const Aws::String & GetAccept() const
bool UserIdHasBeenSet() const
PostContentRequest & WithAccept(const Aws::String &value)
void SetActiveContexts(const Aws::String &value)
const Aws::String & GetUserId() const
void SetRequestAttributes(const Aws::String &value)
PostContentRequest & WithSessionAttributes(const char *value)
PostContentRequest & WithAccept(const char *value)
PostContentRequest & WithBotAlias(const Aws::String &value)
void SetAccept(const char *value)
PostContentRequest & WithRequestAttributes(Aws::String &&value)
void SetBotName(const char *value)
PostContentRequest & WithBotAlias(Aws::String &&value)
void SetActiveContexts(Aws::String &&value)
void SetActiveContexts(const char *value)
AWS_LEXRUNTIMESERVICE_API bool SignBody() const override
virtual const char * GetServiceRequestName() const override
PostContentRequest & WithActiveContexts(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String