AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateRefreshScheduleRequest.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/RefreshSchedule.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API CreateRefreshScheduleRequest() = 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 "CreateRefreshSchedule"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
41 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
42 template<typename DataSetIdT = Aws::String>
43 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::forward<DataSetIdT>(value); }
44 template<typename DataSetIdT = Aws::String>
45 CreateRefreshScheduleRequest& WithDataSetId(DataSetIdT&& value) { SetDataSetId(std::forward<DataSetIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
53 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
54 template<typename AwsAccountIdT = Aws::String>
55 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
56 template<typename AwsAccountIdT = Aws::String>
57 CreateRefreshScheduleRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
59
61
64 inline const RefreshSchedule& GetSchedule() const { return m_schedule; }
65 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
66 template<typename ScheduleT = RefreshSchedule>
67 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
68 template<typename ScheduleT = RefreshSchedule>
69 CreateRefreshScheduleRequest& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
71 private:
72
73 Aws::String m_dataSetId;
74 bool m_dataSetIdHasBeenSet = false;
75
76 Aws::String m_awsAccountId;
77 bool m_awsAccountIdHasBeenSet = false;
78
79 RefreshSchedule m_schedule;
80 bool m_scheduleHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace QuickSight
85} // 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