AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Conversation.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QBUSINESS_API Conversation();
37 AWS_QBUSINESS_API Conversation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QBUSINESS_API Conversation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
47 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
48 inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; }
49 inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); }
50 inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); }
51 inline Conversation& WithConversationId(const Aws::String& value) { SetConversationId(value); return *this;}
52 inline Conversation& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
53 inline Conversation& WithConversationId(const char* value) { SetConversationId(value); return *this;}
55
57
60 inline const Aws::String& GetTitle() const{ return m_title; }
61 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
62 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
63 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
64 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
65 inline Conversation& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
66 inline Conversation& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
67 inline Conversation& WithTitle(const char* value) { SetTitle(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
75 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
76 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
77 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
78 inline Conversation& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
79 inline Conversation& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_conversationId;
84 bool m_conversationIdHasBeenSet = false;
85
86 Aws::String m_title;
87 bool m_titleHasBeenSet = false;
88
89 Aws::Utils::DateTime m_startTime;
90 bool m_startTimeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QBusiness
95} // namespace Aws
Conversation & WithTitle(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetTitle(Aws::String &&value)
AWS_QBUSINESS_API Conversation & operator=(Aws::Utils::Json::JsonView jsonValue)
Conversation & WithTitle(const Aws::String &value)
const Aws::String & GetConversationId() const
AWS_QBUSINESS_API Conversation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Conversation & WithTitle(Aws::String &&value)
void SetConversationId(const Aws::String &value)
void SetConversationId(const char *value)
const Aws::String & GetTitle() const
Conversation & WithStartTime(Aws::Utils::DateTime &&value)
Conversation & WithConversationId(Aws::String &&value)
Conversation & WithConversationId(const Aws::String &value)
void SetTitle(const Aws::String &value)
void SetTitle(const char *value)
void SetConversationId(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
Conversation & WithConversationId(const char *value)
Conversation & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue