AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NewSessionDetails.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/ParticipantDetails.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/ChatStreamingConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CONNECT_API NewSessionDetails();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
59 inline const Aws::Vector<Aws::String>& GetSupportedMessagingContentTypes() const{ return m_supportedMessagingContentTypes; }
60 inline bool SupportedMessagingContentTypesHasBeenSet() const { return m_supportedMessagingContentTypesHasBeenSet; }
61 inline void SetSupportedMessagingContentTypes(const Aws::Vector<Aws::String>& value) { m_supportedMessagingContentTypesHasBeenSet = true; m_supportedMessagingContentTypes = value; }
62 inline void SetSupportedMessagingContentTypes(Aws::Vector<Aws::String>&& value) { m_supportedMessagingContentTypesHasBeenSet = true; m_supportedMessagingContentTypes = std::move(value); }
65 inline NewSessionDetails& AddSupportedMessagingContentTypes(const Aws::String& value) { m_supportedMessagingContentTypesHasBeenSet = true; m_supportedMessagingContentTypes.push_back(value); return *this; }
66 inline NewSessionDetails& AddSupportedMessagingContentTypes(Aws::String&& value) { m_supportedMessagingContentTypesHasBeenSet = true; m_supportedMessagingContentTypes.push_back(std::move(value)); return *this; }
67 inline NewSessionDetails& AddSupportedMessagingContentTypes(const char* value) { m_supportedMessagingContentTypesHasBeenSet = true; m_supportedMessagingContentTypes.push_back(value); return *this; }
69
71
72 inline const ParticipantDetails& GetParticipantDetails() const{ return m_participantDetails; }
73 inline bool ParticipantDetailsHasBeenSet() const { return m_participantDetailsHasBeenSet; }
74 inline void SetParticipantDetails(const ParticipantDetails& value) { m_participantDetailsHasBeenSet = true; m_participantDetails = value; }
75 inline void SetParticipantDetails(ParticipantDetails&& value) { m_participantDetailsHasBeenSet = true; m_participantDetails = std::move(value); }
77 inline NewSessionDetails& WithParticipantDetails(ParticipantDetails&& value) { SetParticipantDetails(std::move(value)); return *this;}
79
81
88 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
89 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
90 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
91 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
93 inline NewSessionDetails& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
94 inline NewSessionDetails& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
95 inline NewSessionDetails& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
96 inline NewSessionDetails& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
97 inline NewSessionDetails& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
98 inline NewSessionDetails& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
99 inline NewSessionDetails& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
100 inline NewSessionDetails& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
102
104
105 inline const ChatStreamingConfiguration& GetStreamingConfiguration() const{ return m_streamingConfiguration; }
106 inline bool StreamingConfigurationHasBeenSet() const { return m_streamingConfigurationHasBeenSet; }
107 inline void SetStreamingConfiguration(const ChatStreamingConfiguration& value) { m_streamingConfigurationHasBeenSet = true; m_streamingConfiguration = value; }
108 inline void SetStreamingConfiguration(ChatStreamingConfiguration&& value) { m_streamingConfigurationHasBeenSet = true; m_streamingConfiguration = std::move(value); }
112 private:
113
114 Aws::Vector<Aws::String> m_supportedMessagingContentTypes;
115 bool m_supportedMessagingContentTypesHasBeenSet = false;
116
117 ParticipantDetails m_participantDetails;
118 bool m_participantDetailsHasBeenSet = false;
119
121 bool m_attributesHasBeenSet = false;
122
123 ChatStreamingConfiguration m_streamingConfiguration;
124 bool m_streamingConfigurationHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Connect
129} // namespace Aws
NewSessionDetails & AddSupportedMessagingContentTypes(Aws::String &&value)
NewSessionDetails & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
NewSessionDetails & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetParticipantDetails(const ParticipantDetails &value)
void SetStreamingConfiguration(ChatStreamingConfiguration &&value)
const ParticipantDetails & GetParticipantDetails() const
NewSessionDetails & WithParticipantDetails(ParticipantDetails &&value)
const ChatStreamingConfiguration & GetStreamingConfiguration() const
NewSessionDetails & WithParticipantDetails(const ParticipantDetails &value)
NewSessionDetails & WithSupportedMessagingContentTypes(const Aws::Vector< Aws::String > &value)
AWS_CONNECT_API NewSessionDetails(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
NewSessionDetails & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetSupportedMessagingContentTypes(Aws::Vector< Aws::String > &&value)
NewSessionDetails & AddAttributes(const Aws::String &key, Aws::String &&value)
NewSessionDetails & WithStreamingConfiguration(ChatStreamingConfiguration &&value)
NewSessionDetails & WithStreamingConfiguration(const ChatStreamingConfiguration &value)
NewSessionDetails & AddAttributes(Aws::String &&key, Aws::String &&value)
AWS_CONNECT_API NewSessionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParticipantDetails(ParticipantDetails &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
NewSessionDetails & AddAttributes(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
NewSessionDetails & AddAttributes(const char *key, Aws::String &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NewSessionDetails & AddAttributes(const char *key, const char *value)
void SetStreamingConfiguration(const ChatStreamingConfiguration &value)
NewSessionDetails & AddSupportedMessagingContentTypes(const char *value)
NewSessionDetails & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetSupportedMessagingContentTypes(const Aws::Vector< Aws::String > &value)
NewSessionDetails & AddSupportedMessagingContentTypes(const Aws::String &value)
NewSessionDetails & WithSupportedMessagingContentTypes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSupportedMessagingContentTypes() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue