AWS SDK for C++  1.9.40
AWS SDK for C++
GetUtterancesViewRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace LexModelBuildingService
21 {
22 namespace Model
23 {
24 
28  {
29  public:
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::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
46  inline const Aws::String& GetBotName() const{ return m_botName; }
47 
51  inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
52 
56  inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
57 
61  inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
62 
66  inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
67 
71  inline GetUtterancesViewRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
72 
76  inline GetUtterancesViewRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
77 
81  inline GetUtterancesViewRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
82 
83 
88  inline const Aws::Vector<Aws::String>& GetBotVersions() const{ return m_botVersions; }
89 
94  inline bool BotVersionsHasBeenSet() const { return m_botVersionsHasBeenSet; }
95 
100  inline void SetBotVersions(const Aws::Vector<Aws::String>& value) { m_botVersionsHasBeenSet = true; m_botVersions = value; }
101 
106  inline void SetBotVersions(Aws::Vector<Aws::String>&& value) { m_botVersionsHasBeenSet = true; m_botVersions = std::move(value); }
107 
112  inline GetUtterancesViewRequest& WithBotVersions(const Aws::Vector<Aws::String>& value) { SetBotVersions(value); return *this;}
113 
118  inline GetUtterancesViewRequest& WithBotVersions(Aws::Vector<Aws::String>&& value) { SetBotVersions(std::move(value)); return *this;}
119 
124  inline GetUtterancesViewRequest& AddBotVersions(const Aws::String& value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(value); return *this; }
125 
130  inline GetUtterancesViewRequest& AddBotVersions(Aws::String&& value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(std::move(value)); return *this; }
131 
136  inline GetUtterancesViewRequest& AddBotVersions(const char* value) { m_botVersionsHasBeenSet = true; m_botVersions.push_back(value); return *this; }
137 
138 
144  inline const StatusType& GetStatusType() const{ return m_statusType; }
145 
151  inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
152 
158  inline void SetStatusType(const StatusType& value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
159 
165  inline void SetStatusType(StatusType&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); }
166 
172  inline GetUtterancesViewRequest& WithStatusType(const StatusType& value) { SetStatusType(value); return *this;}
173 
179  inline GetUtterancesViewRequest& WithStatusType(StatusType&& value) { SetStatusType(std::move(value)); return *this;}
180 
181  private:
182 
183  Aws::String m_botName;
184  bool m_botNameHasBeenSet;
185 
186  Aws::Vector<Aws::String> m_botVersions;
187  bool m_botVersionsHasBeenSet;
188 
189  StatusType m_statusType;
190  bool m_statusTypeHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace LexModelBuildingService
195 } // namespace Aws
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithBotVersions
GetUtterancesViewRequest & WithBotVersions(Aws::Vector< Aws::String > &&value)
Definition: GetUtterancesViewRequest.h:118
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithStatusType
GetUtterancesViewRequest & WithStatusType(const StatusType &value)
Definition: GetUtterancesViewRequest.h:172
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::GetBotVersions
const Aws::Vector< Aws::String > & GetBotVersions() const
Definition: GetUtterancesViewRequest.h:88
Aws::Http::URI
Definition: URI.h:32
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetStatusType
void SetStatusType(StatusType &&value)
Definition: GetUtterancesViewRequest.h:165
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetBotName
void SetBotName(const char *value)
Definition: GetUtterancesViewRequest.h:66
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetBotName
void SetBotName(const Aws::String &value)
Definition: GetUtterancesViewRequest.h:56
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithBotName
GetUtterancesViewRequest & WithBotName(const char *value)
Definition: GetUtterancesViewRequest.h:81
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetStatusType
void SetStatusType(const StatusType &value)
Definition: GetUtterancesViewRequest.h:158
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetBotVersions
void SetBotVersions(const Aws::Vector< Aws::String > &value)
Definition: GetUtterancesViewRequest.h:100
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::GetBotName
const Aws::String & GetBotName() const
Definition: GetUtterancesViewRequest.h:46
LexModelBuildingServiceRequest.h
Aws::LexModelBuildingService::LexModelBuildingServiceRequest
Definition: LexModelBuildingServiceRequest.h:17
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::BotVersionsHasBeenSet
bool BotVersionsHasBeenSet() const
Definition: GetUtterancesViewRequest.h:94
AWSVector.h
Aws::LexModelBuildingService::Model::StatusType
StatusType
Definition: StatusType.h:17
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetBotName
void SetBotName(Aws::String &&value)
Definition: GetUtterancesViewRequest.h:61
AWSString.h
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
StatusType.h
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::SetBotVersions
void SetBotVersions(Aws::Vector< Aws::String > &&value)
Definition: GetUtterancesViewRequest.h:106
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::AddBotVersions
GetUtterancesViewRequest & AddBotVersions(const Aws::String &value)
Definition: GetUtterancesViewRequest.h:124
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::AddBotVersions
GetUtterancesViewRequest & AddBotVersions(Aws::String &&value)
Definition: GetUtterancesViewRequest.h:130
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest
Definition: GetUtterancesViewRequest.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithBotName
GetUtterancesViewRequest & WithBotName(const Aws::String &value)
Definition: GetUtterancesViewRequest.h:71
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetUtterancesViewRequest.h:36
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithBotVersions
GetUtterancesViewRequest & WithBotVersions(const Aws::Vector< Aws::String > &value)
Definition: GetUtterancesViewRequest.h:112
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithStatusType
GetUtterancesViewRequest & WithStatusType(StatusType &&value)
Definition: GetUtterancesViewRequest.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::GetStatusType
const StatusType & GetStatusType() const
Definition: GetUtterancesViewRequest.h:144
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::WithBotName
GetUtterancesViewRequest & WithBotName(Aws::String &&value)
Definition: GetUtterancesViewRequest.h:76
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::GetUtterancesViewRequest
GetUtterancesViewRequest()
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::StatusTypeHasBeenSet
bool StatusTypeHasBeenSet() const
Definition: GetUtterancesViewRequest.h:151
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::AddBotVersions
GetUtterancesViewRequest & AddBotVersions(const char *value)
Definition: GetUtterancesViewRequest.h:136
Aws::LexModelBuildingService::Model::GetUtterancesViewRequest::BotNameHasBeenSet
bool BotNameHasBeenSet() const
Definition: GetUtterancesViewRequest.h:51