AWS SDK for C++

AWS SDK for C++ Version 1.11.692

Loading...
Searching...
No Matches
AssociateToConfigurationRequest.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 AssociateToConfigurationRequest() = 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 "AssociateToConfiguration"; }
28
29 AWS_CHATBOT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetResource() const { return m_resource; }
36 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
37 template <typename ResourceT = Aws::String>
38 void SetResource(ResourceT&& value) {
39 m_resourceHasBeenSet = true;
40 m_resource = std::forward<ResourceT>(value);
41 }
42 template <typename ResourceT = Aws::String>
44 SetResource(std::forward<ResourceT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetChatConfiguration() const { return m_chatConfiguration; }
54 inline bool ChatConfigurationHasBeenSet() const { return m_chatConfigurationHasBeenSet; }
55 template <typename ChatConfigurationT = Aws::String>
56 void SetChatConfiguration(ChatConfigurationT&& value) {
57 m_chatConfigurationHasBeenSet = true;
58 m_chatConfiguration = std::forward<ChatConfigurationT>(value);
59 }
60 template <typename ChatConfigurationT = Aws::String>
62 SetChatConfiguration(std::forward<ChatConfigurationT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_resource;
68 bool m_resourceHasBeenSet = false;
69
70 Aws::String m_chatConfiguration;
71 bool m_chatConfigurationHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace chatbot
76} // namespace Aws
AssociateToConfigurationRequest & WithChatConfiguration(ChatConfigurationT &&value)
AWS_CHATBOT_API AssociateToConfigurationRequest()=default
AWS_CHATBOT_API Aws::String SerializePayload() const override
AssociateToConfigurationRequest & WithResource(ResourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String