AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSessionRequest.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qconnect/model/TagFilter.h>
12#include <aws/qconnect/model/AIAgentType.h>
13#include <aws/qconnect/model/AIAgentConfigurationData.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QConnect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QCONNECT_API UpdateSessionRequest();
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 "UpdateSession"; }
35
36 AWS_QCONNECT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::Map<AIAgentType, AIAgentConfigurationData>& GetAiAgentConfiguration() const{ return m_aiAgentConfiguration; }
45 inline bool AiAgentConfigurationHasBeenSet() const { return m_aiAgentConfigurationHasBeenSet; }
46 inline void SetAiAgentConfiguration(const Aws::Map<AIAgentType, AIAgentConfigurationData>& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration = value; }
47 inline void SetAiAgentConfiguration(Aws::Map<AIAgentType, AIAgentConfigurationData>&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration = std::move(value); }
50 inline UpdateSessionRequest& AddAiAgentConfiguration(const AIAgentType& key, const AIAgentConfigurationData& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(key, value); return *this; }
51 inline UpdateSessionRequest& AddAiAgentConfiguration(AIAgentType&& key, const AIAgentConfigurationData& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(std::move(key), value); return *this; }
52 inline UpdateSessionRequest& AddAiAgentConfiguration(const AIAgentType& key, AIAgentConfigurationData&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(key, std::move(value)); return *this; }
53 inline UpdateSessionRequest& AddAiAgentConfiguration(AIAgentType&& key, AIAgentConfigurationData&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(std::move(key), std::move(value)); return *this; }
55
57
61 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
62 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
63 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
64 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
65 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
66 inline UpdateSessionRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
67 inline UpdateSessionRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
68 inline UpdateSessionRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline UpdateSessionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline UpdateSessionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline UpdateSessionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
90 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
91 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
92 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
93 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
94 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
95 inline UpdateSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
96 inline UpdateSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
97 inline UpdateSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
99
101
104 inline const TagFilter& GetTagFilter() const{ return m_tagFilter; }
105 inline bool TagFilterHasBeenSet() const { return m_tagFilterHasBeenSet; }
106 inline void SetTagFilter(const TagFilter& value) { m_tagFilterHasBeenSet = true; m_tagFilter = value; }
107 inline void SetTagFilter(TagFilter&& value) { m_tagFilterHasBeenSet = true; m_tagFilter = std::move(value); }
108 inline UpdateSessionRequest& WithTagFilter(const TagFilter& value) { SetTagFilter(value); return *this;}
109 inline UpdateSessionRequest& WithTagFilter(TagFilter&& value) { SetTagFilter(std::move(value)); return *this;}
111 private:
112
114 bool m_aiAgentConfigurationHasBeenSet = false;
115
116 Aws::String m_assistantId;
117 bool m_assistantIdHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 Aws::String m_sessionId;
123 bool m_sessionIdHasBeenSet = false;
124
125 TagFilter m_tagFilter;
126 bool m_tagFilterHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace QConnect
131} // namespace Aws
UpdateSessionRequest & WithAssistantId(const char *value)
UpdateSessionRequest & WithDescription(Aws::String &&value)
UpdateSessionRequest & WithSessionId(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetAiAgentConfiguration(Aws::Map< AIAgentType, AIAgentConfigurationData > &&value)
UpdateSessionRequest & WithDescription(const Aws::String &value)
UpdateSessionRequest & WithAiAgentConfiguration(const Aws::Map< AIAgentType, AIAgentConfigurationData > &value)
UpdateSessionRequest & WithAssistantId(Aws::String &&value)
UpdateSessionRequest & WithSessionId(const char *value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
void SetSessionId(const Aws::String &value)
UpdateSessionRequest & WithTagFilter(const TagFilter &value)
virtual const char * GetServiceRequestName() const override
UpdateSessionRequest & WithTagFilter(TagFilter &&value)
UpdateSessionRequest & AddAiAgentConfiguration(const AIAgentType &key, const AIAgentConfigurationData &value)
const Aws::Map< AIAgentType, AIAgentConfigurationData > & GetAiAgentConfiguration() const
UpdateSessionRequest & WithAssistantId(const Aws::String &value)
UpdateSessionRequest & AddAiAgentConfiguration(AIAgentType &&key, AIAgentConfigurationData &&value)
UpdateSessionRequest & WithDescription(const char *value)
UpdateSessionRequest & WithAiAgentConfiguration(Aws::Map< AIAgentType, AIAgentConfigurationData > &&value)
UpdateSessionRequest & AddAiAgentConfiguration(AIAgentType &&key, const AIAgentConfigurationData &value)
void SetAssistantId(const Aws::String &value)
UpdateSessionRequest & AddAiAgentConfiguration(const AIAgentType &key, AIAgentConfigurationData &&value)
void SetAiAgentConfiguration(const Aws::Map< AIAgentType, AIAgentConfigurationData > &value)
UpdateSessionRequest & WithSessionId(const Aws::String &value)
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