AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateChatResponseConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/QBusinessRequest.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/ResponseConfiguration.h>
13#include <aws/qbusiness/model/ResponseConfigurationType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace QBusiness {
19namespace Model {
20
24 public:
25 AWS_QBUSINESS_API UpdateChatResponseConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateChatResponseConfiguration"; }
32
33 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
60 inline bool ChatResponseConfigurationIdHasBeenSet() const { return m_chatResponseConfigurationIdHasBeenSet; }
61 template <typename ChatResponseConfigurationIdT = Aws::String>
63 m_chatResponseConfigurationIdHasBeenSet = true;
64 m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value);
65 }
66 template <typename ChatResponseConfigurationIdT = Aws::String>
68 SetChatResponseConfigurationId(std::forward<ChatResponseConfigurationIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDisplayName() const { return m_displayName; }
79 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
80 template <typename DisplayNameT = Aws::String>
82 m_displayNameHasBeenSet = true;
83 m_displayName = std::forward<DisplayNameT>(value);
84 }
85 template <typename DisplayNameT = Aws::String>
87 SetDisplayName(std::forward<DisplayNameT>(value));
88 return *this;
89 }
91
93
98 return m_responseConfigurations;
99 }
100 inline bool ResponseConfigurationsHasBeenSet() const { return m_responseConfigurationsHasBeenSet; }
101 template <typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
103 m_responseConfigurationsHasBeenSet = true;
104 m_responseConfigurations = std::forward<ResponseConfigurationsT>(value);
105 }
106 template <typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
108 SetResponseConfigurations(std::forward<ResponseConfigurationsT>(value));
109 return *this;
110 }
112 m_responseConfigurationsHasBeenSet = true;
113 m_responseConfigurations.emplace(key, value);
114 return *this;
115 }
117
119
124 inline const Aws::String& GetClientToken() const { return m_clientToken; }
125 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
126 template <typename ClientTokenT = Aws::String>
128 m_clientTokenHasBeenSet = true;
129 m_clientToken = std::forward<ClientTokenT>(value);
130 }
131 template <typename ClientTokenT = Aws::String>
133 SetClientToken(std::forward<ClientTokenT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_applicationId;
139 bool m_applicationIdHasBeenSet = false;
140
141 Aws::String m_chatResponseConfigurationId;
142 bool m_chatResponseConfigurationIdHasBeenSet = false;
143
144 Aws::String m_displayName;
145 bool m_displayNameHasBeenSet = false;
146
148 bool m_responseConfigurationsHasBeenSet = false;
149
151 bool m_clientTokenHasBeenSet = true;
152};
153
154} // namespace Model
155} // namespace QBusiness
156} // namespace Aws
UpdateChatResponseConfigurationRequest & WithResponseConfigurations(ResponseConfigurationsT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdateChatResponseConfigurationRequest & WithClientToken(ClientTokenT &&value)
UpdateChatResponseConfigurationRequest & WithDisplayName(DisplayNameT &&value)
UpdateChatResponseConfigurationRequest & WithChatResponseConfigurationId(ChatResponseConfigurationIdT &&value)
UpdateChatResponseConfigurationRequest & WithApplicationId(ApplicationIdT &&value)
const Aws::Map< ResponseConfigurationType, ResponseConfiguration > & GetResponseConfigurations() const
UpdateChatResponseConfigurationRequest & AddResponseConfigurations(ResponseConfigurationType key, ResponseConfiguration value)
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String