AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
Conversation.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
30 public:
31 AWS_QBUSINESS_API Conversation() = default;
34 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetConversationId() const { return m_conversationId; }
41 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
42 template <typename ConversationIdT = Aws::String>
44 m_conversationIdHasBeenSet = true;
45 m_conversationId = std::forward<ConversationIdT>(value);
46 }
47 template <typename ConversationIdT = Aws::String>
49 SetConversationId(std::forward<ConversationIdT>(value));
50 return *this;
51 }
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) {
62 m_titleHasBeenSet = true;
63 m_title = std::forward<TitleT>(value);
64 }
65 template <typename TitleT = Aws::String>
67 SetTitle(std::forward<TitleT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
77 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
78 template <typename StartTimeT = Aws::Utils::DateTime>
79 void SetStartTime(StartTimeT&& value) {
80 m_startTimeHasBeenSet = true;
81 m_startTime = std::forward<StartTimeT>(value);
82 }
83 template <typename StartTimeT = Aws::Utils::DateTime>
85 SetStartTime(std::forward<StartTimeT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_conversationId;
91
92 Aws::String m_title;
93
94 Aws::Utils::DateTime m_startTime{};
95 bool m_conversationIdHasBeenSet = false;
96 bool m_titleHasBeenSet = false;
97 bool m_startTimeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QBusiness
102} // 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