AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateTopicRefreshScheduleRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/TopicRefreshSchedule.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API CreateTopicRefreshScheduleRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateTopicRefreshSchedule"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template<typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
45 template<typename AwsAccountIdT = Aws::String>
46 CreateTopicRefreshScheduleRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetTopicId() const { return m_topicId; }
55 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
56 template<typename TopicIdT = Aws::String>
57 void SetTopicId(TopicIdT&& value) { m_topicIdHasBeenSet = true; m_topicId = std::forward<TopicIdT>(value); }
58 template<typename TopicIdT = Aws::String>
59 CreateTopicRefreshScheduleRequest& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
67 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
68 template<typename DatasetArnT = Aws::String>
69 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
70 template<typename DatasetArnT = Aws::String>
71 CreateTopicRefreshScheduleRequest& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
79 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
80 template<typename DatasetNameT = Aws::String>
81 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
82 template<typename DatasetNameT = Aws::String>
83 CreateTopicRefreshScheduleRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
85
87
90 inline const TopicRefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
91 inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; }
92 template<typename RefreshScheduleT = TopicRefreshSchedule>
93 void SetRefreshSchedule(RefreshScheduleT&& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = std::forward<RefreshScheduleT>(value); }
94 template<typename RefreshScheduleT = TopicRefreshSchedule>
95 CreateTopicRefreshScheduleRequest& WithRefreshSchedule(RefreshScheduleT&& value) { SetRefreshSchedule(std::forward<RefreshScheduleT>(value)); return *this;}
97 private:
98
99 Aws::String m_awsAccountId;
100 bool m_awsAccountIdHasBeenSet = false;
101
102 Aws::String m_topicId;
103 bool m_topicIdHasBeenSet = false;
104
105 Aws::String m_datasetArn;
106 bool m_datasetArnHasBeenSet = false;
107
108 Aws::String m_datasetName;
109 bool m_datasetNameHasBeenSet = false;
110
111 TopicRefreshSchedule m_refreshSchedule;
112 bool m_refreshScheduleHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace QuickSight
117} // 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