AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlowEntitlementRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconnect/model/UpdateEncryption.h>
11#include <aws/mediaconnect/model/EntitlementStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaConnect
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_MEDIACONNECT_API UpdateFlowEntitlementRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowEntitlement"; }
37
38 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
39
40
42
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline UpdateFlowEntitlementRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline UpdateFlowEntitlementRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline UpdateFlowEntitlementRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
62 inline const UpdateEncryption& GetEncryption() const{ return m_encryption; }
63 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
64 inline void SetEncryption(const UpdateEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
65 inline void SetEncryption(UpdateEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
66 inline UpdateFlowEntitlementRequest& WithEncryption(const UpdateEncryption& value) { SetEncryption(value); return *this;}
67 inline UpdateFlowEntitlementRequest& WithEncryption(UpdateEncryption&& value) { SetEncryption(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
75 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
76 inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
77 inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
78 inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
80 inline UpdateFlowEntitlementRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
81 inline UpdateFlowEntitlementRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
83
85
91 inline const EntitlementStatus& GetEntitlementStatus() const{ return m_entitlementStatus; }
92 inline bool EntitlementStatusHasBeenSet() const { return m_entitlementStatusHasBeenSet; }
93 inline void SetEntitlementStatus(const EntitlementStatus& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = value; }
94 inline void SetEntitlementStatus(EntitlementStatus&& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = std::move(value); }
98
100
103 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
104 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
105 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
106 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
107 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
108 inline UpdateFlowEntitlementRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
109 inline UpdateFlowEntitlementRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
110 inline UpdateFlowEntitlementRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
112
114
119 inline const Aws::Vector<Aws::String>& GetSubscribers() const{ return m_subscribers; }
120 inline bool SubscribersHasBeenSet() const { return m_subscribersHasBeenSet; }
121 inline void SetSubscribers(const Aws::Vector<Aws::String>& value) { m_subscribersHasBeenSet = true; m_subscribers = value; }
122 inline void SetSubscribers(Aws::Vector<Aws::String>&& value) { m_subscribersHasBeenSet = true; m_subscribers = std::move(value); }
124 inline UpdateFlowEntitlementRequest& WithSubscribers(Aws::Vector<Aws::String>&& value) { SetSubscribers(std::move(value)); return *this;}
125 inline UpdateFlowEntitlementRequest& AddSubscribers(const Aws::String& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
126 inline UpdateFlowEntitlementRequest& AddSubscribers(Aws::String&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(std::move(value)); return *this; }
127 inline UpdateFlowEntitlementRequest& AddSubscribers(const char* value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
129 private:
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 UpdateEncryption m_encryption;
135 bool m_encryptionHasBeenSet = false;
136
137 Aws::String m_entitlementArn;
138 bool m_entitlementArnHasBeenSet = false;
139
140 EntitlementStatus m_entitlementStatus;
141 bool m_entitlementStatusHasBeenSet = false;
142
143 Aws::String m_flowArn;
144 bool m_flowArnHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_subscribers;
147 bool m_subscribersHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace MediaConnect
152} // namespace Aws
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateFlowEntitlementRequest & WithFlowArn(const Aws::String &value)
UpdateFlowEntitlementRequest & AddSubscribers(const Aws::String &value)
UpdateFlowEntitlementRequest & WithEntitlementArn(Aws::String &&value)
UpdateFlowEntitlementRequest & WithEntitlementArn(const Aws::String &value)
UpdateFlowEntitlementRequest & WithFlowArn(Aws::String &&value)
UpdateFlowEntitlementRequest & WithSubscribers(const Aws::Vector< Aws::String > &value)
UpdateFlowEntitlementRequest & WithFlowArn(const char *value)
UpdateFlowEntitlementRequest & WithEncryption(const UpdateEncryption &value)
UpdateFlowEntitlementRequest & WithEncryption(UpdateEncryption &&value)
UpdateFlowEntitlementRequest & AddSubscribers(const char *value)
UpdateFlowEntitlementRequest & WithDescription(Aws::String &&value)
UpdateFlowEntitlementRequest & WithEntitlementStatus(const EntitlementStatus &value)
UpdateFlowEntitlementRequest & AddSubscribers(Aws::String &&value)
UpdateFlowEntitlementRequest & WithEntitlementArn(const char *value)
UpdateFlowEntitlementRequest & WithDescription(const char *value)
UpdateFlowEntitlementRequest & WithSubscribers(Aws::Vector< Aws::String > &&value)
void SetSubscribers(const Aws::Vector< Aws::String > &value)
UpdateFlowEntitlementRequest & WithEntitlementStatus(EntitlementStatus &&value)
UpdateFlowEntitlementRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector