AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ArchivePlanRequest.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
26 public:
27 AWS_APPMONETIZATION_API ArchivePlanRequest() = 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 "ArchivePlan"; }
34
35 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetAppId() const { return m_appId; }
42 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
43 template <typename AppIdT = Aws::String>
44 void SetAppId(AppIdT&& value) {
45 m_appIdHasBeenSet = true;
46 m_appId = std::forward<AppIdT>(value);
47 }
48 template <typename AppIdT = Aws::String>
49 ArchivePlanRequest& WithAppId(AppIdT&& value) {
50 SetAppId(std::forward<AppIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetPlanId() const { return m_planId; }
61 inline bool PlanIdHasBeenSet() const { return m_planIdHasBeenSet; }
62 template <typename PlanIdT = Aws::String>
63 void SetPlanId(PlanIdT&& value) {
64 m_planIdHasBeenSet = true;
65 m_planId = std::forward<PlanIdT>(value);
66 }
67 template <typename PlanIdT = Aws::String>
68 ArchivePlanRequest& WithPlanId(PlanIdT&& value) {
69 SetPlanId(std::forward<PlanIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_appId;
75
76 Aws::String m_planId;
77 bool m_appIdHasBeenSet = false;
78 bool m_planIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AppMonetization
83} // namespace Aws
ArchivePlanRequest & WithPlanId(PlanIdT &&value)
AWS_APPMONETIZATION_API ArchivePlanRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
ArchivePlanRequest & WithAppId(AppIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String