AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateTopicRefreshScheduleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/TopicRefreshSchedule.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API UpdateTopicRefreshScheduleRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateTopicRefreshSchedule"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
38 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetTopicId() const { return m_topicId; }
57 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
58 template <typename TopicIdT = Aws::String>
59 void SetTopicId(TopicIdT&& value) {
60 m_topicIdHasBeenSet = true;
61 m_topicId = std::forward<TopicIdT>(value);
62 }
63 template <typename TopicIdT = Aws::String>
65 SetTopicId(std::forward<TopicIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDatasetId() const { return m_datasetId; }
75 inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; }
76 template <typename DatasetIdT = Aws::String>
77 void SetDatasetId(DatasetIdT&& value) {
78 m_datasetIdHasBeenSet = true;
79 m_datasetId = std::forward<DatasetIdT>(value);
80 }
81 template <typename DatasetIdT = Aws::String>
83 SetDatasetId(std::forward<DatasetIdT>(value));
84 return *this;
85 }
87
89
92 inline const TopicRefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
93 inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; }
94 template <typename RefreshScheduleT = TopicRefreshSchedule>
95 void SetRefreshSchedule(RefreshScheduleT&& value) {
96 m_refreshScheduleHasBeenSet = true;
97 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
98 }
99 template <typename RefreshScheduleT = TopicRefreshSchedule>
101 SetRefreshSchedule(std::forward<RefreshScheduleT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_awsAccountId;
107
108 Aws::String m_topicId;
109
110 Aws::String m_datasetId;
111
112 TopicRefreshSchedule m_refreshSchedule;
113 bool m_awsAccountIdHasBeenSet = false;
114 bool m_topicIdHasBeenSet = false;
115 bool m_datasetIdHasBeenSet = false;
116 bool m_refreshScheduleHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace QuickSight
121} // namespace Aws
UpdateTopicRefreshScheduleRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API UpdateTopicRefreshScheduleRequest()=default
UpdateTopicRefreshScheduleRequest & WithDatasetId(DatasetIdT &&value)
UpdateTopicRefreshScheduleRequest & WithTopicId(TopicIdT &&value)
UpdateTopicRefreshScheduleRequest & WithRefreshSchedule(RefreshScheduleT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String