AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContentDataDetails.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/RankingData.h>
9#include <aws/qconnect/model/TextData.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 QConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QCONNECT_API ContentDataDetails();
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RankingData& GetRankingData() const{ return m_rankingData; }
46 inline bool RankingDataHasBeenSet() const { return m_rankingDataHasBeenSet; }
47 inline void SetRankingData(const RankingData& value) { m_rankingDataHasBeenSet = true; m_rankingData = value; }
48 inline void SetRankingData(RankingData&& value) { m_rankingDataHasBeenSet = true; m_rankingData = std::move(value); }
49 inline ContentDataDetails& WithRankingData(const RankingData& value) { SetRankingData(value); return *this;}
50 inline ContentDataDetails& WithRankingData(RankingData&& value) { SetRankingData(std::move(value)); return *this;}
52
54
57 inline const TextData& GetTextData() const{ return m_textData; }
58 inline bool TextDataHasBeenSet() const { return m_textDataHasBeenSet; }
59 inline void SetTextData(const TextData& value) { m_textDataHasBeenSet = true; m_textData = value; }
60 inline void SetTextData(TextData&& value) { m_textDataHasBeenSet = true; m_textData = std::move(value); }
61 inline ContentDataDetails& WithTextData(const TextData& value) { SetTextData(value); return *this;}
62 inline ContentDataDetails& WithTextData(TextData&& value) { SetTextData(std::move(value)); return *this;}
64 private:
65
66 RankingData m_rankingData;
67 bool m_rankingDataHasBeenSet = false;
68
69 TextData m_textData;
70 bool m_textDataHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QConnect
75} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API ContentDataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentDataDetails & WithTextData(TextData &&value)
void SetRankingData(const RankingData &value)
ContentDataDetails & WithTextData(const TextData &value)
ContentDataDetails & WithRankingData(const RankingData &value)
ContentDataDetails & WithRankingData(RankingData &&value)
AWS_QCONNECT_API ContentDataDetails(Aws::Utils::Json::JsonView jsonValue)
const RankingData & GetRankingData() const
Aws::Utils::Json::JsonValue JsonValue