AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DisassociateFromConfigurationRequest.h
1
6#pragma once
7#include <aws/chatbot/ChatbotRequest.h>
8#include <aws/chatbot/Chatbot_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace chatbot {
15namespace Model {
16
20 public:
21 AWS_CHATBOT_API DisassociateFromConfigurationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DisassociateFromConfiguration"; }
28
29 AWS_CHATBOT_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetResource() const { return m_resource; }
37 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
38 template <typename ResourceT = Aws::String>
39 void SetResource(ResourceT&& value) {
40 m_resourceHasBeenSet = true;
41 m_resource = std::forward<ResourceT>(value);
42 }
43 template <typename ResourceT = Aws::String>
45 SetResource(std::forward<ResourceT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetChatConfiguration() const { return m_chatConfiguration; }
55 inline bool ChatConfigurationHasBeenSet() const { return m_chatConfigurationHasBeenSet; }
56 template <typename ChatConfigurationT = Aws::String>
57 void SetChatConfiguration(ChatConfigurationT&& value) {
58 m_chatConfigurationHasBeenSet = true;
59 m_chatConfiguration = std::forward<ChatConfigurationT>(value);
60 }
61 template <typename ChatConfigurationT = Aws::String>
63 SetChatConfiguration(std::forward<ChatConfigurationT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_resource;
69 bool m_resourceHasBeenSet = false;
70
71 Aws::String m_chatConfiguration;
72 bool m_chatConfigurationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace chatbot
77} // namespace Aws
DisassociateFromConfigurationRequest & WithChatConfiguration(ChatConfigurationT &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
DisassociateFromConfigurationRequest & WithResource(ResourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String