AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
StartDashboardSnapshotJobRequest.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/SnapshotConfiguration.h>
11#include <aws/quicksight/model/SnapshotUserConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API StartDashboardSnapshotJobRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartDashboardSnapshotJob"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
57 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
58 template <typename DashboardIdT = Aws::String>
59 void SetDashboardId(DashboardIdT&& value) {
60 m_dashboardIdHasBeenSet = true;
61 m_dashboardId = std::forward<DashboardIdT>(value);
62 }
63 template <typename DashboardIdT = Aws::String>
65 SetDashboardId(std::forward<DashboardIdT>(value));
66 return *this;
67 }
69
71
77 inline const Aws::String& GetSnapshotJobId() const { return m_snapshotJobId; }
78 inline bool SnapshotJobIdHasBeenSet() const { return m_snapshotJobIdHasBeenSet; }
79 template <typename SnapshotJobIdT = Aws::String>
80 void SetSnapshotJobId(SnapshotJobIdT&& value) {
81 m_snapshotJobIdHasBeenSet = true;
82 m_snapshotJobId = std::forward<SnapshotJobIdT>(value);
83 }
84 template <typename SnapshotJobIdT = Aws::String>
86 SetSnapshotJobId(std::forward<SnapshotJobIdT>(value));
87 return *this;
88 }
90
92
100 inline const SnapshotUserConfiguration& GetUserConfiguration() const { return m_userConfiguration; }
101 inline bool UserConfigurationHasBeenSet() const { return m_userConfigurationHasBeenSet; }
102 template <typename UserConfigurationT = SnapshotUserConfiguration>
103 void SetUserConfiguration(UserConfigurationT&& value) {
104 m_userConfigurationHasBeenSet = true;
105 m_userConfiguration = std::forward<UserConfigurationT>(value);
106 }
107 template <typename UserConfigurationT = SnapshotUserConfiguration>
109 SetUserConfiguration(std::forward<UserConfigurationT>(value));
110 return *this;
111 }
113
115
118 inline const SnapshotConfiguration& GetSnapshotConfiguration() const { return m_snapshotConfiguration; }
119 inline bool SnapshotConfigurationHasBeenSet() const { return m_snapshotConfigurationHasBeenSet; }
120 template <typename SnapshotConfigurationT = SnapshotConfiguration>
121 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) {
122 m_snapshotConfigurationHasBeenSet = true;
123 m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value);
124 }
125 template <typename SnapshotConfigurationT = SnapshotConfiguration>
127 SetSnapshotConfiguration(std::forward<SnapshotConfigurationT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_awsAccountId;
133
134 Aws::String m_dashboardId;
135
136 Aws::String m_snapshotJobId;
137
138 SnapshotUserConfiguration m_userConfiguration;
139
140 SnapshotConfiguration m_snapshotConfiguration;
141 bool m_awsAccountIdHasBeenSet = false;
142 bool m_dashboardIdHasBeenSet = false;
143 bool m_snapshotJobIdHasBeenSet = false;
144 bool m_userConfigurationHasBeenSet = false;
145 bool m_snapshotConfigurationHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace QuickSight
150} // 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