AWS SDK for C++  1.9.44
AWS SDK for C++
RestoreAnalysisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
39 
43  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 
48  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
49 
53  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
54 
58  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
59 
63  inline RestoreAnalysisRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 
68  inline RestoreAnalysisRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
69 
73  inline RestoreAnalysisRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
74 
75 
79  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
80 
84  inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
85 
89  inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
90 
94  inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
95 
99  inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
100 
104  inline RestoreAnalysisRequest& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
105 
109  inline RestoreAnalysisRequest& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
110 
114  inline RestoreAnalysisRequest& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_awsAccountId;
119  bool m_awsAccountIdHasBeenSet;
120 
121  Aws::String m_analysisId;
122  bool m_analysisIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace QuickSight
127 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RestoreAnalysisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RestoreAnalysisRequest.h:30
Aws::QuickSight::Model::RestoreAnalysisRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: RestoreAnalysisRequest.h:38
Aws::QuickSight::Model::RestoreAnalysisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::RestoreAnalysisRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: RestoreAnalysisRequest.h:43
Aws::QuickSight::Model::RestoreAnalysisRequest::WithAwsAccountId
RestoreAnalysisRequest & WithAwsAccountId(const Aws::String &value)
Definition: RestoreAnalysisRequest.h:63
Aws::QuickSight::Model::RestoreAnalysisRequest::WithAnalysisId
RestoreAnalysisRequest & WithAnalysisId(Aws::String &&value)
Definition: RestoreAnalysisRequest.h:109
Aws::QuickSight::Model::RestoreAnalysisRequest::WithAnalysisId
RestoreAnalysisRequest & WithAnalysisId(const char *value)
Definition: RestoreAnalysisRequest.h:114
Aws::QuickSight::Model::RestoreAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: RestoreAnalysisRequest.h:48
Aws::QuickSight::Model::RestoreAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: RestoreAnalysisRequest.h:58
Aws::QuickSight::Model::RestoreAnalysisRequest
Definition: RestoreAnalysisRequest.h:22
Aws::QuickSight::Model::RestoreAnalysisRequest::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: RestoreAnalysisRequest.h:94
Aws::QuickSight::Model::RestoreAnalysisRequest::RestoreAnalysisRequest
RestoreAnalysisRequest()
Aws::QuickSight::Model::RestoreAnalysisRequest::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: RestoreAnalysisRequest.h:79
QuickSightRequest.h
Aws::QuickSight::Model::RestoreAnalysisRequest::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: RestoreAnalysisRequest.h:99
AWSString.h
Aws::QuickSight::Model::RestoreAnalysisRequest::WithAnalysisId
RestoreAnalysisRequest & WithAnalysisId(const Aws::String &value)
Definition: RestoreAnalysisRequest.h:104
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::RestoreAnalysisRequest::WithAwsAccountId
RestoreAnalysisRequest & WithAwsAccountId(Aws::String &&value)
Definition: RestoreAnalysisRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::RestoreAnalysisRequest::WithAwsAccountId
RestoreAnalysisRequest & WithAwsAccountId(const char *value)
Definition: RestoreAnalysisRequest.h:73
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::RestoreAnalysisRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: RestoreAnalysisRequest.h:53
Aws::QuickSight::Model::RestoreAnalysisRequest::AnalysisIdHasBeenSet
bool AnalysisIdHasBeenSet() const
Definition: RestoreAnalysisRequest.h:84
Aws::QuickSight::Model::RestoreAnalysisRequest::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: RestoreAnalysisRequest.h:89