AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline TopicSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline TopicSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline TopicSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
60 inline const Aws::String& GetTopicId() const{ return m_topicId; }
61 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
62 inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; }
63 inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); }
64 inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); }
65 inline TopicSummary& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
66 inline TopicSummary& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
67 inline TopicSummary& WithTopicId(const char* value) { SetTopicId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline TopicSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline TopicSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline TopicSummary& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const TopicUserExperienceVersion& GetUserExperienceVersion() const{ return m_userExperienceVersion; }
89 inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; }
90 inline void SetUserExperienceVersion(const TopicUserExperienceVersion& value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = value; }
91 inline void SetUserExperienceVersion(TopicUserExperienceVersion&& value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = std::move(value); }
95 private:
96
97 Aws::String m_arn;
98 bool m_arnHasBeenSet = false;
99
100 Aws::String m_topicId;
101 bool m_topicIdHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 TopicUserExperienceVersion m_userExperienceVersion;
107 bool m_userExperienceVersionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
TopicSummary & WithName(const Aws::String &value)
TopicSummary & WithArn(const Aws::String &value)
void SetUserExperienceVersion(TopicUserExperienceVersion &&value)
void SetArn(Aws::String &&value)
void SetTopicId(Aws::String &&value)
TopicSummary & WithTopicId(const Aws::String &value)
AWS_QUICKSIGHT_API TopicSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
TopicSummary & WithName(const char *value)
void SetTopicId(const Aws::String &value)
TopicSummary & WithUserExperienceVersion(const TopicUserExperienceVersion &value)
const Aws::String & GetTopicId() const
TopicSummary & WithName(Aws::String &&value)
const TopicUserExperienceVersion & GetUserExperienceVersion() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicSummary & WithTopicId(const char *value)
void SetName(const Aws::String &value)
void SetName(const char *value)
void SetTopicId(const char *value)
TopicSummary & WithUserExperienceVersion(TopicUserExperienceVersion &&value)
TopicSummary & WithTopicId(Aws::String &&value)
AWS_QUICKSIGHT_API TopicSummary(Aws::Utils::Json::JsonView jsonValue)
TopicSummary & WithArn(Aws::String &&value)
void SetUserExperienceVersion(const TopicUserExperienceVersion &value)
void SetArn(const char *value)
const Aws::String & GetName() const
TopicSummary & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue