AWS SDK for C++

AWS SDK for C++ Version 1.11.862

Loading...
Searching...
No Matches
ApprovePaidSubscriptionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pricing-plan-manager/PricingPlanManagerRequest.h>
10#include <aws/pricing-plan-manager/PricingPlanManager_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PricingPlanManager {
16namespace Model {
17
21 public:
22 AWS_PRICINGPLANMANAGER_API ApprovePaidSubscriptionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ApprovePaidSubscription"; }
29
30 AWS_PRICINGPLANMANAGER_API Aws::String SerializePayload() const override;
31
32 AWS_PRICINGPLANMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
59 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
60 template <typename IfMatchT = Aws::String>
61 void SetIfMatch(IfMatchT&& value) {
62 m_ifMatchHasBeenSet = true;
63 m_ifMatch = std::forward<IfMatchT>(value);
64 }
65 template <typename IfMatchT = Aws::String>
67 SetIfMatch(std::forward<IfMatchT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template <typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) {
81 m_clientTokenHasBeenSet = true;
82 m_clientToken = std::forward<ClientTokenT>(value);
83 }
84 template <typename ClientTokenT = Aws::String>
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_arn;
92
93 Aws::String m_ifMatch;
94
96 bool m_arnHasBeenSet = false;
97 bool m_ifMatchHasBeenSet = false;
98 bool m_clientTokenHasBeenSet = true;
99};
100
101} // namespace Model
102} // namespace PricingPlanManager
103} // namespace Aws
ApprovePaidSubscriptionRequest & WithClientToken(ClientTokenT &&value)
AWS_PRICINGPLANMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PRICINGPLANMANAGER_API Aws::String SerializePayload() const override
AWS_PRICINGPLANMANAGER_API ApprovePaidSubscriptionRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String