7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/Participant.h>
12#include <aws/qconnect/model/SpanMessageValue.h>
45 template <
typename MessageIdT = Aws::String>
47 m_messageIdHasBeenSet =
true;
48 m_messageId = std::forward<MessageIdT>(value);
50 template <
typename MessageIdT = Aws::String>
64 m_participantHasBeenSet =
true;
65 m_participant = value;
79 template <
typename TimestampT = Aws::Utils::DateTime>
81 m_timestampHasBeenSet =
true;
82 m_timestamp = std::forward<TimestampT>(value);
84 template <
typename TimestampT = Aws::Utils::DateTime>
97 template <
typename ValuesT = Aws::Vector<SpanMessageValue>>
99 m_valuesHasBeenSet =
true;
100 m_values = std::forward<ValuesT>(value);
102 template <
typename ValuesT = Aws::Vector<SpanMessageValue>>
107 template <
typename ValuesT = SpanMessageValue>
109 m_valuesHasBeenSet =
true;
110 m_values.emplace_back(std::forward<ValuesT>(value));
122 bool m_messageIdHasBeenSet =
false;
123 bool m_participantHasBeenSet =
false;
124 bool m_timestampHasBeenSet =
false;
125 bool m_valuesHasBeenSet =
false;
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTimestamp() const
SpanMessage & WithTimestamp(TimestampT &&value)
SpanMessage & WithMessageId(MessageIdT &&value)
bool MessageIdHasBeenSet() const
bool ValuesHasBeenSet() const
Participant GetParticipant() const
void SetTimestamp(TimestampT &&value)
bool TimestampHasBeenSet() const
bool ParticipantHasBeenSet() const
SpanMessage & WithValues(ValuesT &&value)
SpanMessage & WithParticipant(Participant value)
AWS_QCONNECT_API SpanMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessageId(MessageIdT &&value)
const Aws::Vector< SpanMessageValue > & GetValues() const
const Aws::String & GetMessageId() const
SpanMessage & AddValues(ValuesT &&value)
void SetValues(ValuesT &&value)
void SetParticipant(Participant value)
AWS_QCONNECT_API SpanMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API SpanMessage()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue