AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteTemplateRequest.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 DeleteTemplateRequest() = 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 "DeleteTemplate"; }
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 DeleteTemplateRequest& WithAwsAccountId(AwsAccountIdT&& value) {
50 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTemplateId() const { return m_templateId; }
60 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
61 template <typename TemplateIdT = Aws::String>
62 void SetTemplateId(TemplateIdT&& value) {
63 m_templateIdHasBeenSet = true;
64 m_templateId = std::forward<TemplateIdT>(value);
65 }
66 template <typename TemplateIdT = Aws::String>
67 DeleteTemplateRequest& WithTemplateId(TemplateIdT&& value) {
68 SetTemplateId(std::forward<TemplateIdT>(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 DeleteTemplateRequest& WithVersionNumber(long long value) {
86 SetVersionNumber(value);
87 return *this;
88 }
90 private:
91 Aws::String m_awsAccountId;
92
93 Aws::String m_templateId;
94
95 long long m_versionNumber{0};
96 bool m_awsAccountIdHasBeenSet = false;
97 bool m_templateIdHasBeenSet = false;
98 bool m_versionNumberHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteTemplateRequest & WithAwsAccountId(AwsAccountIdT &&value)
DeleteTemplateRequest & WithVersionNumber(long long value)
DeleteTemplateRequest & WithTemplateId(TemplateIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API DeleteTemplateRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String