AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateRefreshScheduleRequest.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/RefreshSchedule.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API CreateRefreshScheduleRequest() = 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 "CreateRefreshSchedule"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
37 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
38 template <typename DataSetIdT = Aws::String>
39 void SetDataSetId(DataSetIdT&& value) {
40 m_dataSetIdHasBeenSet = true;
41 m_dataSetId = std::forward<DataSetIdT>(value);
42 }
43 template <typename DataSetIdT = Aws::String>
45 SetDataSetId(std::forward<DataSetIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
55 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
56 template <typename AwsAccountIdT = Aws::String>
57 void SetAwsAccountId(AwsAccountIdT&& value) {
58 m_awsAccountIdHasBeenSet = true;
59 m_awsAccountId = std::forward<AwsAccountIdT>(value);
60 }
61 template <typename AwsAccountIdT = Aws::String>
63 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
64 return *this;
65 }
67
69
72 inline const RefreshSchedule& GetSchedule() const { return m_schedule; }
73 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
74 template <typename ScheduleT = RefreshSchedule>
75 void SetSchedule(ScheduleT&& value) {
76 m_scheduleHasBeenSet = true;
77 m_schedule = std::forward<ScheduleT>(value);
78 }
79 template <typename ScheduleT = RefreshSchedule>
81 SetSchedule(std::forward<ScheduleT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_dataSetId;
87
88 Aws::String m_awsAccountId;
89
90 RefreshSchedule m_schedule;
91 bool m_dataSetIdHasBeenSet = false;
92 bool m_awsAccountIdHasBeenSet = false;
93 bool m_scheduleHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateRefreshScheduleRequest & WithSchedule(ScheduleT &&value)
CreateRefreshScheduleRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateRefreshScheduleRequest & WithDataSetId(DataSetIdT &&value)
AWS_QUICKSIGHT_API CreateRefreshScheduleRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String