AWS SDK for C++  1.9.155
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 
45  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 
51  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
52 
57  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
58 
63  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
64 
69  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
70 
75  inline DeleteAnalysisRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
76 
81  inline DeleteAnalysisRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
82 
87  inline DeleteAnalysisRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
88 
89 
93  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
94 
98  inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
99 
103  inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
104 
108  inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
109 
113  inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
114 
118  inline DeleteAnalysisRequest& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
119 
123  inline DeleteAnalysisRequest& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
124 
128  inline DeleteAnalysisRequest& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
129 
130 
137  inline long long GetRecoveryWindowInDays() const{ return m_recoveryWindowInDays; }
138 
145  inline bool RecoveryWindowInDaysHasBeenSet() const { return m_recoveryWindowInDaysHasBeenSet; }
146 
153  inline void SetRecoveryWindowInDays(long long value) { m_recoveryWindowInDaysHasBeenSet = true; m_recoveryWindowInDays = value; }
154 
161  inline DeleteAnalysisRequest& WithRecoveryWindowInDays(long long value) { SetRecoveryWindowInDays(value); return *this;}
162 
163 
170  inline bool GetForceDeleteWithoutRecovery() const{ return m_forceDeleteWithoutRecovery; }
171 
178  inline bool ForceDeleteWithoutRecoveryHasBeenSet() const { return m_forceDeleteWithoutRecoveryHasBeenSet; }
179 
186  inline void SetForceDeleteWithoutRecovery(bool value) { m_forceDeleteWithoutRecoveryHasBeenSet = true; m_forceDeleteWithoutRecovery = value; }
187 
194  inline DeleteAnalysisRequest& WithForceDeleteWithoutRecovery(bool value) { SetForceDeleteWithoutRecovery(value); return *this;}
195 
196  private:
197 
198  Aws::String m_awsAccountId;
199  bool m_awsAccountIdHasBeenSet;
200 
201  Aws::String m_analysisId;
202  bool m_analysisIdHasBeenSet;
203 
204  long long m_recoveryWindowInDays;
205  bool m_recoveryWindowInDaysHasBeenSet;
206 
207  bool m_forceDeleteWithoutRecovery;
208  bool m_forceDeleteWithoutRecoveryHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace QuickSight
213 } // namespace Aws
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAnalysisId
DeleteAnalysisRequest & WithAnalysisId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:118
Aws::QuickSight::Model::DeleteAnalysisRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteAnalysisRequest.h:51
Aws::Http::URI
Definition: URI.h:32
Aws::QuickSight::Model::DeleteAnalysisRequest::SetForceDeleteWithoutRecovery
void SetForceDeleteWithoutRecovery(bool value)
Definition: DeleteAnalysisRequest.h:186
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteAnalysisRequest::RecoveryWindowInDaysHasBeenSet
bool RecoveryWindowInDaysHasBeenSet() const
Definition: DeleteAnalysisRequest.h:145
Aws::QuickSight::Model::DeleteAnalysisRequest::AnalysisIdHasBeenSet
bool AnalysisIdHasBeenSet() const
Definition: DeleteAnalysisRequest.h:98
Aws::QuickSight::Model::DeleteAnalysisRequest::GetRecoveryWindowInDays
long long GetRecoveryWindowInDays() const
Definition: DeleteAnalysisRequest.h:137
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAwsAccountId
DeleteAnalysisRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:81
Aws::QuickSight::Model::DeleteAnalysisRequest::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: DeleteAnalysisRequest.h:93
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: DeleteAnalysisRequest.h:113
Aws::QuickSight::Model::DeleteAnalysisRequest::GetForceDeleteWithoutRecovery
bool GetForceDeleteWithoutRecovery() const
Definition: DeleteAnalysisRequest.h:170
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:57
Aws::QuickSight::Model::DeleteAnalysisRequest::DeleteAnalysisRequest
DeleteAnalysisRequest()
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAnalysisId
DeleteAnalysisRequest & WithAnalysisId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:123
Aws::QuickSight::Model::DeleteAnalysisRequest::ForceDeleteWithoutRecoveryHasBeenSet
bool ForceDeleteWithoutRecoveryHasBeenSet() const
Definition: DeleteAnalysisRequest.h:178
Aws::QuickSight::Model::DeleteAnalysisRequest::WithAwsAccountId
DeleteAnalysisRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteAnalysisRequest.h:75
Aws::QuickSight::Model::DeleteAnalysisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:63
Aws::QuickSight::Model::DeleteAnalysisRequest::WithForceDeleteWithoutRecovery
DeleteAnalysisRequest & WithForceDeleteWithoutRecovery(bool value)
Definition: DeleteAnalysisRequest.h:194
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:128
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:103
AWSString.h
Aws::QuickSight::Model::DeleteAnalysisRequest::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: DeleteAnalysisRequest.h:108
Aws::QuickSight::Model::DeleteAnalysisRequest::WithRecoveryWindowInDays
DeleteAnalysisRequest & WithRecoveryWindowInDays(long long value)
Definition: DeleteAnalysisRequest.h:161
Aws::QuickSight::Model::DeleteAnalysisRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteAnalysisRequest.h:45
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:69
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:87
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteAnalysisRequest::SetRecoveryWindowInDays
void SetRecoveryWindowInDays(long long value)
Definition: DeleteAnalysisRequest.h:153