AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RestoreAnalysisRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API RestoreAnalysisRequest() = 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 "RestoreAnalysis"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
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) {
44 m_awsAccountIdHasBeenSet = true;
45 m_awsAccountId = std::forward<AwsAccountIdT>(value);
46 }
47 template <typename AwsAccountIdT = Aws::String>
48 RestoreAnalysisRequest& WithAwsAccountId(AwsAccountIdT&& value) {
49 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAnalysisId() const { return m_analysisId; }
59 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
60 template <typename AnalysisIdT = Aws::String>
61 void SetAnalysisId(AnalysisIdT&& value) {
62 m_analysisIdHasBeenSet = true;
63 m_analysisId = std::forward<AnalysisIdT>(value);
64 }
65 template <typename AnalysisIdT = Aws::String>
66 RestoreAnalysisRequest& WithAnalysisId(AnalysisIdT&& value) {
67 SetAnalysisId(std::forward<AnalysisIdT>(value));
68 return *this;
69 }
71
73
81 inline bool GetRestoreToFolders() const { return m_restoreToFolders; }
82 inline bool RestoreToFoldersHasBeenSet() const { return m_restoreToFoldersHasBeenSet; }
83 inline void SetRestoreToFolders(bool value) {
84 m_restoreToFoldersHasBeenSet = true;
85 m_restoreToFolders = value;
86 }
89 return *this;
90 }
92 private:
93 Aws::String m_awsAccountId;
94
95 Aws::String m_analysisId;
96
97 bool m_restoreToFolders{false};
98 bool m_awsAccountIdHasBeenSet = false;
99 bool m_analysisIdHasBeenSet = false;
100 bool m_restoreToFoldersHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
AWS_QUICKSIGHT_API RestoreAnalysisRequest()=default
RestoreAnalysisRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
RestoreAnalysisRequest & WithRestoreToFolders(bool value)
RestoreAnalysisRequest & WithAnalysisId(AnalysisIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String