AWS SDK for C++

AWS SDK for C++ Version 1.11.796

Loading...
Searching...
No Matches
DeleteEntitlementRequest.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/evs/EVSRequest.h>
11#include <aws/evs/EVS_EXPORTS.h>
12#include <aws/evs/model/EntitlementType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace EVS {
18namespace Model {
19
23 public:
24 AWS_EVS_API DeleteEntitlementRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteEntitlement"; }
31
32 AWS_EVS_API Aws::String SerializePayload() const override;
33
35
37
44 inline const Aws::String& GetClientToken() const { return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 template <typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) {
48 m_clientTokenHasBeenSet = true;
49 m_clientToken = std::forward<ClientTokenT>(value);
50 }
51 template <typename ClientTokenT = Aws::String>
53 SetClientToken(std::forward<ClientTokenT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
63 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
64 template <typename EnvironmentIdT = Aws::String>
65 void SetEnvironmentId(EnvironmentIdT&& value) {
66 m_environmentIdHasBeenSet = true;
67 m_environmentId = std::forward<EnvironmentIdT>(value);
68 }
69 template <typename EnvironmentIdT = Aws::String>
71 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
81 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
82 template <typename ConnectorIdT = Aws::String>
83 void SetConnectorId(ConnectorIdT&& value) {
84 m_connectorIdHasBeenSet = true;
85 m_connectorId = std::forward<ConnectorIdT>(value);
86 }
87 template <typename ConnectorIdT = Aws::String>
89 SetConnectorId(std::forward<ConnectorIdT>(value));
90 return *this;
91 }
93
95
98 inline EntitlementType GetEntitlementType() const { return m_entitlementType; }
99 inline bool EntitlementTypeHasBeenSet() const { return m_entitlementTypeHasBeenSet; }
101 m_entitlementTypeHasBeenSet = true;
102 m_entitlementType = value;
103 }
105 SetEntitlementType(value);
106 return *this;
107 }
109
111
115 inline const Aws::Vector<Aws::String>& GetVmIds() const { return m_vmIds; }
116 inline bool VmIdsHasBeenSet() const { return m_vmIdsHasBeenSet; }
117 template <typename VmIdsT = Aws::Vector<Aws::String>>
118 void SetVmIds(VmIdsT&& value) {
119 m_vmIdsHasBeenSet = true;
120 m_vmIds = std::forward<VmIdsT>(value);
121 }
122 template <typename VmIdsT = Aws::Vector<Aws::String>>
124 SetVmIds(std::forward<VmIdsT>(value));
125 return *this;
126 }
127 template <typename VmIdsT = Aws::String>
129 m_vmIdsHasBeenSet = true;
130 m_vmIds.emplace_back(std::forward<VmIdsT>(value));
131 return *this;
132 }
134 private:
136
137 Aws::String m_environmentId;
138
139 Aws::String m_connectorId;
140
141 EntitlementType m_entitlementType{EntitlementType::NOT_SET};
142
144 bool m_clientTokenHasBeenSet = true;
145 bool m_environmentIdHasBeenSet = false;
146 bool m_connectorIdHasBeenSet = false;
147 bool m_entitlementTypeHasBeenSet = false;
148 bool m_vmIdsHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace EVS
153} // namespace Aws
const Aws::Vector< Aws::String > & GetVmIds() const
AWS_EVS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteEntitlementRequest & WithClientToken(ClientTokenT &&value)
DeleteEntitlementRequest & WithConnectorId(ConnectorIdT &&value)
DeleteEntitlementRequest & WithVmIds(VmIdsT &&value)
AWS_EVS_API Aws::String SerializePayload() const override
AWS_EVS_API DeleteEntitlementRequest()=default
DeleteEntitlementRequest & WithEntitlementType(EntitlementType value)
DeleteEntitlementRequest & WithEnvironmentId(EnvironmentIdT &&value)
DeleteEntitlementRequest & AddVmIds(VmIdsT &&value)
virtual const char * GetServiceRequestName() 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