AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAnalysisRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API DeleteAnalysisRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteAnalysis"; }
35
36 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
47 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 template<typename AwsAccountIdT = Aws::String>
49 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
50 template<typename AwsAccountIdT = Aws::String>
51 DeleteAnalysisRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
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) { m_analysisIdHasBeenSet = true; m_analysisId = std::forward<AnalysisIdT>(value); }
62 template<typename AnalysisIdT = Aws::String>
63 DeleteAnalysisRequest& WithAnalysisId(AnalysisIdT&& value) { SetAnalysisId(std::forward<AnalysisIdT>(value)); return *this;}
65
67
73 inline long long GetRecoveryWindowInDays() const { return m_recoveryWindowInDays; }
74 inline bool RecoveryWindowInDaysHasBeenSet() const { return m_recoveryWindowInDaysHasBeenSet; }
75 inline void SetRecoveryWindowInDays(long long value) { m_recoveryWindowInDaysHasBeenSet = true; m_recoveryWindowInDays = value; }
76 inline DeleteAnalysisRequest& WithRecoveryWindowInDays(long long value) { SetRecoveryWindowInDays(value); return *this;}
78
80
86 inline bool GetForceDeleteWithoutRecovery() const { return m_forceDeleteWithoutRecovery; }
87 inline bool ForceDeleteWithoutRecoveryHasBeenSet() const { return m_forceDeleteWithoutRecoveryHasBeenSet; }
88 inline void SetForceDeleteWithoutRecovery(bool value) { m_forceDeleteWithoutRecoveryHasBeenSet = true; m_forceDeleteWithoutRecovery = value; }
91 private:
92
93 Aws::String m_awsAccountId;
94 bool m_awsAccountIdHasBeenSet = false;
95
96 Aws::String m_analysisId;
97 bool m_analysisIdHasBeenSet = false;
98
99 long long m_recoveryWindowInDays{0};
100 bool m_recoveryWindowInDaysHasBeenSet = false;
101
102 bool m_forceDeleteWithoutRecovery{false};
103 bool m_forceDeleteWithoutRecoveryHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace QuickSight
108} // 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