AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateChatResponseConfigurationRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/qbusiness/model/ResponseConfigurationType.h>
12#include <aws/qbusiness/model/ResponseConfiguration.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace QBusiness
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QBUSINESS_API UpdateChatResponseConfigurationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateChatResponseConfiguration"; }
35
36 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
45 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 template<typename ApplicationIdT = Aws::String>
47 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
48 template<typename ApplicationIdT = Aws::String>
49 UpdateChatResponseConfigurationRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
58 inline bool ChatResponseConfigurationIdHasBeenSet() const { return m_chatResponseConfigurationIdHasBeenSet; }
59 template<typename ChatResponseConfigurationIdT = Aws::String>
60 void SetChatResponseConfigurationId(ChatResponseConfigurationIdT&& value) { m_chatResponseConfigurationIdHasBeenSet = true; m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value); }
61 template<typename ChatResponseConfigurationIdT = Aws::String>
64
66
70 inline const Aws::String& GetDisplayName() const { return m_displayName; }
71 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
72 template<typename DisplayNameT = Aws::String>
73 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
74 template<typename DisplayNameT = Aws::String>
75 UpdateChatResponseConfigurationRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
77
79
83 inline const Aws::Map<ResponseConfigurationType, ResponseConfiguration>& GetResponseConfigurations() const { return m_responseConfigurations; }
84 inline bool ResponseConfigurationsHasBeenSet() const { return m_responseConfigurationsHasBeenSet; }
85 template<typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
86 void SetResponseConfigurations(ResponseConfigurationsT&& value) { m_responseConfigurationsHasBeenSet = true; m_responseConfigurations = std::forward<ResponseConfigurationsT>(value); }
87 template<typename ResponseConfigurationsT = Aws::Map<ResponseConfigurationType, ResponseConfiguration>>
88 UpdateChatResponseConfigurationRequest& WithResponseConfigurations(ResponseConfigurationsT&& value) { SetResponseConfigurations(std::forward<ResponseConfigurationsT>(value)); return *this;}
90 m_responseConfigurationsHasBeenSet = true; m_responseConfigurations.emplace(key, value); return *this;
91 }
93
95
100 inline const Aws::String& GetClientToken() const { return m_clientToken; }
101 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
102 template<typename ClientTokenT = Aws::String>
103 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
104 template<typename ClientTokenT = Aws::String>
105 UpdateChatResponseConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
107 private:
108
109 Aws::String m_applicationId;
110 bool m_applicationIdHasBeenSet = false;
111
112 Aws::String m_chatResponseConfigurationId;
113 bool m_chatResponseConfigurationIdHasBeenSet = false;
114
115 Aws::String m_displayName;
116 bool m_displayNameHasBeenSet = false;
117
119 bool m_responseConfigurationsHasBeenSet = false;
120
122 bool m_clientTokenHasBeenSet = true;
123 };
124
125} // namespace Model
126} // namespace QBusiness
127} // 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