AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateFlowEntitlementRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace MediaConnect
18 {
19 namespace Model
20 {
21 
28  {
29  public:
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::String SerializePayload() const override;
39 
40 
46  inline const Aws::String& GetDescription() const{ return m_description; }
47 
53  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 
60  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 
67  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 
74  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 
81  inline UpdateFlowEntitlementRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 
88  inline UpdateFlowEntitlementRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
89 
95  inline UpdateFlowEntitlementRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
96 
97 
102  inline const UpdateEncryption& GetEncryption() const{ return m_encryption; }
103 
108  inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
109 
114  inline void SetEncryption(const UpdateEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
115 
120  inline void SetEncryption(UpdateEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
121 
126  inline UpdateFlowEntitlementRequest& WithEncryption(const UpdateEncryption& value) { SetEncryption(value); return *this;}
127 
132  inline UpdateFlowEntitlementRequest& WithEncryption(UpdateEncryption&& value) { SetEncryption(std::move(value)); return *this;}
133 
134 
138  inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
139 
143  inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
144 
148  inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
149 
153  inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
154 
158  inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
159 
163  inline UpdateFlowEntitlementRequest& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
164 
168  inline UpdateFlowEntitlementRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
169 
173  inline UpdateFlowEntitlementRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
174 
175 
182  inline const EntitlementStatus& GetEntitlementStatus() const{ return m_entitlementStatus; }
183 
190  inline bool EntitlementStatusHasBeenSet() const { return m_entitlementStatusHasBeenSet; }
191 
198  inline void SetEntitlementStatus(const EntitlementStatus& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = value; }
199 
206  inline void SetEntitlementStatus(EntitlementStatus&& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = std::move(value); }
207 
214  inline UpdateFlowEntitlementRequest& WithEntitlementStatus(const EntitlementStatus& value) { SetEntitlementStatus(value); return *this;}
215 
222  inline UpdateFlowEntitlementRequest& WithEntitlementStatus(EntitlementStatus&& value) { SetEntitlementStatus(std::move(value)); return *this;}
223 
224 
228  inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
229 
233  inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
234 
238  inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
239 
243  inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
244 
248  inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
249 
253  inline UpdateFlowEntitlementRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
254 
258  inline UpdateFlowEntitlementRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
259 
263  inline UpdateFlowEntitlementRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
264 
265 
271  inline const Aws::Vector<Aws::String>& GetSubscribers() const{ return m_subscribers; }
272 
278  inline bool SubscribersHasBeenSet() const { return m_subscribersHasBeenSet; }
279 
285  inline void SetSubscribers(const Aws::Vector<Aws::String>& value) { m_subscribersHasBeenSet = true; m_subscribers = value; }
286 
292  inline void SetSubscribers(Aws::Vector<Aws::String>&& value) { m_subscribersHasBeenSet = true; m_subscribers = std::move(value); }
293 
299  inline UpdateFlowEntitlementRequest& WithSubscribers(const Aws::Vector<Aws::String>& value) { SetSubscribers(value); return *this;}
300 
306  inline UpdateFlowEntitlementRequest& WithSubscribers(Aws::Vector<Aws::String>&& value) { SetSubscribers(std::move(value)); return *this;}
307 
313  inline UpdateFlowEntitlementRequest& AddSubscribers(const Aws::String& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
314 
320  inline UpdateFlowEntitlementRequest& AddSubscribers(Aws::String&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(std::move(value)); return *this; }
321 
327  inline UpdateFlowEntitlementRequest& AddSubscribers(const char* value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
328 
329  private:
330 
331  Aws::String m_description;
332  bool m_descriptionHasBeenSet;
333 
334  UpdateEncryption m_encryption;
335  bool m_encryptionHasBeenSet;
336 
337  Aws::String m_entitlementArn;
338  bool m_entitlementArnHasBeenSet;
339 
340  EntitlementStatus m_entitlementStatus;
341  bool m_entitlementStatusHasBeenSet;
342 
343  Aws::String m_flowArn;
344  bool m_flowArnHasBeenSet;
345 
346  Aws::Vector<Aws::String> m_subscribers;
347  bool m_subscribersHasBeenSet;
348  };
349 
350 } // namespace Model
351 } // namespace MediaConnect
352 } // namespace Aws
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithSubscribers
UpdateFlowEntitlementRequest & WithSubscribers(Aws::Vector< Aws::String > &&value)
Definition: UpdateFlowEntitlementRequest.h:306
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEncryption
UpdateFlowEntitlementRequest & WithEncryption(const UpdateEncryption &value)
Definition: UpdateFlowEntitlementRequest.h:126
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::AddSubscribers
UpdateFlowEntitlementRequest & AddSubscribers(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:313
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithFlowArn
UpdateFlowEntitlementRequest & WithFlowArn(const char *value)
Definition: UpdateFlowEntitlementRequest.h:263
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithFlowArn
UpdateFlowEntitlementRequest & WithFlowArn(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:253
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithFlowArn
UpdateFlowEntitlementRequest & WithFlowArn(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:258
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:67
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithDescription
UpdateFlowEntitlementRequest & WithDescription(const char *value)
Definition: UpdateFlowEntitlementRequest.h:95
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateFlowEntitlementRequest.h:74
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEntitlementStatus
void SetEntitlementStatus(EntitlementStatus &&value)
Definition: UpdateFlowEntitlementRequest.h:206
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEncryption
void SetEncryption(const UpdateEncryption &value)
Definition: UpdateFlowEntitlementRequest.h:114
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithDescription
UpdateFlowEntitlementRequest & WithDescription(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:88
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetFlowArn
void SetFlowArn(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:243
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SubscribersHasBeenSet
bool SubscribersHasBeenSet() const
Definition: UpdateFlowEntitlementRequest.h:278
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::UpdateFlowEntitlementRequest
UpdateFlowEntitlementRequest()
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetSubscribers
void SetSubscribers(Aws::Vector< Aws::String > &&value)
Definition: UpdateFlowEntitlementRequest.h:292
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::EncryptionHasBeenSet
bool EncryptionHasBeenSet() const
Definition: UpdateFlowEntitlementRequest.h:108
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFlowEntitlementRequest.h:36
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetSubscribers
void SetSubscribers(const Aws::Vector< Aws::String > &value)
Definition: UpdateFlowEntitlementRequest.h:285
AWSVector.h
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::FlowArnHasBeenSet
bool FlowArnHasBeenSet() const
Definition: UpdateFlowEntitlementRequest.h:233
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetFlowArn
const Aws::String & GetFlowArn() const
Definition: UpdateFlowEntitlementRequest.h:228
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithDescription
UpdateFlowEntitlementRequest & WithDescription(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:81
UpdateEncryption.h
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEncryption
void SetEncryption(UpdateEncryption &&value)
Definition: UpdateFlowEntitlementRequest.h:120
AWS_MEDIACONNECT_API
#define AWS_MEDIACONNECT_API
Definition: MediaConnect_EXPORTS.h:28
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetSubscribers
const Aws::Vector< Aws::String > & GetSubscribers() const
Definition: UpdateFlowEntitlementRequest.h:271
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEncryption
UpdateFlowEntitlementRequest & WithEncryption(UpdateEncryption &&value)
Definition: UpdateFlowEntitlementRequest.h:132
Aws::MediaConnect::MediaConnectRequest
Definition: MediaConnectRequest.h:17
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEntitlementArn
UpdateFlowEntitlementRequest & WithEntitlementArn(const char *value)
Definition: UpdateFlowEntitlementRequest.h:173
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetEntitlementStatus
const EntitlementStatus & GetEntitlementStatus() const
Definition: UpdateFlowEntitlementRequest.h:182
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEntitlementStatus
UpdateFlowEntitlementRequest & WithEntitlementStatus(EntitlementStatus &&value)
Definition: UpdateFlowEntitlementRequest.h:222
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetFlowArn
void SetFlowArn(const char *value)
Definition: UpdateFlowEntitlementRequest.h:248
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::EntitlementStatusHasBeenSet
bool EntitlementStatusHasBeenSet() const
Definition: UpdateFlowEntitlementRequest.h:190
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithSubscribers
UpdateFlowEntitlementRequest & WithSubscribers(const Aws::Vector< Aws::String > &value)
Definition: UpdateFlowEntitlementRequest.h:299
MediaConnectRequest.h
AWSString.h
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetEncryption
const UpdateEncryption & GetEncryption() const
Definition: UpdateFlowEntitlementRequest.h:102
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEntitlementArn
UpdateFlowEntitlementRequest & WithEntitlementArn(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:163
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEntitlementArn
void SetEntitlementArn(const char *value)
Definition: UpdateFlowEntitlementRequest.h:158
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetFlowArn
void SetFlowArn(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:238
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEntitlementStatus
void SetEntitlementStatus(const EntitlementStatus &value)
Definition: UpdateFlowEntitlementRequest.h:198
EntitlementStatus.h
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetEntitlementArn
const Aws::String & GetEntitlementArn() const
Definition: UpdateFlowEntitlementRequest.h:138
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::EntitlementArnHasBeenSet
bool EntitlementArnHasBeenSet() const
Definition: UpdateFlowEntitlementRequest.h:143
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEntitlementArn
void SetEntitlementArn(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:153
Aws::MediaConnect::Model::UpdateEncryption
Definition: UpdateEncryption.h:34
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEntitlementArn
UpdateFlowEntitlementRequest & WithEntitlementArn(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:168
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest
Definition: UpdateFlowEntitlementRequest.h:28
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::SetEntitlementArn
void SetEntitlementArn(const Aws::String &value)
Definition: UpdateFlowEntitlementRequest.h:148
MediaConnect_EXPORTS.h
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateFlowEntitlementRequest.h:53
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::WithEntitlementStatus
UpdateFlowEntitlementRequest & WithEntitlementStatus(const EntitlementStatus &value)
Definition: UpdateFlowEntitlementRequest.h:214
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::AddSubscribers
UpdateFlowEntitlementRequest & AddSubscribers(const char *value)
Definition: UpdateFlowEntitlementRequest.h:327
Aws::MediaConnect::Model::EntitlementStatus
EntitlementStatus
Definition: EntitlementStatus.h:17
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateFlowEntitlementRequest.h:46
Aws::MediaConnect::Model::UpdateFlowEntitlementRequest::AddSubscribers
UpdateFlowEntitlementRequest & AddSubscribers(Aws::String &&value)
Definition: UpdateFlowEntitlementRequest.h:320