AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartDashboardSnapshotJobRequest.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/SnapshotUserConfiguration.h>
11#include <aws/quicksight/model/SnapshotConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QuickSight
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QUICKSIGHT_API StartDashboardSnapshotJobRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartDashboardSnapshotJob"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 template<typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
46 template<typename AwsAccountIdT = Aws::String>
47 StartDashboardSnapshotJobRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
55 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
56 template<typename DashboardIdT = Aws::String>
57 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
58 template<typename DashboardIdT = Aws::String>
59 StartDashboardSnapshotJobRequest& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
61
63
69 inline const Aws::String& GetSnapshotJobId() const { return m_snapshotJobId; }
70 inline bool SnapshotJobIdHasBeenSet() const { return m_snapshotJobIdHasBeenSet; }
71 template<typename SnapshotJobIdT = Aws::String>
72 void SetSnapshotJobId(SnapshotJobIdT&& value) { m_snapshotJobIdHasBeenSet = true; m_snapshotJobId = std::forward<SnapshotJobIdT>(value); }
73 template<typename SnapshotJobIdT = Aws::String>
74 StartDashboardSnapshotJobRequest& WithSnapshotJobId(SnapshotJobIdT&& value) { SetSnapshotJobId(std::forward<SnapshotJobIdT>(value)); return *this;}
76
78
83 inline const SnapshotUserConfiguration& GetUserConfiguration() const { return m_userConfiguration; }
84 inline bool UserConfigurationHasBeenSet() const { return m_userConfigurationHasBeenSet; }
85 template<typename UserConfigurationT = SnapshotUserConfiguration>
86 void SetUserConfiguration(UserConfigurationT&& value) { m_userConfigurationHasBeenSet = true; m_userConfiguration = std::forward<UserConfigurationT>(value); }
87 template<typename UserConfigurationT = SnapshotUserConfiguration>
88 StartDashboardSnapshotJobRequest& WithUserConfiguration(UserConfigurationT&& value) { SetUserConfiguration(std::forward<UserConfigurationT>(value)); return *this;}
90
92
95 inline const SnapshotConfiguration& GetSnapshotConfiguration() const { return m_snapshotConfiguration; }
96 inline bool SnapshotConfigurationHasBeenSet() const { return m_snapshotConfigurationHasBeenSet; }
97 template<typename SnapshotConfigurationT = SnapshotConfiguration>
98 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet = true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
99 template<typename SnapshotConfigurationT = SnapshotConfiguration>
100 StartDashboardSnapshotJobRequest& WithSnapshotConfiguration(SnapshotConfigurationT&& value) { SetSnapshotConfiguration(std::forward<SnapshotConfigurationT>(value)); return *this;}
102 private:
103
104 Aws::String m_awsAccountId;
105 bool m_awsAccountIdHasBeenSet = false;
106
107 Aws::String m_dashboardId;
108 bool m_dashboardIdHasBeenSet = false;
109
110 Aws::String m_snapshotJobId;
111 bool m_snapshotJobIdHasBeenSet = false;
112
113 SnapshotUserConfiguration m_userConfiguration;
114 bool m_userConfigurationHasBeenSet = false;
115
116 SnapshotConfiguration m_snapshotConfiguration;
117 bool m_snapshotConfigurationHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API StartDashboardSnapshotJobRequest()=default
StartDashboardSnapshotJobRequest & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
StartDashboardSnapshotJobRequest & WithSnapshotJobId(SnapshotJobIdT &&value)
StartDashboardSnapshotJobRequest & WithDashboardId(DashboardIdT &&value)
StartDashboardSnapshotJobRequest & WithUserConfiguration(UserConfigurationT &&value)
StartDashboardSnapshotJobRequest & WithAwsAccountId(AwsAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String