AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUtterancesViewRequest.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/LexModelBuildingServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lex-models/model/StatusType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace LexModelBuildingService
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetUtterancesView"; }
37
38 AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override;
39
40 AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetBotName() const{ return m_botName; }
48 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
49 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
50 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
51 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
52 inline GetUtterancesViewRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
53 inline GetUtterancesViewRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
54 inline GetUtterancesViewRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetBotVersions() const{ return m_botVersions; }
63 inline bool BotVersionsHasBeenSet() const { return m_botVersionsHasBeenSet; }
64 inline void SetBotVersions(const Aws::Vector<Aws::String>& value) { m_botVersionsHasBeenSet = true; m_botVersions = value; }
65 inline void SetBotVersions(Aws::Vector<Aws::String>&& value) { m_botVersionsHasBeenSet = true; m_botVersions = std::move(value); }
67 inline GetUtterancesViewRequest& WithBotVersions(Aws::Vector<Aws::String>&& value) { SetBotVersions(std::move(value)); return *this;}
68 inline GetUtterancesViewRequest& AddBotVersions(const Aws::String& value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(value); return *this; }
69 inline GetUtterancesViewRequest& AddBotVersions(Aws::String&& value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(std::move(value)); return *this; }
70 inline GetUtterancesViewRequest& AddBotVersions(const char* value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(value); return *this; }
72
74
79 inline const StatusType& GetStatusType() const{ return m_statusType; }
80 inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
81 inline void SetStatusType(const StatusType& value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
82 inline void SetStatusType(StatusType&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); }
83 inline GetUtterancesViewRequest& WithStatusType(const StatusType& value) { SetStatusType(value); return *this;}
84 inline GetUtterancesViewRequest& WithStatusType(StatusType&& value) { SetStatusType(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_botName;
89 bool m_botNameHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_botVersions;
92 bool m_botVersionsHasBeenSet = false;
93
94 StatusType m_statusType;
95 bool m_statusTypeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace LexModelBuildingService
100} // namespace Aws
GetUtterancesViewRequest & AddBotVersions(const char *value)
GetUtterancesViewRequest & WithStatusType(StatusType &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewRequest()
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
GetUtterancesViewRequest & WithBotName(const Aws::String &value)
void SetBotVersions(const Aws::Vector< Aws::String > &value)
GetUtterancesViewRequest & WithBotVersions(Aws::Vector< Aws::String > &&value)
GetUtterancesViewRequest & WithStatusType(const StatusType &value)
AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUtterancesViewRequest & AddBotVersions(const Aws::String &value)
GetUtterancesViewRequest & WithBotName(Aws::String &&value)
GetUtterancesViewRequest & WithBotVersions(const Aws::Vector< Aws::String > &value)
GetUtterancesViewRequest & AddBotVersions(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector