AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
44 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
45 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
47 inline CreateTopicRefreshScheduleRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
48 inline CreateTopicRefreshScheduleRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
50
52
56 inline const Aws::String& GetTopicId() const{ return m_topicId; }
57 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
58 inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; }
59 inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); }
60 inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); }
61 inline CreateTopicRefreshScheduleRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
62 inline CreateTopicRefreshScheduleRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
63 inline CreateTopicRefreshScheduleRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;}
65
67
70 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
71 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
72 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
73 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
74 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
75 inline CreateTopicRefreshScheduleRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
76 inline CreateTopicRefreshScheduleRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
77 inline CreateTopicRefreshScheduleRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
79
81
84 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
85 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
86 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
87 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
88 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
89 inline CreateTopicRefreshScheduleRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
90 inline CreateTopicRefreshScheduleRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
91 inline CreateTopicRefreshScheduleRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
93
95
98 inline const TopicRefreshSchedule& GetRefreshSchedule() const{ return m_refreshSchedule; }
99 inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; }
100 inline void SetRefreshSchedule(const TopicRefreshSchedule& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = value; }
101 inline void SetRefreshSchedule(TopicRefreshSchedule&& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = std::move(value); }
105 private:
106
107 Aws::String m_awsAccountId;
108 bool m_awsAccountIdHasBeenSet = false;
109
110 Aws::String m_topicId;
111 bool m_topicIdHasBeenSet = false;
112
113 Aws::String m_datasetArn;
114 bool m_datasetArnHasBeenSet = false;
115
116 Aws::String m_datasetName;
117 bool m_datasetNameHasBeenSet = false;
118
119 TopicRefreshSchedule m_refreshSchedule;
120 bool m_refreshScheduleHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateTopicRefreshScheduleRequest & WithRefreshSchedule(const TopicRefreshSchedule &value)
CreateTopicRefreshScheduleRequest & WithTopicId(const char *value)
CreateTopicRefreshScheduleRequest & WithAwsAccountId(const char *value)
CreateTopicRefreshScheduleRequest & WithAwsAccountId(Aws::String &&value)
CreateTopicRefreshScheduleRequest & WithDatasetArn(const char *value)
CreateTopicRefreshScheduleRequest & WithDatasetName(const char *value)
CreateTopicRefreshScheduleRequest & WithDatasetName(const Aws::String &value)
CreateTopicRefreshScheduleRequest & WithDatasetArn(const Aws::String &value)
CreateTopicRefreshScheduleRequest & WithDatasetName(Aws::String &&value)
CreateTopicRefreshScheduleRequest & WithAwsAccountId(const Aws::String &value)
CreateTopicRefreshScheduleRequest & WithTopicId(Aws::String &&value)
CreateTopicRefreshScheduleRequest & WithDatasetArn(Aws::String &&value)
CreateTopicRefreshScheduleRequest & WithRefreshSchedule(TopicRefreshSchedule &&value)
CreateTopicRefreshScheduleRequest & WithTopicId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String