AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateTopicRefreshScheduleRequest.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 CreateTopicRefreshScheduleRequest() = 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 "CreateTopicRefreshSchedule"; }
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& GetDatasetArn() const { return m_datasetArn; }
75 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
76 template <typename DatasetArnT = Aws::String>
77 void SetDatasetArn(DatasetArnT&& value) {
78 m_datasetArnHasBeenSet = true;
79 m_datasetArn = std::forward<DatasetArnT>(value);
80 }
81 template <typename DatasetArnT = Aws::String>
83 SetDatasetArn(std::forward<DatasetArnT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
93 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
94 template <typename DatasetNameT = Aws::String>
95 void SetDatasetName(DatasetNameT&& value) {
96 m_datasetNameHasBeenSet = true;
97 m_datasetName = std::forward<DatasetNameT>(value);
98 }
99 template <typename DatasetNameT = Aws::String>
101 SetDatasetName(std::forward<DatasetNameT>(value));
102 return *this;
103 }
105
107
110 inline const TopicRefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
111 inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; }
112 template <typename RefreshScheduleT = TopicRefreshSchedule>
113 void SetRefreshSchedule(RefreshScheduleT&& value) {
114 m_refreshScheduleHasBeenSet = true;
115 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
116 }
117 template <typename RefreshScheduleT = TopicRefreshSchedule>
119 SetRefreshSchedule(std::forward<RefreshScheduleT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_awsAccountId;
125
126 Aws::String m_topicId;
127
128 Aws::String m_datasetArn;
129
130 Aws::String m_datasetName;
131
132 TopicRefreshSchedule m_refreshSchedule;
133 bool m_awsAccountIdHasBeenSet = false;
134 bool m_topicIdHasBeenSet = false;
135 bool m_datasetArnHasBeenSet = false;
136 bool m_datasetNameHasBeenSet = false;
137 bool m_refreshScheduleHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace QuickSight
142} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API CreateTopicRefreshScheduleRequest()=default
CreateTopicRefreshScheduleRequest & WithDatasetArn(DatasetArnT &&value)
CreateTopicRefreshScheduleRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateTopicRefreshScheduleRequest & WithRefreshSchedule(RefreshScheduleT &&value)
CreateTopicRefreshScheduleRequest & WithDatasetName(DatasetNameT &&value)
CreateTopicRefreshScheduleRequest & WithTopicId(TopicIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String