AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BotNameT = Aws::String>
50 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
51 template<typename BotNameT = Aws::String>
52 GetUtterancesViewRequest& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetBotVersions() const { return m_botVersions; }
61 inline bool BotVersionsHasBeenSet() const { return m_botVersionsHasBeenSet; }
62 template<typename BotVersionsT = Aws::Vector<Aws::String>>
63 void SetBotVersions(BotVersionsT&& value) { m_botVersionsHasBeenSet = true; m_botVersions = std::forward<BotVersionsT>(value); }
64 template<typename BotVersionsT = Aws::Vector<Aws::String>>
65 GetUtterancesViewRequest& WithBotVersions(BotVersionsT&& value) { SetBotVersions(std::forward<BotVersionsT>(value)); return *this;}
66 template<typename BotVersionsT = Aws::String>
67 GetUtterancesViewRequest& AddBotVersions(BotVersionsT&& value) { m_botVersionsHasBeenSet = true; m_botVersions.emplace_back(std::forward<BotVersionsT>(value)); return *this; }
69
71
76 inline StatusType GetStatusType() const { return m_statusType; }
77 inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
78 inline void SetStatusType(StatusType value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
79 inline GetUtterancesViewRequest& WithStatusType(StatusType value) { SetStatusType(value); return *this;}
81 private:
82
83 Aws::String m_botName;
84 bool m_botNameHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_botVersions;
87 bool m_botVersionsHasBeenSet = false;
88
89 StatusType m_statusType{StatusType::NOT_SET};
90 bool m_statusTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace LexModelBuildingService
95} // namespace Aws
GetUtterancesViewRequest & WithBotVersions(BotVersionsT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewRequest()=default
AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUtterancesViewRequest & AddBotVersions(BotVersionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector