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/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/SessionIntegrationConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectWisdomService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTWISDOMSERVICE_API SessionData();
37 AWS_CONNECTWISDOMSERVICE_API SessionData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTWISDOMSERVICE_API SessionData& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline SessionData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline SessionData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline SessionData& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
60 inline const SessionIntegrationConfiguration& GetIntegrationConfiguration() const{ return m_integrationConfiguration; }
61 inline bool IntegrationConfigurationHasBeenSet() const { return m_integrationConfigurationHasBeenSet; }
62 inline void SetIntegrationConfiguration(const SessionIntegrationConfiguration& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = value; }
63 inline void SetIntegrationConfiguration(SessionIntegrationConfiguration&& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = std::move(value); }
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline SessionData& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline SessionData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline SessionData& WithName(const char* value) { SetName(value); return *this;}
81
83
86 inline const Aws::String& GetSessionArn() const{ return m_sessionArn; }
87 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
88 inline void SetSessionArn(const Aws::String& value) { m_sessionArnHasBeenSet = true; m_sessionArn = value; }
89 inline void SetSessionArn(Aws::String&& value) { m_sessionArnHasBeenSet = true; m_sessionArn = std::move(value); }
90 inline void SetSessionArn(const char* value) { m_sessionArnHasBeenSet = true; m_sessionArn.assign(value); }
91 inline SessionData& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;}
92 inline SessionData& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;}
93 inline SessionData& WithSessionArn(const char* value) { SetSessionArn(value); return *this;}
95
97
100 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
101 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
102 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
103 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
104 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
105 inline SessionData& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
106 inline SessionData& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
107 inline SessionData& WithSessionId(const char* value) { SetSessionId(value); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
118 inline SessionData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
119 inline SessionData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline SessionData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline SessionData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline SessionData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline SessionData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline SessionData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline SessionData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline SessionData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 private:
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 SessionIntegrationConfiguration m_integrationConfiguration;
134 bool m_integrationConfigurationHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::String m_sessionArn;
140 bool m_sessionArnHasBeenSet = false;
141
142 Aws::String m_sessionId;
143 bool m_sessionIdHasBeenSet = false;
144
146 bool m_tagsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace ConnectWisdomService
151} // namespace Aws
SessionData & WithSessionId(const Aws::String &value)
SessionData & WithSessionArn(Aws::String &&value)
Definition SessionData.h:92
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SessionData & WithDescription(const Aws::String &value)
Definition SessionData.h:51
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSessionId() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetSessionArn() const
Definition SessionData.h:86
void SetIntegrationConfiguration(const SessionIntegrationConfiguration &value)
Definition SessionData.h:62
SessionData & AddTags(Aws::String &&key, Aws::String &&value)
SessionData & WithName(const char *value)
Definition SessionData.h:79
SessionData & WithIntegrationConfiguration(const SessionIntegrationConfiguration &value)
Definition SessionData.h:64
const Aws::String & GetDescription() const
Definition SessionData.h:46
void SetIntegrationConfiguration(SessionIntegrationConfiguration &&value)
Definition SessionData.h:63
SessionData & AddTags(const Aws::String &key, Aws::String &&value)
SessionData & WithDescription(Aws::String &&value)
Definition SessionData.h:52
SessionData & AddTags(const char *key, Aws::String &&value)
void SetSessionId(const Aws::String &value)
SessionData & WithName(const Aws::String &value)
Definition SessionData.h:77
SessionData & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(const Aws::String &value)
Definition SessionData.h:48
SessionData & WithSessionArn(const Aws::String &value)
Definition SessionData.h:91
AWS_CONNECTWISDOMSERVICE_API SessionData()
const SessionIntegrationConfiguration & GetIntegrationConfiguration() const
Definition SessionData.h:60
SessionData & WithName(Aws::String &&value)
Definition SessionData.h:78
SessionData & WithSessionId(const char *value)
void SetName(const Aws::String &value)
Definition SessionData.h:74
SessionData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSessionArn(const Aws::String &value)
Definition SessionData.h:88
SessionData & WithIntegrationConfiguration(SessionIntegrationConfiguration &&value)
Definition SessionData.h:65
SessionData & WithSessionArn(const char *value)
Definition SessionData.h:93
SessionData & WithDescription(const char *value)
Definition SessionData.h:53
SessionData & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API SessionData(Aws::Utils::Json::JsonView jsonValue)
SessionData & AddTags(Aws::String &&key, const Aws::String &value)
SessionData & AddTags(const char *key, const char *value)
AWS_CONNECTWISDOMSERVICE_API SessionData & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
SessionData & WithSessionId(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
Aws::Utils::Json::JsonValue JsonValue