AWS SDK for C++  1.9.46
AWS SDK for C++
DeleteThemeRequest.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 "DeleteTheme"; }
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 DeleteThemeRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
74  inline DeleteThemeRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
75 
79  inline DeleteThemeRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
80 
81 
85  inline const Aws::String& GetThemeId() const{ return m_themeId; }
86 
90  inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
91 
95  inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
96 
100  inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
101 
105  inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
106 
110  inline DeleteThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
111 
115  inline DeleteThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
116 
120  inline DeleteThemeRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
121 
122 
128  inline long long GetVersionNumber() const{ return m_versionNumber; }
129 
135  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
136 
142  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
143 
149  inline DeleteThemeRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
150 
151  private:
152 
153  Aws::String m_awsAccountId;
154  bool m_awsAccountIdHasBeenSet;
155 
156  Aws::String m_themeId;
157  bool m_themeIdHasBeenSet;
158 
159  long long m_versionNumber;
160  bool m_versionNumberHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace QuickSight
165 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteThemeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteThemeRequest::WithThemeId
DeleteThemeRequest & WithThemeId(const char *value)
Definition: DeleteThemeRequest.h:120
Aws::QuickSight::Model::DeleteThemeRequest::WithVersionNumber
DeleteThemeRequest & WithVersionNumber(long long value)
Definition: DeleteThemeRequest.h:149
Aws::QuickSight::Model::DeleteThemeRequest::WithAwsAccountId
DeleteThemeRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteThemeRequest.h:74
Aws::QuickSight::Model::DeleteThemeRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::DeleteThemeRequest::WithAwsAccountId
DeleteThemeRequest & WithAwsAccountId(const char *value)
Definition: DeleteThemeRequest.h:79
Aws::QuickSight::Model::DeleteThemeRequest::DeleteThemeRequest
DeleteThemeRequest()
QuickSightRequest.h
Aws::QuickSight::Model::DeleteThemeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteThemeRequest.h:34
Aws::QuickSight::Model::DeleteThemeRequest::WithAwsAccountId
DeleteThemeRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteThemeRequest.h:69
Aws::QuickSight::Model::DeleteThemeRequest::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: DeleteThemeRequest.h:95
Aws::QuickSight::Model::DeleteThemeRequest::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: DeleteThemeRequest.h:135
Aws::QuickSight::Model::DeleteThemeRequest::SetVersionNumber
void SetVersionNumber(long long value)
Definition: DeleteThemeRequest.h:142
AWSString.h
Aws::QuickSight::Model::DeleteThemeRequest::WithThemeId
DeleteThemeRequest & WithThemeId(Aws::String &&value)
Definition: DeleteThemeRequest.h:115
Aws::QuickSight::Model::DeleteThemeRequest::GetThemeId
const Aws::String & GetThemeId() const
Definition: DeleteThemeRequest.h:85
Aws::QuickSight::Model::DeleteThemeRequest::WithThemeId
DeleteThemeRequest & WithThemeId(const Aws::String &value)
Definition: DeleteThemeRequest.h:110
Aws::QuickSight::Model::DeleteThemeRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteThemeRequest.h:54
Aws::QuickSight::Model::DeleteThemeRequest
Definition: DeleteThemeRequest.h:26
Aws::QuickSight::Model::DeleteThemeRequest::SetThemeId
void SetThemeId(const char *value)
Definition: DeleteThemeRequest.h:105
Aws::QuickSight::Model::DeleteThemeRequest::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: DeleteThemeRequest.h:100
Aws::QuickSight::Model::DeleteThemeRequest::ThemeIdHasBeenSet
bool ThemeIdHasBeenSet() const
Definition: DeleteThemeRequest.h:90
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteThemeRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteThemeRequest.h:64
Aws::QuickSight::Model::DeleteThemeRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteThemeRequest.h:59
Aws::QuickSight::Model::DeleteThemeRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteThemeRequest.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteThemeRequest::GetVersionNumber
long long GetVersionNumber() const
Definition: DeleteThemeRequest.h:128
Aws::QuickSight::Model::DeleteThemeRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteThemeRequest.h:44
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17