AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopicSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TopicUserExperienceVersion.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 QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API TopicSummary() = default;
36 AWS_QUICKSIGHT_API TopicSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API TopicSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 TopicSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_topicIdHasBeenSet = true; m_topicId = std::forward<TopicIdT>(value); }
62 template<typename TopicIdT = Aws::String>
63 TopicSummary& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 TopicSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline TopicUserExperienceVersion GetUserExperienceVersion() const { return m_userExperienceVersion; }
83 inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; }
84 inline void SetUserExperienceVersion(TopicUserExperienceVersion value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = value; }
87 private:
88
89 Aws::String m_arn;
90 bool m_arnHasBeenSet = false;
91
92 Aws::String m_topicId;
93 bool m_topicIdHasBeenSet = false;
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
99 bool m_userExperienceVersionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QuickSight
104} // 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