AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateTopicRefreshScheduleRequest.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 UpdateTopicRefreshScheduleRequest() = 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 "UpdateTopicRefreshSchedule"; }
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 UpdateTopicRefreshScheduleRequest& 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 UpdateTopicRefreshScheduleRequest& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDatasetId() const { return m_datasetId; }
67 inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; }
68 template<typename DatasetIdT = Aws::String>
69 void SetDatasetId(DatasetIdT&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::forward<DatasetIdT>(value); }
70 template<typename DatasetIdT = Aws::String>
71 UpdateTopicRefreshScheduleRequest& WithDatasetId(DatasetIdT&& value) { SetDatasetId(std::forward<DatasetIdT>(value)); return *this;}
73
75
78 inline const TopicRefreshSchedule& GetRefreshSchedule() const { return m_refreshSchedule; }
79 inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; }
80 template<typename RefreshScheduleT = TopicRefreshSchedule>
81 void SetRefreshSchedule(RefreshScheduleT&& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = std::forward<RefreshScheduleT>(value); }
82 template<typename RefreshScheduleT = TopicRefreshSchedule>
83 UpdateTopicRefreshScheduleRequest& WithRefreshSchedule(RefreshScheduleT&& value) { SetRefreshSchedule(std::forward<RefreshScheduleT>(value)); return *this;}
85 private:
86
87 Aws::String m_awsAccountId;
88 bool m_awsAccountIdHasBeenSet = false;
89
90 Aws::String m_topicId;
91 bool m_topicIdHasBeenSet = false;
92
93 Aws::String m_datasetId;
94 bool m_datasetIdHasBeenSet = false;
95
96 TopicRefreshSchedule m_refreshSchedule;
97 bool m_refreshScheduleHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace QuickSight
102} // 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