AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ConversationIdT = Aws::String>
49 void SetConversationId(ConversationIdT&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::forward<ConversationIdT>(value); }
50 template<typename ConversationIdT = Aws::String>
51 Conversation& WithConversationId(ConversationIdT&& value) { SetConversationId(std::forward<ConversationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetTitle() const { return m_title; }
59 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
60 template<typename TitleT = Aws::String>
61 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
62 template<typename TitleT = Aws::String>
63 Conversation& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
71 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
72 template<typename StartTimeT = Aws::Utils::DateTime>
73 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
74 template<typename StartTimeT = Aws::Utils::DateTime>
75 Conversation& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
77 private:
78
79 Aws::String m_conversationId;
80 bool m_conversationIdHasBeenSet = false;
81
82 Aws::String m_title;
83 bool m_titleHasBeenSet = false;
84
85 Aws::Utils::DateTime m_startTime{};
86 bool m_startTimeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QBusiness
91} // namespace Aws
void SetStartTime(StartTimeT &&value)
AWS_QBUSINESS_API Conversation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConversationId() const
AWS_QBUSINESS_API Conversation(Aws::Utils::Json::JsonView jsonValue)
Conversation & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetConversationId(ConversationIdT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Conversation & WithTitle(TitleT &&value)
const Aws::String & GetTitle() const
AWS_QBUSINESS_API Conversation()=default
Conversation & WithConversationId(ConversationIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue