AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
TopicSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/TopicUserExperienceVersion.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API TopicSummary() = default;
31 AWS_QUICKSIGHT_API TopicSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API TopicSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 TopicSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetTopicId() const { return m_topicId; }
59 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
60 template <typename TopicIdT = Aws::String>
61 void SetTopicId(TopicIdT&& value) {
62 m_topicIdHasBeenSet = true;
63 m_topicId = std::forward<TopicIdT>(value);
64 }
65 template <typename TopicIdT = Aws::String>
66 TopicSummary& WithTopicId(TopicIdT&& value) {
67 SetTopicId(std::forward<TopicIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 TopicSummary& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline TopicUserExperienceVersion GetUserExperienceVersion() const { return m_userExperienceVersion; }
95 inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; }
97 m_userExperienceVersionHasBeenSet = true;
98 m_userExperienceVersion = value;
99 }
102 return *this;
103 }
105 private:
106 Aws::String m_arn;
107
108 Aws::String m_topicId;
109
110 Aws::String m_name;
111
113 bool m_arnHasBeenSet = false;
114 bool m_topicIdHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_userExperienceVersionHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace QuickSight
121} // namespace Aws
AWS_QUICKSIGHT_API TopicSummary()=default
void SetUserExperienceVersion(TopicUserExperienceVersion value)
TopicSummary & WithName(NameT &&value)
TopicSummary & WithTopicId(TopicIdT &&value)
TopicSummary & WithUserExperienceVersion(TopicUserExperienceVersion value)
AWS_QUICKSIGHT_API TopicSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
const Aws::String & GetTopicId() const
void SetTopicId(TopicIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicUserExperienceVersion GetUserExperienceVersion() const
AWS_QUICKSIGHT_API TopicSummary(Aws::Utils::Json::JsonView jsonValue)
TopicSummary & WithArn(ArnT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue