AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
45 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
46 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
48 inline StartDashboardSnapshotJobRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline StartDashboardSnapshotJobRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
51
53
56 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
57 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
58 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
59 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
60 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
61 inline StartDashboardSnapshotJobRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
62 inline StartDashboardSnapshotJobRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
63 inline StartDashboardSnapshotJobRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
65
67
73 inline const Aws::String& GetSnapshotJobId() const{ return m_snapshotJobId; }
74 inline bool SnapshotJobIdHasBeenSet() const { return m_snapshotJobIdHasBeenSet; }
75 inline void SetSnapshotJobId(const Aws::String& value) { m_snapshotJobIdHasBeenSet = true; m_snapshotJobId = value; }
76 inline void SetSnapshotJobId(Aws::String&& value) { m_snapshotJobIdHasBeenSet = true; m_snapshotJobId = std::move(value); }
77 inline void SetSnapshotJobId(const char* value) { m_snapshotJobIdHasBeenSet = true; m_snapshotJobId.assign(value); }
79 inline StartDashboardSnapshotJobRequest& WithSnapshotJobId(Aws::String&& value) { SetSnapshotJobId(std::move(value)); return *this;}
80 inline StartDashboardSnapshotJobRequest& WithSnapshotJobId(const char* value) { SetSnapshotJobId(value); return *this;}
82
84
89 inline const SnapshotUserConfiguration& GetUserConfiguration() const{ return m_userConfiguration; }
90 inline bool UserConfigurationHasBeenSet() const { return m_userConfigurationHasBeenSet; }
91 inline void SetUserConfiguration(const SnapshotUserConfiguration& value) { m_userConfigurationHasBeenSet = true; m_userConfiguration = value; }
92 inline void SetUserConfiguration(SnapshotUserConfiguration&& value) { m_userConfigurationHasBeenSet = true; m_userConfiguration = std::move(value); }
96
98
101 inline const SnapshotConfiguration& GetSnapshotConfiguration() const{ return m_snapshotConfiguration; }
102 inline bool SnapshotConfigurationHasBeenSet() const { return m_snapshotConfigurationHasBeenSet; }
103 inline void SetSnapshotConfiguration(const SnapshotConfiguration& value) { m_snapshotConfigurationHasBeenSet = true; m_snapshotConfiguration = value; }
104 inline void SetSnapshotConfiguration(SnapshotConfiguration&& value) { m_snapshotConfigurationHasBeenSet = true; m_snapshotConfiguration = std::move(value); }
108 private:
109
110 Aws::String m_awsAccountId;
111 bool m_awsAccountIdHasBeenSet = false;
112
113 Aws::String m_dashboardId;
114 bool m_dashboardIdHasBeenSet = false;
115
116 Aws::String m_snapshotJobId;
117 bool m_snapshotJobIdHasBeenSet = false;
118
119 SnapshotUserConfiguration m_userConfiguration;
120 bool m_userConfigurationHasBeenSet = false;
121
122 SnapshotConfiguration m_snapshotConfiguration;
123 bool m_snapshotConfigurationHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
StartDashboardSnapshotJobRequest & WithUserConfiguration(SnapshotUserConfiguration &&value)
StartDashboardSnapshotJobRequest & WithSnapshotJobId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
StartDashboardSnapshotJobRequest & WithDashboardId(const Aws::String &value)
StartDashboardSnapshotJobRequest & WithDashboardId(Aws::String &&value)
StartDashboardSnapshotJobRequest & WithDashboardId(const char *value)
StartDashboardSnapshotJobRequest & WithAwsAccountId(const char *value)
StartDashboardSnapshotJobRequest & WithUserConfiguration(const SnapshotUserConfiguration &value)
StartDashboardSnapshotJobRequest & WithAwsAccountId(Aws::String &&value)
StartDashboardSnapshotJobRequest & WithSnapshotJobId(const char *value)
StartDashboardSnapshotJobRequest & WithSnapshotConfiguration(const SnapshotConfiguration &value)
StartDashboardSnapshotJobRequest & WithSnapshotJobId(Aws::String &&value)
StartDashboardSnapshotJobRequest & WithAwsAccountId(const Aws::String &value)
StartDashboardSnapshotJobRequest & WithSnapshotConfiguration(SnapshotConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String