AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteAnalysisRequest.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 DeleteAnalysisRequest() = 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 "DeleteAnalysis"; }
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
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template <typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) {
45 m_awsAccountIdHasBeenSet = true;
46 m_awsAccountId = std::forward<AwsAccountIdT>(value);
47 }
48 template <typename AwsAccountIdT = Aws::String>
49 DeleteAnalysisRequest& WithAwsAccountId(AwsAccountIdT&& value) {
50 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAnalysisId() const { return m_analysisId; }
60 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
61 template <typename AnalysisIdT = Aws::String>
62 void SetAnalysisId(AnalysisIdT&& value) {
63 m_analysisIdHasBeenSet = true;
64 m_analysisId = std::forward<AnalysisIdT>(value);
65 }
66 template <typename AnalysisIdT = Aws::String>
67 DeleteAnalysisRequest& WithAnalysisId(AnalysisIdT&& value) {
68 SetAnalysisId(std::forward<AnalysisIdT>(value));
69 return *this;
70 }
72
74
80 inline long long GetRecoveryWindowInDays() const { return m_recoveryWindowInDays; }
81 inline bool RecoveryWindowInDaysHasBeenSet() const { return m_recoveryWindowInDaysHasBeenSet; }
82 inline void SetRecoveryWindowInDays(long long value) {
83 m_recoveryWindowInDaysHasBeenSet = true;
84 m_recoveryWindowInDays = value;
85 }
88 return *this;
89 }
91
93
99 inline bool GetForceDeleteWithoutRecovery() const { return m_forceDeleteWithoutRecovery; }
100 inline bool ForceDeleteWithoutRecoveryHasBeenSet() const { return m_forceDeleteWithoutRecoveryHasBeenSet; }
101 inline void SetForceDeleteWithoutRecovery(bool value) {
102 m_forceDeleteWithoutRecoveryHasBeenSet = true;
103 m_forceDeleteWithoutRecovery = value;
104 }
107 return *this;
108 }
110 private:
111 Aws::String m_awsAccountId;
112
113 Aws::String m_analysisId;
114
115 long long m_recoveryWindowInDays{0};
116
117 bool m_forceDeleteWithoutRecovery{false};
118 bool m_awsAccountIdHasBeenSet = false;
119 bool m_analysisIdHasBeenSet = false;
120 bool m_recoveryWindowInDaysHasBeenSet = false;
121 bool m_forceDeleteWithoutRecoveryHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAnalysisRequest & WithAnalysisId(AnalysisIdT &&value)
DeleteAnalysisRequest & WithForceDeleteWithoutRecovery(bool value)
DeleteAnalysisRequest & WithAwsAccountId(AwsAccountIdT &&value)
DeleteAnalysisRequest & WithRecoveryWindowInDays(long long value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API DeleteAnalysisRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String