AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateBotRequest.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 AssociateBotRequest();
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 "AssociateBot"; }
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 AssociateBotRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline AssociateBotRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline AssociateBotRequest& 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 AssociateBotRequest& WithLexBot(const LexBot& value) { SetLexBot(value); return *this;}
60 inline AssociateBotRequest& 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 AssociateBotRequest& WithLexV2Bot(const LexV2Bot& value) { SetLexV2Bot(value); return *this;}
72 inline AssociateBotRequest& 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
AssociateBotRequest & WithLexV2Bot(const LexV2Bot &value)
virtual const char * GetServiceRequestName() const override
AssociateBotRequest & WithLexV2Bot(LexV2Bot &&value)
AssociateBotRequest & WithLexBot(LexBot &&value)
void SetInstanceId(const Aws::String &value)
AssociateBotRequest & WithInstanceId(const Aws::String &value)
AssociateBotRequest & WithLexBot(const LexBot &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateBotRequest & WithInstanceId(const char *value)
AssociateBotRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String