AWS SDK for C++  1.9.70
AWS SDK for C++
ModifyImageAttributeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace EC2
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ModifyImageAttribute"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
52  inline const Aws::String& GetAttribute() const{ return m_attribute; }
53 
59  inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
60 
66  inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; }
67 
73  inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
74 
80  inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); }
81 
87  inline ModifyImageAttributeRequest& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
88 
94  inline ModifyImageAttributeRequest& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
95 
101  inline ModifyImageAttributeRequest& WithAttribute(const char* value) { SetAttribute(value); return *this;}
102 
103 
107  inline const AttributeValue& GetDescription() const{ return m_description; }
108 
112  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 
117  inline void SetDescription(const AttributeValue& value) { m_descriptionHasBeenSet = true; m_description = value; }
118 
122  inline void SetDescription(AttributeValue&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
123 
127  inline ModifyImageAttributeRequest& WithDescription(const AttributeValue& value) { SetDescription(value); return *this;}
128 
132  inline ModifyImageAttributeRequest& WithDescription(AttributeValue&& value) { SetDescription(std::move(value)); return *this;}
133 
134 
138  inline const Aws::String& GetImageId() const{ return m_imageId; }
139 
143  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
144 
148  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
149 
153  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
154 
158  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
159 
163  inline ModifyImageAttributeRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
164 
168  inline ModifyImageAttributeRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
169 
173  inline ModifyImageAttributeRequest& WithImageId(const char* value) { SetImageId(value); return *this;}
174 
175 
179  inline const LaunchPermissionModifications& GetLaunchPermission() const{ return m_launchPermission; }
180 
184  inline bool LaunchPermissionHasBeenSet() const { return m_launchPermissionHasBeenSet; }
185 
189  inline void SetLaunchPermission(const LaunchPermissionModifications& value) { m_launchPermissionHasBeenSet = true; m_launchPermission = value; }
190 
194  inline void SetLaunchPermission(LaunchPermissionModifications&& value) { m_launchPermissionHasBeenSet = true; m_launchPermission = std::move(value); }
195 
199  inline ModifyImageAttributeRequest& WithLaunchPermission(const LaunchPermissionModifications& value) { SetLaunchPermission(value); return *this;}
200 
204  inline ModifyImageAttributeRequest& WithLaunchPermission(LaunchPermissionModifications&& value) { SetLaunchPermission(std::move(value)); return *this;}
205 
206 
211  inline const OperationType& GetOperationType() const{ return m_operationType; }
212 
217  inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
218 
223  inline void SetOperationType(const OperationType& value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
224 
229  inline void SetOperationType(OperationType&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); }
230 
235  inline ModifyImageAttributeRequest& WithOperationType(const OperationType& value) { SetOperationType(value); return *this;}
236 
241  inline ModifyImageAttributeRequest& WithOperationType(OperationType&& value) { SetOperationType(std::move(value)); return *this;}
242 
243 
248  inline const Aws::Vector<Aws::String>& GetProductCodes() const{ return m_productCodes; }
249 
254  inline bool ProductCodesHasBeenSet() const { return m_productCodesHasBeenSet; }
255 
260  inline void SetProductCodes(const Aws::Vector<Aws::String>& value) { m_productCodesHasBeenSet = true; m_productCodes = value; }
261 
266  inline void SetProductCodes(Aws::Vector<Aws::String>&& value) { m_productCodesHasBeenSet = true; m_productCodes = std::move(value); }
267 
272  inline ModifyImageAttributeRequest& WithProductCodes(const Aws::Vector<Aws::String>& value) { SetProductCodes(value); return *this;}
273 
278  inline ModifyImageAttributeRequest& WithProductCodes(Aws::Vector<Aws::String>&& value) { SetProductCodes(std::move(value)); return *this;}
279 
284  inline ModifyImageAttributeRequest& AddProductCodes(const Aws::String& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; }
285 
290  inline ModifyImageAttributeRequest& AddProductCodes(Aws::String&& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(std::move(value)); return *this; }
291 
296  inline ModifyImageAttributeRequest& AddProductCodes(const char* value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; }
297 
298 
303  inline const Aws::Vector<Aws::String>& GetUserGroups() const{ return m_userGroups; }
304 
309  inline bool UserGroupsHasBeenSet() const { return m_userGroupsHasBeenSet; }
310 
315  inline void SetUserGroups(const Aws::Vector<Aws::String>& value) { m_userGroupsHasBeenSet = true; m_userGroups = value; }
316 
321  inline void SetUserGroups(Aws::Vector<Aws::String>&& value) { m_userGroupsHasBeenSet = true; m_userGroups = std::move(value); }
322 
327  inline ModifyImageAttributeRequest& WithUserGroups(const Aws::Vector<Aws::String>& value) { SetUserGroups(value); return *this;}
328 
333  inline ModifyImageAttributeRequest& WithUserGroups(Aws::Vector<Aws::String>&& value) { SetUserGroups(std::move(value)); return *this;}
334 
339  inline ModifyImageAttributeRequest& AddUserGroups(const Aws::String& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; }
340 
345  inline ModifyImageAttributeRequest& AddUserGroups(Aws::String&& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(std::move(value)); return *this; }
346 
351  inline ModifyImageAttributeRequest& AddUserGroups(const char* value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; }
352 
353 
358  inline const Aws::Vector<Aws::String>& GetUserIds() const{ return m_userIds; }
359 
364  inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; }
365 
370  inline void SetUserIds(const Aws::Vector<Aws::String>& value) { m_userIdsHasBeenSet = true; m_userIds = value; }
371 
376  inline void SetUserIds(Aws::Vector<Aws::String>&& value) { m_userIdsHasBeenSet = true; m_userIds = std::move(value); }
377 
382  inline ModifyImageAttributeRequest& WithUserIds(const Aws::Vector<Aws::String>& value) { SetUserIds(value); return *this;}
383 
388  inline ModifyImageAttributeRequest& WithUserIds(Aws::Vector<Aws::String>&& value) { SetUserIds(std::move(value)); return *this;}
389 
394  inline ModifyImageAttributeRequest& AddUserIds(const Aws::String& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
395 
400  inline ModifyImageAttributeRequest& AddUserIds(Aws::String&& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(std::move(value)); return *this; }
401 
406  inline ModifyImageAttributeRequest& AddUserIds(const char* value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
407 
408 
414  inline const Aws::String& GetValue() const{ return m_value; }
415 
421  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
422 
428  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
429 
435  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
436 
442  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
443 
449  inline ModifyImageAttributeRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
450 
456  inline ModifyImageAttributeRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
457 
463  inline ModifyImageAttributeRequest& WithValue(const char* value) { SetValue(value); return *this;}
464 
465 
472  inline bool GetDryRun() const{ return m_dryRun; }
473 
480  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
481 
488  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
489 
496  inline ModifyImageAttributeRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
497 
498  private:
499 
500  Aws::String m_attribute;
501  bool m_attributeHasBeenSet;
502 
503  AttributeValue m_description;
504  bool m_descriptionHasBeenSet;
505 
506  Aws::String m_imageId;
507  bool m_imageIdHasBeenSet;
508 
509  LaunchPermissionModifications m_launchPermission;
510  bool m_launchPermissionHasBeenSet;
511 
512  OperationType m_operationType;
513  bool m_operationTypeHasBeenSet;
514 
515  Aws::Vector<Aws::String> m_productCodes;
516  bool m_productCodesHasBeenSet;
517 
518  Aws::Vector<Aws::String> m_userGroups;
519  bool m_userGroupsHasBeenSet;
520 
521  Aws::Vector<Aws::String> m_userIds;
522  bool m_userIdsHasBeenSet;
523 
524  Aws::String m_value;
525  bool m_valueHasBeenSet;
526 
527  bool m_dryRun;
528  bool m_dryRunHasBeenSet;
529  };
530 
531 } // namespace Model
532 } // namespace EC2
533 } // namespace Aws
Aws::EC2::Model::ModifyImageAttributeRequest::GetUserGroups
const Aws::Vector< Aws::String > & GetUserGroups() const
Definition: ModifyImageAttributeRequest.h:303
Aws::EC2::Model::ModifyImageAttributeRequest::WithDescription
ModifyImageAttributeRequest & WithDescription(const AttributeValue &value)
Definition: ModifyImageAttributeRequest.h:127
Aws::EC2::Model::ModifyImageAttributeRequest::SetUserIds
void SetUserIds(Aws::Vector< Aws::String > &&value)
Definition: ModifyImageAttributeRequest.h:376
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ModifyImageAttributeRequest::WithUserGroups
ModifyImageAttributeRequest & WithUserGroups(const Aws::Vector< Aws::String > &value)
Definition: ModifyImageAttributeRequest.h:327
Aws::EC2::Model::ModifyImageAttributeRequest::SetOperationType
void SetOperationType(const OperationType &value)
Definition: ModifyImageAttributeRequest.h:223
Aws::EC2::Model::ModifyImageAttributeRequest::SetLaunchPermission
void SetLaunchPermission(const LaunchPermissionModifications &value)
Definition: ModifyImageAttributeRequest.h:189
Aws::EC2::Model::ModifyImageAttributeRequest::SetProductCodes
void SetProductCodes(Aws::Vector< Aws::String > &&value)
Definition: ModifyImageAttributeRequest.h:266
AttributeValue.h
Aws::EC2::Model::ModifyImageAttributeRequest::AttributeHasBeenSet
bool AttributeHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:59
Aws::EC2::Model::ModifyImageAttributeRequest::GetValue
const Aws::String & GetValue() const
Definition: ModifyImageAttributeRequest.h:414
Aws::EC2::Model::ModifyImageAttributeRequest::WithUserIds
ModifyImageAttributeRequest & WithUserIds(Aws::Vector< Aws::String > &&value)
Definition: ModifyImageAttributeRequest.h:388
Aws::EC2::Model::ModifyImageAttributeRequest::SetImageId
void SetImageId(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:153
Aws::EC2::Model::ModifyImageAttributeRequest::AddProductCodes
ModifyImageAttributeRequest & AddProductCodes(const char *value)
Definition: ModifyImageAttributeRequest.h:296
Aws::EC2::Model::ModifyImageAttributeRequest::WithDescription
ModifyImageAttributeRequest & WithDescription(AttributeValue &&value)
Definition: ModifyImageAttributeRequest.h:132
Aws::EC2::Model::ModifyImageAttributeRequest::SetProductCodes
void SetProductCodes(const Aws::Vector< Aws::String > &value)
Definition: ModifyImageAttributeRequest.h:260
Aws::EC2::Model::LaunchPermissionModifications
Definition: LaunchPermissionModifications.h:33
Aws::EC2::Model::ModifyImageAttributeRequest::AddUserIds
ModifyImageAttributeRequest & AddUserIds(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:394
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::OperationType
OperationType
Definition: OperationType.h:17
Aws::EC2::Model::ModifyImageAttributeRequest::SetUserGroups
void SetUserGroups(const Aws::Vector< Aws::String > &value)
Definition: ModifyImageAttributeRequest.h:315
Aws::EC2::Model::ModifyImageAttributeRequest::WithValue
ModifyImageAttributeRequest & WithValue(const char *value)
Definition: ModifyImageAttributeRequest.h:463
Aws::EC2::Model::ModifyImageAttributeRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:112
Aws::EC2::Model::ModifyImageAttributeRequest::WithAttribute
ModifyImageAttributeRequest & WithAttribute(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:87
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ModifyImageAttributeRequest::SetImageId
void SetImageId(const char *value)
Definition: ModifyImageAttributeRequest.h:158
Aws::EC2::Model::ModifyImageAttributeRequest::WithImageId
ModifyImageAttributeRequest & WithImageId(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:168
OperationType.h
Aws::EC2::Model::ModifyImageAttributeRequest::SetAttribute
void SetAttribute(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:66
Aws::EC2::Model::ModifyImageAttributeRequest::AddUserGroups
ModifyImageAttributeRequest & AddUserGroups(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:339
Aws::EC2::Model::ModifyImageAttributeRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::ModifyImageAttributeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyImageAttributeRequest.h:38
AWSVector.h
Aws::EC2::Model::ModifyImageAttributeRequest::GetImageId
const Aws::String & GetImageId() const
Definition: ModifyImageAttributeRequest.h:138
LaunchPermissionModifications.h
Aws::EC2::Model::ModifyImageAttributeRequest::WithUserIds
ModifyImageAttributeRequest & WithUserIds(const Aws::Vector< Aws::String > &value)
Definition: ModifyImageAttributeRequest.h:382
Aws::EC2::Model::ModifyImageAttributeRequest::GetDryRun
bool GetDryRun() const
Definition: ModifyImageAttributeRequest.h:472
Aws::EC2::Model::ModifyImageAttributeRequest::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:421
Aws::EC2::Model::ModifyImageAttributeRequest::WithValue
ModifyImageAttributeRequest & WithValue(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:456
Aws::EC2::Model::ModifyImageAttributeRequest::LaunchPermissionHasBeenSet
bool LaunchPermissionHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:184
Aws::EC2::Model::ModifyImageAttributeRequest::AddUserGroups
ModifyImageAttributeRequest & AddUserGroups(const char *value)
Definition: ModifyImageAttributeRequest.h:351
Aws::EC2::Model::AttributeValue
Definition: AttributeValue.h:33
Aws::EC2::Model::ModifyImageAttributeRequest::WithAttribute
ModifyImageAttributeRequest & WithAttribute(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:94
Aws::EC2::Model::ModifyImageAttributeRequest::GetLaunchPermission
const LaunchPermissionModifications & GetLaunchPermission() const
Definition: ModifyImageAttributeRequest.h:179
Aws::EC2::Model::ModifyImageAttributeRequest::GetDescription
const AttributeValue & GetDescription() const
Definition: ModifyImageAttributeRequest.h:107
Aws::EC2::Model::ModifyImageAttributeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ModifyImageAttributeRequest::WithUserGroups
ModifyImageAttributeRequest & WithUserGroups(Aws::Vector< Aws::String > &&value)
Definition: ModifyImageAttributeRequest.h:333
Aws::EC2::Model::ModifyImageAttributeRequest::WithAttribute
ModifyImageAttributeRequest & WithAttribute(const char *value)
Definition: ModifyImageAttributeRequest.h:101
Aws::EC2::Model::ModifyImageAttributeRequest::WithLaunchPermission
ModifyImageAttributeRequest & WithLaunchPermission(const LaunchPermissionModifications &value)
Definition: ModifyImageAttributeRequest.h:199
Aws::EC2::Model::ModifyImageAttributeRequest::SetLaunchPermission
void SetLaunchPermission(LaunchPermissionModifications &&value)
Definition: ModifyImageAttributeRequest.h:194
EC2Request.h
Aws::EC2::Model::ModifyImageAttributeRequest::SetValue
void SetValue(const char *value)
Definition: ModifyImageAttributeRequest.h:442
Aws::EC2::Model::ModifyImageAttributeRequest::GetUserIds
const Aws::Vector< Aws::String > & GetUserIds() const
Definition: ModifyImageAttributeRequest.h:358
Aws::EC2::Model::ModifyImageAttributeRequest::AddUserIds
ModifyImageAttributeRequest & AddUserIds(const char *value)
Definition: ModifyImageAttributeRequest.h:406
Aws::EC2::Model::ModifyImageAttributeRequest::OperationTypeHasBeenSet
bool OperationTypeHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:217
Aws::EC2::Model::ModifyImageAttributeRequest::WithLaunchPermission
ModifyImageAttributeRequest & WithLaunchPermission(LaunchPermissionModifications &&value)
Definition: ModifyImageAttributeRequest.h:204
Aws::EC2::Model::ModifyImageAttributeRequest::AddUserGroups
ModifyImageAttributeRequest & AddUserGroups(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:345
Aws::EC2::Model::ModifyImageAttributeRequest::WithValue
ModifyImageAttributeRequest & WithValue(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:449
Aws::EC2::Model::ModifyImageAttributeRequest::SetValue
void SetValue(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:435
Aws::EC2::Model::ModifyImageAttributeRequest::SetOperationType
void SetOperationType(OperationType &&value)
Definition: ModifyImageAttributeRequest.h:229
AWSString.h
Aws::EC2::Model::ModifyImageAttributeRequest::GetAttribute
const Aws::String & GetAttribute() const
Definition: ModifyImageAttributeRequest.h:52
Aws::EC2::Model::ModifyImageAttributeRequest::AddUserIds
ModifyImageAttributeRequest & AddUserIds(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:400
Aws::EC2::Model::ModifyImageAttributeRequest::WithProductCodes
ModifyImageAttributeRequest & WithProductCodes(const Aws::Vector< Aws::String > &value)
Definition: ModifyImageAttributeRequest.h:272
Aws::EC2::Model::ModifyImageAttributeRequest::WithDryRun
ModifyImageAttributeRequest & WithDryRun(bool value)
Definition: ModifyImageAttributeRequest.h:496
Aws::EC2::Model::ModifyImageAttributeRequest::UserGroupsHasBeenSet
bool UserGroupsHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:309
Aws::EC2::Model::ModifyImageAttributeRequest::SetDescription
void SetDescription(const AttributeValue &value)
Definition: ModifyImageAttributeRequest.h:117
Aws::EC2::Model::ModifyImageAttributeRequest::SetDryRun
void SetDryRun(bool value)
Definition: ModifyImageAttributeRequest.h:488
Aws::EC2::Model::ModifyImageAttributeRequest::WithImageId
ModifyImageAttributeRequest & WithImageId(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:163
Aws::EC2::Model::ModifyImageAttributeRequest::GetProductCodes
const Aws::Vector< Aws::String > & GetProductCodes() const
Definition: ModifyImageAttributeRequest.h:248
Aws::EC2::Model::ModifyImageAttributeRequest::AddProductCodes
ModifyImageAttributeRequest & AddProductCodes(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:284
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyImageAttributeRequest::UserIdsHasBeenSet
bool UserIdsHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:364
Aws::EC2::Model::ModifyImageAttributeRequest::GetOperationType
const OperationType & GetOperationType() const
Definition: ModifyImageAttributeRequest.h:211
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ModifyImageAttributeRequest::SetImageId
void SetImageId(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:148
Aws::EC2::Model::ModifyImageAttributeRequest::SetDescription
void SetDescription(AttributeValue &&value)
Definition: ModifyImageAttributeRequest.h:122
Aws::EC2::Model::ModifyImageAttributeRequest::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:143
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::ModifyImageAttributeRequest::SetAttribute
void SetAttribute(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:73
Aws::EC2::Model::ModifyImageAttributeRequest::WithOperationType
ModifyImageAttributeRequest & WithOperationType(OperationType &&value)
Definition: ModifyImageAttributeRequest.h:241
Aws::EC2::Model::ModifyImageAttributeRequest::WithProductCodes
ModifyImageAttributeRequest & WithProductCodes(Aws::Vector< Aws::String > &&value)
Definition: ModifyImageAttributeRequest.h:278
Aws::EC2::Model::ModifyImageAttributeRequest::AddProductCodes
ModifyImageAttributeRequest & AddProductCodes(Aws::String &&value)
Definition: ModifyImageAttributeRequest.h:290
Aws::EC2::Model::ModifyImageAttributeRequest
Definition: ModifyImageAttributeRequest.h:30
Aws::EC2::Model::ModifyImageAttributeRequest::SetValue
void SetValue(const Aws::String &value)
Definition: ModifyImageAttributeRequest.h:428
Aws::EC2::Model::ModifyImageAttributeRequest::SetAttribute
void SetAttribute(const char *value)
Definition: ModifyImageAttributeRequest.h:80
Aws::EC2::Model::ModifyImageAttributeRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:480
Aws::EC2::Model::ModifyImageAttributeRequest::SetUserIds
void SetUserIds(const Aws::Vector< Aws::String > &value)
Definition: ModifyImageAttributeRequest.h:370
Aws::EC2::Model::ModifyImageAttributeRequest::WithImageId
ModifyImageAttributeRequest & WithImageId(const char *value)
Definition: ModifyImageAttributeRequest.h:173
EC2_EXPORTS.h
Aws::EC2::Model::ModifyImageAttributeRequest::SetUserGroups
void SetUserGroups(Aws::Vector< Aws::String > &&value)
Definition: ModifyImageAttributeRequest.h:321
Aws::EC2::Model::ModifyImageAttributeRequest::ModifyImageAttributeRequest
ModifyImageAttributeRequest()
Aws::EC2::Model::ModifyImageAttributeRequest::WithOperationType
ModifyImageAttributeRequest & WithOperationType(const OperationType &value)
Definition: ModifyImageAttributeRequest.h:235
Aws::EC2::Model::ModifyImageAttributeRequest::ProductCodesHasBeenSet
bool ProductCodesHasBeenSet() const
Definition: ModifyImageAttributeRequest.h:254