AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TopicRefreshDetails.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/TopicRefreshStatus.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 TopicRefreshDetails() = default;
31 AWS_QUICKSIGHT_API TopicRefreshDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetRefreshArn() const { return m_refreshArn; }
40 inline bool RefreshArnHasBeenSet() const { return m_refreshArnHasBeenSet; }
41 template <typename RefreshArnT = Aws::String>
42 void SetRefreshArn(RefreshArnT&& value) {
43 m_refreshArnHasBeenSet = true;
44 m_refreshArn = std::forward<RefreshArnT>(value);
45 }
46 template <typename RefreshArnT = Aws::String>
47 TopicRefreshDetails& WithRefreshArn(RefreshArnT&& value) {
48 SetRefreshArn(std::forward<RefreshArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetRefreshId() const { return m_refreshId; }
59 inline bool RefreshIdHasBeenSet() const { return m_refreshIdHasBeenSet; }
60 template <typename RefreshIdT = Aws::String>
61 void SetRefreshId(RefreshIdT&& value) {
62 m_refreshIdHasBeenSet = true;
63 m_refreshId = std::forward<RefreshIdT>(value);
64 }
65 template <typename RefreshIdT = Aws::String>
66 TopicRefreshDetails& WithRefreshId(RefreshIdT&& value) {
67 SetRefreshId(std::forward<RefreshIdT>(value));
68 return *this;
69 }
71
73
77 inline TopicRefreshStatus GetRefreshStatus() const { return m_refreshStatus; }
78 inline bool RefreshStatusHasBeenSet() const { return m_refreshStatusHasBeenSet; }
80 m_refreshStatusHasBeenSet = true;
81 m_refreshStatus = value;
82 }
84 SetRefreshStatus(value);
85 return *this;
86 }
88 private:
89 Aws::String m_refreshArn;
90
91 Aws::String m_refreshId;
92
94 bool m_refreshArnHasBeenSet = false;
95 bool m_refreshIdHasBeenSet = false;
96 bool m_refreshStatusHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
AWS_QUICKSIGHT_API TopicRefreshDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicRefreshDetails & WithRefreshId(RefreshIdT &&value)
AWS_QUICKSIGHT_API TopicRefreshDetails()=default
TopicRefreshDetails & WithRefreshArn(RefreshArnT &&value)
TopicRefreshDetails & WithRefreshStatus(TopicRefreshStatus value)
AWS_QUICKSIGHT_API TopicRefreshDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRefreshStatus(TopicRefreshStatus value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue