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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/model/TextSegment.h>
53 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
68 inline void SetSnippet(
const char* value) { m_snippetHasBeenSet =
true; m_snippet.assign(value); }
82 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
83 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
96 inline void SetCitationNumber(
int value) { m_citationNumberHasBeenSet =
true; m_citationNumber = value; }
130 bool m_titleHasBeenSet =
false;
133 bool m_snippetHasBeenSet =
false;
136 bool m_urlHasBeenSet =
false;
138 int m_citationNumber;
139 bool m_citationNumberHasBeenSet =
false;
142 bool m_updatedAtHasBeenSet =
false;
145 bool m_textMessageSegmentsHasBeenSet =
false;
SourceAttribution & WithUrl(const char *value)
void SetUrl(Aws::String &&value)
SourceAttribution & WithTitle(const char *value)
const Aws::String & GetSnippet() const
const Aws::String & GetUrl() const
void SetUrl(const char *value)
void SetSnippet(Aws::String &&value)
SourceAttribution & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetUrl(const Aws::String &value)
void SetSnippet(const Aws::String &value)
bool TitleHasBeenSet() const
SourceAttribution & WithSnippet(Aws::String &&value)
bool TextMessageSegmentsHasBeenSet() const
SourceAttribution & WithTextMessageSegments(const Aws::Vector< TextSegment > &value)
void SetTitle(Aws::String &&value)
SourceAttribution & AddTextMessageSegments(const TextSegment &value)
SourceAttribution & WithSnippet(const Aws::String &value)
SourceAttribution & WithUrl(const Aws::String &value)
AWS_QBUSINESS_API SourceAttribution()
bool UrlHasBeenSet() const
void SetTitle(const char *value)
SourceAttribution & WithCitationNumber(int value)
SourceAttribution & WithTitle(const Aws::String &value)
SourceAttribution & WithTitle(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetTextMessageSegments(Aws::Vector< TextSegment > &&value)
const Aws::String & GetTitle() const
AWS_QBUSINESS_API SourceAttribution(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
int GetCitationNumber() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCitationNumber(int value)
SourceAttribution & WithSnippet(const char *value)
void SetTitle(const Aws::String &value)
SourceAttribution & AddTextMessageSegments(TextSegment &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
bool UpdatedAtHasBeenSet() const
SourceAttribution & WithUrl(Aws::String &&value)
void SetSnippet(const char *value)
void SetTextMessageSegments(const Aws::Vector< TextSegment > &value)
const Aws::Vector< TextSegment > & GetTextMessageSegments() const
SourceAttribution & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_QBUSINESS_API SourceAttribution & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SnippetHasBeenSet() const
bool CitationNumberHasBeenSet() const
SourceAttribution & WithTextMessageSegments(Aws::Vector< TextSegment > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue