AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartDashboardSnapshotJobScheduleRequest.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 <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QUICKSIGHT_API StartDashboardSnapshotJobScheduleRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartDashboardSnapshotJobSchedule"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
41 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
42 template<typename AwsAccountIdT = Aws::String>
43 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
44 template<typename AwsAccountIdT = Aws::String>
45 StartDashboardSnapshotJobScheduleRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
54 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
55 template<typename DashboardIdT = Aws::String>
56 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
57 template<typename DashboardIdT = Aws::String>
58 StartDashboardSnapshotJobScheduleRequest& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
60
62
67 inline const Aws::String& GetScheduleId() const { return m_scheduleId; }
68 inline bool ScheduleIdHasBeenSet() const { return m_scheduleIdHasBeenSet; }
69 template<typename ScheduleIdT = Aws::String>
70 void SetScheduleId(ScheduleIdT&& value) { m_scheduleIdHasBeenSet = true; m_scheduleId = std::forward<ScheduleIdT>(value); }
71 template<typename ScheduleIdT = Aws::String>
72 StartDashboardSnapshotJobScheduleRequest& WithScheduleId(ScheduleIdT&& value) { SetScheduleId(std::forward<ScheduleIdT>(value)); return *this;}
74 private:
75
76 Aws::String m_awsAccountId;
77 bool m_awsAccountIdHasBeenSet = false;
78
79 Aws::String m_dashboardId;
80 bool m_dashboardIdHasBeenSet = false;
81
82 Aws::String m_scheduleId;
83 bool m_scheduleIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace QuickSight
88} // namespace Aws
StartDashboardSnapshotJobScheduleRequest & WithDashboardId(DashboardIdT &&value)
StartDashboardSnapshotJobScheduleRequest & WithAwsAccountId(AwsAccountIdT &&value)
StartDashboardSnapshotJobScheduleRequest & WithScheduleId(ScheduleIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String