AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateBotRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/LexBot.h>
11#include <aws/connect/model/LexV2Bot.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API DisassociateBotRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisassociateBot"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline DisassociateBotRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline DisassociateBotRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline DisassociateBotRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
55 inline const LexBot& GetLexBot() const{ return m_lexBot; }
56 inline bool LexBotHasBeenSet() const { return m_lexBotHasBeenSet; }
57 inline void SetLexBot(const LexBot& value) { m_lexBotHasBeenSet = true; m_lexBot = value; }
58 inline void SetLexBot(LexBot&& value) { m_lexBotHasBeenSet = true; m_lexBot = std::move(value); }
59 inline DisassociateBotRequest& WithLexBot(const LexBot& value) { SetLexBot(value); return *this;}
60 inline DisassociateBotRequest& WithLexBot(LexBot&& value) { SetLexBot(std::move(value)); return *this;}
62
64
67 inline const LexV2Bot& GetLexV2Bot() const{ return m_lexV2Bot; }
68 inline bool LexV2BotHasBeenSet() const { return m_lexV2BotHasBeenSet; }
69 inline void SetLexV2Bot(const LexV2Bot& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = value; }
70 inline void SetLexV2Bot(LexV2Bot&& value) { m_lexV2BotHasBeenSet = true; m_lexV2Bot = std::move(value); }
71 inline DisassociateBotRequest& WithLexV2Bot(const LexV2Bot& value) { SetLexV2Bot(value); return *this;}
72 inline DisassociateBotRequest& WithLexV2Bot(LexV2Bot&& value) { SetLexV2Bot(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_instanceId;
77 bool m_instanceIdHasBeenSet = false;
78
79 LexBot m_lexBot;
80 bool m_lexBotHasBeenSet = false;
81
82 LexV2Bot m_lexV2Bot;
83 bool m_lexV2BotHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Connect
88} // namespace Aws
DisassociateBotRequest & WithLexBot(LexBot &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateBotRequest & WithInstanceId(const char *value)
virtual const char * GetServiceRequestName() const override
DisassociateBotRequest & WithLexV2Bot(LexV2Bot &&value)
DisassociateBotRequest & WithLexV2Bot(const LexV2Bot &value)
DisassociateBotRequest & WithInstanceId(const Aws::String &value)
DisassociateBotRequest & WithLexBot(const LexBot &value)
DisassociateBotRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String