AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteAnalysisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace QuickSight
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
45 
49  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
50 
54  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
55 
59  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
60 
64  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
65 
69  inline DeleteAnalysisRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
74  inline DeleteAnalysisRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
75 
79  inline DeleteAnalysisRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
80 
81 
85  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
86 
90  inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
91 
95  inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
96 
100  inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
101 
105  inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
106 
110  inline DeleteAnalysisRequest& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
111 
115  inline DeleteAnalysisRequest& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
116 
120  inline DeleteAnalysisRequest& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
121 
122 
129  inline long long GetRecoveryWindowInDays() const{ return m_recoveryWindowInDays; }
130 
137  inline bool RecoveryWindowInDaysHasBeenSet() const { return m_recoveryWindowInDaysHasBeenSet; }
138 
145  inline void SetRecoveryWindowInDays(long long value) { m_recoveryWindowInDaysHasBeenSet = true; m_recoveryWindowInDays = value; }
146 
153  inline DeleteAnalysisRequest& WithRecoveryWindowInDays(long long value) { SetRecoveryWindowInDays(value); return *this;}
154 
155 
162  inline bool GetForceDeleteWithoutRecovery() const{ return m_forceDeleteWithoutRecovery; }
163 
170  inline bool ForceDeleteWithoutRecoveryHasBeenSet() const { return m_forceDeleteWithoutRecoveryHasBeenSet; }
171 
178  inline void SetForceDeleteWithoutRecovery(bool value) { m_forceDeleteWithoutRecoveryHasBeenSet = true; m_forceDeleteWithoutRecovery = value; }
179 
186  inline DeleteAnalysisRequest& WithForceDeleteWithoutRecovery(bool value) { SetForceDeleteWithoutRecovery(value); return *this;}
187 
188  private:
189 
190  Aws::String m_awsAccountId;
191  bool m_awsAccountIdHasBeenSet;
192 
193  Aws::String m_analysisId;
194  bool m_analysisIdHasBeenSet;
195 
196  long long m_recoveryWindowInDays;
197  bool m_recoveryWindowInDaysHasBeenSet;
198 
199  bool m_forceDeleteWithoutRecovery;
200  bool m_forceDeleteWithoutRecoveryHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace QuickSight
205 } // namespace Aws
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAnalysisId
DeleteAnalysisRequest & WithAnalysisId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:110
Aws::QuickSight::Model::DeleteAnalysisRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteAnalysisRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::QuickSight::Model::DeleteAnalysisRequest::SetForceDeleteWithoutRecovery
void SetForceDeleteWithoutRecovery(bool value)
Definition: DeleteAnalysisRequest.h:178
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteAnalysisRequest::RecoveryWindowInDaysHasBeenSet
bool RecoveryWindowInDaysHasBeenSet() const
Definition: DeleteAnalysisRequest.h:137
Aws::QuickSight::Model::DeleteAnalysisRequest::AnalysisIdHasBeenSet
bool AnalysisIdHasBeenSet() const
Definition: DeleteAnalysisRequest.h:90
Aws::QuickSight::Model::DeleteAnalysisRequest::GetRecoveryWindowInDays
long long GetRecoveryWindowInDays() const
Definition: DeleteAnalysisRequest.h:129
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAwsAccountId
DeleteAnalysisRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:74
Aws::QuickSight::Model::DeleteAnalysisRequest::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: DeleteAnalysisRequest.h:85
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: DeleteAnalysisRequest.h:105
Aws::QuickSight::Model::DeleteAnalysisRequest::GetForceDeleteWithoutRecovery
bool GetForceDeleteWithoutRecovery() const
Definition: DeleteAnalysisRequest.h:162
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:54
Aws::QuickSight::Model::DeleteAnalysisRequest::DeleteAnalysisRequest
DeleteAnalysisRequest()
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAnalysisId
DeleteAnalysisRequest & WithAnalysisId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:115
Aws::QuickSight::Model::DeleteAnalysisRequest::ForceDeleteWithoutRecoveryHasBeenSet
bool ForceDeleteWithoutRecoveryHasBeenSet() const
Definition: DeleteAnalysisRequest.h:170
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAwsAccountId
DeleteAnalysisRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:69
Aws::QuickSight::Model::DeleteAnalysisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:59
Aws::QuickSight::Model::DeleteAnalysisRequest::WithForceDeleteWithoutRecovery
DeleteAnalysisRequest & WithForceDeleteWithoutRecovery(bool value)
Definition: DeleteAnalysisRequest.h:186
Aws::QuickSight::Model::DeleteAnalysisRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAnalysisId
DeleteAnalysisRequest & WithAnalysisId(const char *value)
Definition: DeleteAnalysisRequest.h:120
QuickSightRequest.h
Aws::QuickSight::Model::DeleteAnalysisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAnalysisRequest.h:34
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:95
AWSString.h
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:100
Aws::QuickSight::Model::DeleteAnalysisRequest::WithRecoveryWindowInDays
DeleteAnalysisRequest & WithRecoveryWindowInDays(long long value)
Definition: DeleteAnalysisRequest.h:153
Aws::QuickSight::Model::DeleteAnalysisRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteAnalysisRequest.h:44
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteAnalysisRequest
Definition: DeleteAnalysisRequest.h:26
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteAnalysisRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAwsAccountId
DeleteAnalysisRequest & WithAwsAccountId(const char *value)
Definition: DeleteAnalysisRequest.h:79
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteAnalysisRequest::SetRecoveryWindowInDays
void SetRecoveryWindowInDays(long long value)
Definition: DeleteAnalysisRequest.h:145