AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DeleteAppRequest.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/RequestScope.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AppMonetization {
19namespace Model {
20
27 public:
28 AWS_APPMONETIZATION_API DeleteAppRequest() = default;
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 "DeleteApp"; }
35
36 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
37
38 AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40 AWS_APPMONETIZATION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
43
48 inline const Aws::String& GetAppId() const { return m_appId; }
49 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
50 template <typename AppIdT = Aws::String>
51 void SetAppId(AppIdT&& value) {
52 m_appIdHasBeenSet = true;
53 m_appId = std::forward<AppIdT>(value);
54 }
55 template <typename AppIdT = Aws::String>
56 DeleteAppRequest& WithAppId(AppIdT&& value) {
57 SetAppId(std::forward<AppIdT>(value));
58 return *this;
59 }
61
63
69 inline const Aws::String& GetIdentifier() const { return m_identifier; }
70 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
71 template <typename IdentifierT = Aws::String>
72 void SetIdentifier(IdentifierT&& value) {
73 m_identifierHasBeenSet = true;
74 m_identifier = std::forward<IdentifierT>(value);
75 }
76 template <typename IdentifierT = Aws::String>
77 DeleteAppRequest& WithIdentifier(IdentifierT&& value) {
78 SetIdentifier(std::forward<IdentifierT>(value));
79 return *this;
80 }
82
84
89 inline RequestScope GetScope() const { return m_scope; }
90 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
91 inline void SetScope(RequestScope value) {
92 m_scopeHasBeenSet = true;
93 m_scope = value;
94 }
96 SetScope(value);
97 return *this;
98 }
100 private:
101 Aws::String m_appId;
102
103 Aws::String m_identifier;
104
106 bool m_appIdHasBeenSet = false;
107 bool m_identifierHasBeenSet = false;
108 bool m_scopeHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace AppMonetization
113} // namespace Aws
AWS_APPMONETIZATION_API DeleteAppRequest()=default
DeleteAppRequest & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteAppRequest & WithIdentifier(IdentifierT &&value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAppRequest & WithScope(RequestScope value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String