AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionSummary.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QCONNECT_API SessionSummary();
35 AWS_QCONNECT_API SessionSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
45 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
46 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
47 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
48 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
49 inline SessionSummary& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
50 inline SessionSummary& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
51 inline SessionSummary& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
53
55
58 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
59 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
60 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
61 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
62 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
63 inline SessionSummary& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
64 inline SessionSummary& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
65 inline SessionSummary& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
67
69
72 inline const Aws::String& GetSessionArn() const{ return m_sessionArn; }
73 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
74 inline void SetSessionArn(const Aws::String& value) { m_sessionArnHasBeenSet = true; m_sessionArn = value; }
75 inline void SetSessionArn(Aws::String&& value) { m_sessionArnHasBeenSet = true; m_sessionArn = std::move(value); }
76 inline void SetSessionArn(const char* value) { m_sessionArnHasBeenSet = true; m_sessionArn.assign(value); }
77 inline SessionSummary& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;}
78 inline SessionSummary& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;}
79 inline SessionSummary& WithSessionArn(const char* value) { SetSessionArn(value); return *this;}
81
83
86 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
87 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
88 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
89 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
90 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
91 inline SessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
92 inline SessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
93 inline SessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;}
95 private:
96
97 Aws::String m_assistantArn;
98 bool m_assistantArnHasBeenSet = false;
99
100 Aws::String m_assistantId;
101 bool m_assistantIdHasBeenSet = false;
102
103 Aws::String m_sessionArn;
104 bool m_sessionArnHasBeenSet = false;
105
106 Aws::String m_sessionId;
107 bool m_sessionIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QConnect
112} // namespace Aws
SessionSummary & WithAssistantId(const char *value)
void SetAssistantArn(const char *value)
SessionSummary & WithSessionArn(const Aws::String &value)
const Aws::String & GetSessionId() const
SessionSummary & WithSessionId(Aws::String &&value)
SessionSummary & WithAssistantArn(const Aws::String &value)
void SetAssistantArn(Aws::String &&value)
SessionSummary & WithSessionId(const Aws::String &value)
SessionSummary & WithSessionId(const char *value)
void SetSessionArn(Aws::String &&value)
const Aws::String & GetSessionArn() const
SessionSummary & WithAssistantArn(Aws::String &&value)
void SetSessionId(Aws::String &&value)
AWS_QCONNECT_API SessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssistantId(const Aws::String &value)
void SetSessionArn(const Aws::String &value)
const Aws::String & GetAssistantId() const
SessionSummary & WithAssistantId(const Aws::String &value)
void SetAssistantId(const char *value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API SessionSummary(Aws::Utils::Json::JsonView jsonValue)
SessionSummary & WithAssistantArn(const char *value)
SessionSummary & WithSessionArn(const char *value)
SessionSummary & WithSessionArn(Aws::String &&value)
const Aws::String & GetAssistantArn() const
void SetSessionId(const char *value)
void SetAssistantId(Aws::String &&value)
void SetAssistantArn(const Aws::String &value)
SessionSummary & WithAssistantId(Aws::String &&value)
void SetSessionArn(const char *value)
void SetSessionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue