AWS SDK for C++

AWS SDK for C++ Version 1.11.862

Loading...
Searching...
No Matches
CancelSubscriptionChangeRequest.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 CancelSubscriptionChangeRequest() = 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 "CancelSubscriptionChange"; }
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
57 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
58 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
59 template <typename IfMatchT = Aws::String>
60 void SetIfMatch(IfMatchT&& value) {
61 m_ifMatchHasBeenSet = true;
62 m_ifMatch = std::forward<IfMatchT>(value);
63 }
64 template <typename IfMatchT = Aws::String>
66 SetIfMatch(std::forward<IfMatchT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetClientToken() const { return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 template <typename ClientTokenT = Aws::String>
79 void SetClientToken(ClientTokenT&& value) {
80 m_clientTokenHasBeenSet = true;
81 m_clientToken = std::forward<ClientTokenT>(value);
82 }
83 template <typename ClientTokenT = Aws::String>
85 SetClientToken(std::forward<ClientTokenT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_arn;
91
92 Aws::String m_ifMatch;
93
95 bool m_arnHasBeenSet = false;
96 bool m_ifMatchHasBeenSet = false;
97 bool m_clientTokenHasBeenSet = true;
98};
99
100} // namespace Model
101} // namespace PricingPlanManager
102} // namespace Aws
AWS_PRICINGPLANMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PRICINGPLANMANAGER_API Aws::String SerializePayload() const override
CancelSubscriptionChangeRequest & WithClientToken(ClientTokenT &&value)
AWS_PRICINGPLANMANAGER_API CancelSubscriptionChangeRequest()=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