AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteThemeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API DeleteThemeRequest() = default;
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 "DeleteTheme"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template <typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) {
45 m_awsAccountIdHasBeenSet = true;
46 m_awsAccountId = std::forward<AwsAccountIdT>(value);
47 }
48 template <typename AwsAccountIdT = Aws::String>
49 DeleteThemeRequest& WithAwsAccountId(AwsAccountIdT&& value) {
50 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetThemeId() const { return m_themeId; }
60 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
61 template <typename ThemeIdT = Aws::String>
62 void SetThemeId(ThemeIdT&& value) {
63 m_themeIdHasBeenSet = true;
64 m_themeId = std::forward<ThemeIdT>(value);
65 }
66 template <typename ThemeIdT = Aws::String>
67 DeleteThemeRequest& WithThemeId(ThemeIdT&& value) {
68 SetThemeId(std::forward<ThemeIdT>(value));
69 return *this;
70 }
72
74
79 inline long long GetVersionNumber() const { return m_versionNumber; }
80 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
81 inline void SetVersionNumber(long long value) {
82 m_versionNumberHasBeenSet = true;
83 m_versionNumber = value;
84 }
85 inline DeleteThemeRequest& WithVersionNumber(long long value) {
86 SetVersionNumber(value);
87 return *this;
88 }
90 private:
91 Aws::String m_awsAccountId;
92
93 Aws::String m_themeId;
94
95 long long m_versionNumber{0};
96 bool m_awsAccountIdHasBeenSet = false;
97 bool m_themeIdHasBeenSet = false;
98 bool m_versionNumberHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
DeleteThemeRequest & WithAwsAccountId(AwsAccountIdT &&value)
DeleteThemeRequest & WithVersionNumber(long long value)
AWS_QUICKSIGHT_API DeleteThemeRequest()=default
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteThemeRequest & WithThemeId(ThemeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String