AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
TopicV2Summary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API TopicV2Summary() = default;
30 AWS_QUICKSIGHT_API TopicV2Summary(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API TopicV2Summary& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
46 TopicV2Summary& WithArn(ArnT&& value) {
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetTopicId() const { return m_topicId; }
58 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
59 template <typename TopicIdT = Aws::String>
60 void SetTopicId(TopicIdT&& value) {
61 m_topicIdHasBeenSet = true;
62 m_topicId = std::forward<TopicIdT>(value);
63 }
64 template <typename TopicIdT = Aws::String>
65 TopicV2Summary& WithTopicId(TopicIdT&& value) {
66 SetTopicId(std::forward<TopicIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 TopicV2Summary& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_arn;
90
91 Aws::String m_topicId;
92
93 Aws::String m_name;
94 bool m_arnHasBeenSet = false;
95 bool m_topicIdHasBeenSet = false;
96 bool m_nameHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
AWS_QUICKSIGHT_API TopicV2Summary(Aws::Utils::Json::JsonView jsonValue)
TopicV2Summary & WithArn(ArnT &&value)
TopicV2Summary & WithName(NameT &&value)
const Aws::String & GetTopicId() const
const Aws::String & GetArn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicV2Summary & WithTopicId(TopicIdT &&value)
AWS_QUICKSIGHT_API TopicV2Summary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TopicV2Summary()=default
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue