AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DeleteThirdPartyCostRequest.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 AppMonetization {
15namespace Model {
16
25 public:
26 AWS_APPMONETIZATION_API DeleteThirdPartyCostRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteThirdPartyCost"; }
33
34 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
42 template <typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) {
44 m_appIdHasBeenSet = true;
45 m_appId = std::forward<AppIdT>(value);
46 }
47 template <typename AppIdT = Aws::String>
49 SetAppId(std::forward<AppIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCostId() const { return m_costId; }
59 inline bool CostIdHasBeenSet() const { return m_costIdHasBeenSet; }
60 template <typename CostIdT = Aws::String>
61 void SetCostId(CostIdT&& value) {
62 m_costIdHasBeenSet = true;
63 m_costId = std::forward<CostIdT>(value);
64 }
65 template <typename CostIdT = Aws::String>
67 SetCostId(std::forward<CostIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_appId;
73
74 Aws::String m_costId;
75 bool m_appIdHasBeenSet = false;
76 bool m_costIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace AppMonetization
81} // namespace Aws
DeleteThirdPartyCostRequest & WithAppId(AppIdT &&value)
DeleteThirdPartyCostRequest & WithCostId(CostIdT &&value)
AWS_APPMONETIZATION_API DeleteThirdPartyCostRequest()=default
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String