AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DeleteOneTimePriceRequest.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppMonetization {
18namespace Model {
19
26 public:
27 AWS_APPMONETIZATION_API DeleteOneTimePriceRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteOneTimePrice"; }
34
35 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
36
37 AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetAppId() const { return m_appId; }
44 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
45 template <typename AppIdT = Aws::String>
46 void SetAppId(AppIdT&& value) {
47 m_appIdHasBeenSet = true;
48 m_appId = std::forward<AppIdT>(value);
49 }
50 template <typename AppIdT = Aws::String>
52 SetAppId(std::forward<AppIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetOneTimePriceId() const { return m_oneTimePriceId; }
62 inline bool OneTimePriceIdHasBeenSet() const { return m_oneTimePriceIdHasBeenSet; }
63 template <typename OneTimePriceIdT = Aws::String>
64 void SetOneTimePriceId(OneTimePriceIdT&& value) {
65 m_oneTimePriceIdHasBeenSet = true;
66 m_oneTimePriceId = std::forward<OneTimePriceIdT>(value);
67 }
68 template <typename OneTimePriceIdT = Aws::String>
70 SetOneTimePriceId(std::forward<OneTimePriceIdT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetClientToken() const { return m_clientToken; }
82 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
83 template <typename ClientTokenT = Aws::String>
84 void SetClientToken(ClientTokenT&& value) {
85 m_clientTokenHasBeenSet = true;
86 m_clientToken = std::forward<ClientTokenT>(value);
87 }
88 template <typename ClientTokenT = Aws::String>
90 SetClientToken(std::forward<ClientTokenT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_appId;
96
97 Aws::String m_oneTimePriceId;
98
99 Aws::String m_clientToken;
100 bool m_appIdHasBeenSet = false;
101 bool m_oneTimePriceIdHasBeenSet = false;
102 bool m_clientTokenHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace AppMonetization
107} // namespace Aws
AWS_APPMONETIZATION_API DeleteOneTimePriceRequest()=default
DeleteOneTimePriceRequest & WithClientToken(ClientTokenT &&value)
DeleteOneTimePriceRequest & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
DeleteOneTimePriceRequest & WithOneTimePriceId(OneTimePriceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String