AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
43 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
44 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
45 inline CreateRefreshScheduleRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
46 inline CreateRefreshScheduleRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
47 inline CreateRefreshScheduleRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
49
51
54 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
55 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
56 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
57 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
59 inline CreateRefreshScheduleRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
60 inline CreateRefreshScheduleRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
61 inline CreateRefreshScheduleRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
63
65
68 inline const RefreshSchedule& GetSchedule() const{ return m_schedule; }
69 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
70 inline void SetSchedule(const RefreshSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
71 inline void SetSchedule(RefreshSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
72 inline CreateRefreshScheduleRequest& WithSchedule(const RefreshSchedule& value) { SetSchedule(value); return *this;}
73 inline CreateRefreshScheduleRequest& WithSchedule(RefreshSchedule&& value) { SetSchedule(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_dataSetId;
78 bool m_dataSetIdHasBeenSet = false;
79
80 Aws::String m_awsAccountId;
81 bool m_awsAccountIdHasBeenSet = false;
82
83 RefreshSchedule m_schedule;
84 bool m_scheduleHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
CreateRefreshScheduleRequest & WithAwsAccountId(Aws::String &&value)
CreateRefreshScheduleRequest & WithSchedule(RefreshSchedule &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateRefreshScheduleRequest & WithDataSetId(const Aws::String &value)
CreateRefreshScheduleRequest & WithDataSetId(Aws::String &&value)
CreateRefreshScheduleRequest & WithAwsAccountId(const char *value)
CreateRefreshScheduleRequest & WithSchedule(const RefreshSchedule &value)
CreateRefreshScheduleRequest & WithDataSetId(const char *value)
CreateRefreshScheduleRequest & WithAwsAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String