AWS SDK for C++

AWS SDK for C++ Version 1.11.863

Loading...
Searching...
No Matches
DisassociateResourcesFromSubscriptionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pricing-plan-manager/PricingPlanManagerRequest.h>
11#include <aws/pricing-plan-manager/PricingPlanManager_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PricingPlanManager {
17namespace Model {
18
22 public:
23 AWS_PRICINGPLANMANAGER_API DisassociateResourcesFromSubscriptionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DisassociateResourcesFromSubscription"; }
30
31 AWS_PRICINGPLANMANAGER_API Aws::String SerializePayload() const override;
32
33 AWS_PRICINGPLANMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::Vector<Aws::String>& GetResourceArns() const { return m_resourceArns; }
60 inline bool ResourceArnsHasBeenSet() const { return m_resourceArnsHasBeenSet; }
61 template <typename ResourceArnsT = Aws::Vector<Aws::String>>
62 void SetResourceArns(ResourceArnsT&& value) {
63 m_resourceArnsHasBeenSet = true;
64 m_resourceArns = std::forward<ResourceArnsT>(value);
65 }
66 template <typename ResourceArnsT = Aws::Vector<Aws::String>>
68 SetResourceArns(std::forward<ResourceArnsT>(value));
69 return *this;
70 }
71 template <typename ResourceArnsT = Aws::String>
73 m_resourceArnsHasBeenSet = true;
74 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
85 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
86 template <typename IfMatchT = Aws::String>
87 void SetIfMatch(IfMatchT&& value) {
88 m_ifMatchHasBeenSet = true;
89 m_ifMatch = std::forward<IfMatchT>(value);
90 }
91 template <typename IfMatchT = Aws::String>
93 SetIfMatch(std::forward<IfMatchT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetClientToken() const { return m_clientToken; }
104 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
105 template <typename ClientTokenT = Aws::String>
106 void SetClientToken(ClientTokenT&& value) {
107 m_clientTokenHasBeenSet = true;
108 m_clientToken = std::forward<ClientTokenT>(value);
109 }
110 template <typename ClientTokenT = Aws::String>
112 SetClientToken(std::forward<ClientTokenT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_arn;
118
119 Aws::Vector<Aws::String> m_resourceArns;
120
121 Aws::String m_ifMatch;
122
124 bool m_arnHasBeenSet = false;
125 bool m_resourceArnsHasBeenSet = false;
126 bool m_ifMatchHasBeenSet = false;
127 bool m_clientTokenHasBeenSet = true;
128};
129
130} // namespace Model
131} // namespace PricingPlanManager
132} // namespace Aws
AWS_PRICINGPLANMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateResourcesFromSubscriptionRequest & WithResourceArns(ResourceArnsT &&value)
DisassociateResourcesFromSubscriptionRequest & AddResourceArns(ResourceArnsT &&value)
AWS_PRICINGPLANMANAGER_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector