AWS SDK for C++

AWS SDK for C++ Version 1.11.715

Loading...
Searching...
No Matches
RevokeFlowEntitlementRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MediaConnect {
15namespace Model {
16
20 public:
21 AWS_MEDIACONNECT_API RevokeFlowEntitlementRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RevokeFlowEntitlement"; }
28
29 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetEntitlementArn() const { return m_entitlementArn; }
37 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
38 template <typename EntitlementArnT = Aws::String>
39 void SetEntitlementArn(EntitlementArnT&& value) {
40 m_entitlementArnHasBeenSet = true;
41 m_entitlementArn = std::forward<EntitlementArnT>(value);
42 }
43 template <typename EntitlementArnT = Aws::String>
45 SetEntitlementArn(std::forward<EntitlementArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
55 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
56 template <typename FlowArnT = Aws::String>
57 void SetFlowArn(FlowArnT&& value) {
58 m_flowArnHasBeenSet = true;
59 m_flowArn = std::forward<FlowArnT>(value);
60 }
61 template <typename FlowArnT = Aws::String>
63 SetFlowArn(std::forward<FlowArnT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_entitlementArn;
69
70 Aws::String m_flowArn;
71 bool m_entitlementArnHasBeenSet = false;
72 bool m_flowArnHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace MediaConnect
77} // namespace Aws
AWS_MEDIACONNECT_API RevokeFlowEntitlementRequest()=default
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
RevokeFlowEntitlementRequest & WithFlowArn(FlowArnT &&value)
RevokeFlowEntitlementRequest & WithEntitlementArn(EntitlementArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String