AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/SessionIntegrationConfiguration.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 Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QConnect
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_QCONNECT_API SessionData();
40 AWS_QCONNECT_API SessionData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QCONNECT_API SessionData& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Map<AIAgentType, AIAgentConfigurationData>& GetAiAgentConfiguration() const{ return m_aiAgentConfiguration; }
51 inline bool AiAgentConfigurationHasBeenSet() const { return m_aiAgentConfigurationHasBeenSet; }
52 inline void SetAiAgentConfiguration(const Aws::Map<AIAgentType, AIAgentConfigurationData>& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration = value; }
53 inline void SetAiAgentConfiguration(Aws::Map<AIAgentType, AIAgentConfigurationData>&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration = std::move(value); }
56 inline SessionData& AddAiAgentConfiguration(const AIAgentType& key, const AIAgentConfigurationData& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(key, value); return *this; }
57 inline SessionData& AddAiAgentConfiguration(AIAgentType&& key, const AIAgentConfigurationData& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(std::move(key), value); return *this; }
58 inline SessionData& AddAiAgentConfiguration(const AIAgentType& key, AIAgentConfigurationData&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(key, std::move(value)); return *this; }
59 inline SessionData& AddAiAgentConfiguration(AIAgentType&& key, AIAgentConfigurationData&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(std::move(key), std::move(value)); return *this; }
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
71 inline SessionData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline SessionData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline SessionData& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const SessionIntegrationConfiguration& GetIntegrationConfiguration() const{ return m_integrationConfiguration; }
81 inline bool IntegrationConfigurationHasBeenSet() const { return m_integrationConfigurationHasBeenSet; }
82 inline void SetIntegrationConfiguration(const SessionIntegrationConfiguration& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = value; }
83 inline void SetIntegrationConfiguration(SessionIntegrationConfiguration&& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = std::move(value); }
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline SessionData& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline SessionData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline SessionData& WithName(const char* value) { SetName(value); return *this;}
101
103
106 inline const Aws::String& GetSessionArn() const{ return m_sessionArn; }
107 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
108 inline void SetSessionArn(const Aws::String& value) { m_sessionArnHasBeenSet = true; m_sessionArn = value; }
109 inline void SetSessionArn(Aws::String&& value) { m_sessionArnHasBeenSet = true; m_sessionArn = std::move(value); }
110 inline void SetSessionArn(const char* value) { m_sessionArnHasBeenSet = true; m_sessionArn.assign(value); }
111 inline SessionData& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;}
112 inline SessionData& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;}
113 inline SessionData& WithSessionArn(const char* value) { SetSessionArn(value); return *this;}
115
117
120 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
121 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
122 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
123 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
124 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
125 inline SessionData& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
126 inline SessionData& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
127 inline SessionData& WithSessionId(const char* value) { SetSessionId(value); return *this;}
129
131
134 inline const TagFilter& GetTagFilter() const{ return m_tagFilter; }
135 inline bool TagFilterHasBeenSet() const { return m_tagFilterHasBeenSet; }
136 inline void SetTagFilter(const TagFilter& value) { m_tagFilterHasBeenSet = true; m_tagFilter = value; }
137 inline void SetTagFilter(TagFilter&& value) { m_tagFilterHasBeenSet = true; m_tagFilter = std::move(value); }
138 inline SessionData& WithTagFilter(const TagFilter& value) { SetTagFilter(value); return *this;}
139 inline SessionData& WithTagFilter(TagFilter&& value) { SetTagFilter(std::move(value)); return *this;}
141
143
146 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
147 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
148 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
149 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
150 inline SessionData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
151 inline SessionData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
152 inline SessionData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153 inline SessionData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
154 inline SessionData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
155 inline SessionData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
156 inline SessionData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
157 inline SessionData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
158 inline SessionData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
160 private:
161
163 bool m_aiAgentConfigurationHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 SessionIntegrationConfiguration m_integrationConfiguration;
169 bool m_integrationConfigurationHasBeenSet = false;
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
174 Aws::String m_sessionArn;
175 bool m_sessionArnHasBeenSet = false;
176
177 Aws::String m_sessionId;
178 bool m_sessionIdHasBeenSet = false;
179
180 TagFilter m_tagFilter;
181 bool m_tagFilterHasBeenSet = false;
182
184 bool m_tagsHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace QConnect
189} // namespace Aws
void SetIntegrationConfiguration(SessionIntegrationConfiguration &&value)
Definition SessionData.h:83
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SessionData & AddTags(const char *key, Aws::String &&value)
SessionData & WithTagFilter(TagFilter &&value)
void SetName(const char *value)
Definition SessionData.h:96
SessionData & AddTags(const Aws::String &key, const Aws::String &value)
SessionData & WithSessionId(const Aws::String &value)
void SetSessionArn(const char *value)
SessionData & WithIntegrationConfiguration(SessionIntegrationConfiguration &&value)
Definition SessionData.h:85
SessionData & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetSessionId() const
const Aws::String & GetSessionArn() const
SessionData & WithDescription(const Aws::String &value)
Definition SessionData.h:71
void SetTagFilter(const TagFilter &value)
void SetDescription(const char *value)
Definition SessionData.h:70
const SessionIntegrationConfiguration & GetIntegrationConfiguration() const
Definition SessionData.h:80
SessionData & WithSessionArn(const Aws::String &value)
SessionData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(Aws::String &&value)
Definition SessionData.h:95
void SetDescription(const Aws::String &value)
Definition SessionData.h:68
SessionData & AddAiAgentConfiguration(AIAgentType &&key, const AIAgentConfigurationData &value)
Definition SessionData.h:57
SessionData & AddTags(const Aws::String &key, Aws::String &&value)
SessionData & WithAiAgentConfiguration(Aws::Map< AIAgentType, AIAgentConfigurationData > &&value)
Definition SessionData.h:55
SessionData & WithName(Aws::String &&value)
Definition SessionData.h:98
void SetSessionId(const Aws::String &value)
const Aws::String & GetDescription() const
Definition SessionData.h:66
void SetAiAgentConfiguration(Aws::Map< AIAgentType, AIAgentConfigurationData > &&value)
Definition SessionData.h:53
void SetSessionId(const char *value)
SessionData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
SessionData & WithName(const Aws::String &value)
Definition SessionData.h:97
void SetIntegrationConfiguration(const SessionIntegrationConfiguration &value)
Definition SessionData.h:82
bool AiAgentConfigurationHasBeenSet() const
Definition SessionData.h:51
void SetName(const Aws::String &value)
Definition SessionData.h:94
AWS_QCONNECT_API SessionData & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionData & WithSessionArn(Aws::String &&value)
SessionData & WithTagFilter(const TagFilter &value)
SessionData & WithName(const char *value)
Definition SessionData.h:99
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetName() const
Definition SessionData.h:92
SessionData & AddAiAgentConfiguration(const AIAgentType &key, AIAgentConfigurationData &&value)
Definition SessionData.h:58
void SetSessionArn(const Aws::String &value)
SessionData & AddTags(const char *key, const char *value)
void SetSessionId(Aws::String &&value)
SessionData & AddTags(Aws::String &&key, const char *value)
SessionData & WithSessionId(Aws::String &&value)
SessionData & WithDescription(Aws::String &&value)
Definition SessionData.h:72
SessionData & WithSessionId(const char *value)
SessionData & AddAiAgentConfiguration(const AIAgentType &key, const AIAgentConfigurationData &value)
Definition SessionData.h:56
bool IntegrationConfigurationHasBeenSet() const
Definition SessionData.h:81
AWS_QCONNECT_API SessionData(Aws::Utils::Json::JsonView jsonValue)
SessionData & WithDescription(const char *value)
Definition SessionData.h:73
const Aws::Map< AIAgentType, AIAgentConfigurationData > & GetAiAgentConfiguration() const
Definition SessionData.h:50
SessionData & WithSessionArn(const char *value)
SessionData & AddTags(Aws::String &&key, const Aws::String &value)
const TagFilter & GetTagFilter() const
SessionData & WithIntegrationConfiguration(const SessionIntegrationConfiguration &value)
Definition SessionData.h:84
SessionData & AddAiAgentConfiguration(AIAgentType &&key, AIAgentConfigurationData &&value)
Definition SessionData.h:59
void SetSessionArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SessionData & WithAiAgentConfiguration(const Aws::Map< AIAgentType, AIAgentConfigurationData > &value)
Definition SessionData.h:54
void SetDescription(Aws::String &&value)
Definition SessionData.h:69
void SetTagFilter(TagFilter &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAiAgentConfiguration(const Aws::Map< AIAgentType, AIAgentConfigurationData > &value)
Definition SessionData.h:52
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
Aws::Utils::Json::JsonValue JsonValue