AWS SDK for C++  1.9.159
AWS SDK for C++
DisassociateLexBotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Connect
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DisassociateLexBot"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 
51  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
52 
57  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 
63  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
64 
69  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
70 
75  inline DisassociateLexBotRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
76 
81  inline DisassociateLexBotRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
82 
87  inline DisassociateLexBotRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
88 
89 
93  inline const Aws::String& GetBotName() const{ return m_botName; }
94 
98  inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
99 
103  inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
104 
108  inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
109 
113  inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
114 
118  inline DisassociateLexBotRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
119 
123  inline DisassociateLexBotRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
124 
128  inline DisassociateLexBotRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
129 
130 
134  inline const Aws::String& GetLexRegion() const{ return m_lexRegion; }
135 
139  inline bool LexRegionHasBeenSet() const { return m_lexRegionHasBeenSet; }
140 
144  inline void SetLexRegion(const Aws::String& value) { m_lexRegionHasBeenSet = true; m_lexRegion = value; }
145 
149  inline void SetLexRegion(Aws::String&& value) { m_lexRegionHasBeenSet = true; m_lexRegion = std::move(value); }
150 
154  inline void SetLexRegion(const char* value) { m_lexRegionHasBeenSet = true; m_lexRegion.assign(value); }
155 
159  inline DisassociateLexBotRequest& WithLexRegion(const Aws::String& value) { SetLexRegion(value); return *this;}
160 
164  inline DisassociateLexBotRequest& WithLexRegion(Aws::String&& value) { SetLexRegion(std::move(value)); return *this;}
165 
169  inline DisassociateLexBotRequest& WithLexRegion(const char* value) { SetLexRegion(value); return *this;}
170 
171  private:
172 
173  Aws::String m_instanceId;
174  bool m_instanceIdHasBeenSet;
175 
176  Aws::String m_botName;
177  bool m_botNameHasBeenSet;
178 
179  Aws::String m_lexRegion;
180  bool m_lexRegionHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace Connect
185 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::DisassociateLexBotRequest::WithLexRegion
DisassociateLexBotRequest & WithLexRegion(const Aws::String &value)
Definition: DisassociateLexBotRequest.h:159
Aws::Connect::Model::DisassociateLexBotRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DisassociateLexBotRequest.h:45
Aws::Connect::Model::DisassociateLexBotRequest::DisassociateLexBotRequest
DisassociateLexBotRequest()
Aws::Connect::Model::DisassociateLexBotRequest::SetBotName
void SetBotName(Aws::String &&value)
Definition: DisassociateLexBotRequest.h:108
Aws::Connect::Model::DisassociateLexBotRequest::SetLexRegion
void SetLexRegion(const char *value)
Definition: DisassociateLexBotRequest.h:154
Aws::Connect::Model::DisassociateLexBotRequest::WithBotName
DisassociateLexBotRequest & WithBotName(const char *value)
Definition: DisassociateLexBotRequest.h:128
Aws::Connect::Model::DisassociateLexBotRequest::SetBotName
void SetBotName(const Aws::String &value)
Definition: DisassociateLexBotRequest.h:103
Aws::Connect::Model::DisassociateLexBotRequest
Definition: DisassociateLexBotRequest.h:26
Aws::Connect::Model::DisassociateLexBotRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DisassociateLexBotRequest.h:63
Aws::Connect::Model::DisassociateLexBotRequest::BotNameHasBeenSet
bool BotNameHasBeenSet() const
Definition: DisassociateLexBotRequest.h:98
Aws::Connect::Model::DisassociateLexBotRequest::WithInstanceId
DisassociateLexBotRequest & WithInstanceId(const char *value)
Definition: DisassociateLexBotRequest.h:87
Aws::Connect::Model::DisassociateLexBotRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DisassociateLexBotRequest.h:51
Aws::Connect::Model::DisassociateLexBotRequest::SetLexRegion
void SetLexRegion(Aws::String &&value)
Definition: DisassociateLexBotRequest.h:149
Aws::Connect::Model::DisassociateLexBotRequest::WithBotName
DisassociateLexBotRequest & WithBotName(Aws::String &&value)
Definition: DisassociateLexBotRequest.h:123
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::DisassociateLexBotRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DisassociateLexBotRequest.h:69
Aws::Connect::Model::DisassociateLexBotRequest::WithInstanceId
DisassociateLexBotRequest & WithInstanceId(Aws::String &&value)
Definition: DisassociateLexBotRequest.h:81
Aws::Connect::Model::DisassociateLexBotRequest::SetBotName
void SetBotName(const char *value)
Definition: DisassociateLexBotRequest.h:113
Aws::Connect::Model::DisassociateLexBotRequest::WithLexRegion
DisassociateLexBotRequest & WithLexRegion(Aws::String &&value)
Definition: DisassociateLexBotRequest.h:164
AWSString.h
Aws::Connect::Model::DisassociateLexBotRequest::WithLexRegion
DisassociateLexBotRequest & WithLexRegion(const char *value)
Definition: DisassociateLexBotRequest.h:169
Aws::Connect::Model::DisassociateLexBotRequest::GetLexRegion
const Aws::String & GetLexRegion() const
Definition: DisassociateLexBotRequest.h:134
Aws::Connect::Model::DisassociateLexBotRequest::LexRegionHasBeenSet
bool LexRegionHasBeenSet() const
Definition: DisassociateLexBotRequest.h:139
Aws::Connect::Model::DisassociateLexBotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DisassociateLexBotRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DisassociateLexBotRequest::WithBotName
DisassociateLexBotRequest & WithBotName(const Aws::String &value)
Definition: DisassociateLexBotRequest.h:118
Aws::Connect::Model::DisassociateLexBotRequest::SetLexRegion
void SetLexRegion(const Aws::String &value)
Definition: DisassociateLexBotRequest.h:144
Aws::Connect::Model::DisassociateLexBotRequest::WithInstanceId
DisassociateLexBotRequest & WithInstanceId(const Aws::String &value)
Definition: DisassociateLexBotRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DisassociateLexBotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateLexBotRequest.h:34
Aws::Connect::Model::DisassociateLexBotRequest::GetBotName
const Aws::String & GetBotName() const
Definition: DisassociateLexBotRequest.h:93
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::DisassociateLexBotRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DisassociateLexBotRequest.h:57