AWS SDK for C++  0.12.9
AWS SDK for C++
Image.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/ec2/EC2_EXPORTS.h>
30 #include <aws/ec2/model/Tag.h>
31 
32 namespace Aws
33 {
34 namespace Utils
35 {
36 namespace Xml
37 {
38  class XmlNode;
39 } // namespace Xml
40 } // namespace Utils
41 namespace EC2
42 {
43 namespace Model
44 {
45 
50  {
51  public:
52  Image();
53  Image(const Aws::Utils::Xml::XmlNode& xmlNode);
54  Image& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
55 
56  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
57  void OutputToStream(Aws::OStream& oStream, const char* location) const;
58 
62  inline const Aws::String& GetImageId() const{ return m_imageId; }
63 
67  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
68 
72  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
73 
77  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
78 
82  inline Image& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
83 
87  inline Image& WithImageId(Aws::String&& value) { SetImageId(value); return *this;}
88 
92  inline Image& WithImageId(const char* value) { SetImageId(value); return *this;}
93 
97  inline const Aws::String& GetImageLocation() const{ return m_imageLocation; }
98 
102  inline void SetImageLocation(const Aws::String& value) { m_imageLocationHasBeenSet = true; m_imageLocation = value; }
103 
107  inline void SetImageLocation(Aws::String&& value) { m_imageLocationHasBeenSet = true; m_imageLocation = value; }
108 
112  inline void SetImageLocation(const char* value) { m_imageLocationHasBeenSet = true; m_imageLocation.assign(value); }
113 
117  inline Image& WithImageLocation(const Aws::String& value) { SetImageLocation(value); return *this;}
118 
122  inline Image& WithImageLocation(Aws::String&& value) { SetImageLocation(value); return *this;}
123 
127  inline Image& WithImageLocation(const char* value) { SetImageLocation(value); return *this;}
128 
133  inline const ImageState& GetState() const{ return m_state; }
134 
139  inline void SetState(const ImageState& value) { m_stateHasBeenSet = true; m_state = value; }
140 
145  inline void SetState(ImageState&& value) { m_stateHasBeenSet = true; m_state = value; }
146 
151  inline Image& WithState(const ImageState& value) { SetState(value); return *this;}
152 
157  inline Image& WithState(ImageState&& value) { SetState(value); return *this;}
158 
162  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
163 
167  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
168 
172  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
173 
177  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
178 
182  inline Image& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
183 
187  inline Image& WithOwnerId(Aws::String&& value) { SetOwnerId(value); return *this;}
188 
192  inline Image& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
193 
197  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
198 
202  inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
203 
207  inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
208 
212  inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
213 
217  inline Image& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
218 
222  inline Image& WithCreationDate(Aws::String&& value) { SetCreationDate(value); return *this;}
223 
227  inline Image& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
228 
234  inline bool GetPublic() const{ return m_public; }
235 
241  inline void SetPublic(bool value) { m_publicHasBeenSet = true; m_public = value; }
242 
248  inline Image& WithPublic(bool value) { SetPublic(value); return *this;}
249 
253  inline const Aws::Vector<ProductCode>& GetProductCodes() const{ return m_productCodes; }
254 
258  inline void SetProductCodes(const Aws::Vector<ProductCode>& value) { m_productCodesHasBeenSet = true; m_productCodes = value; }
259 
263  inline void SetProductCodes(Aws::Vector<ProductCode>&& value) { m_productCodesHasBeenSet = true; m_productCodes = value; }
264 
268  inline Image& WithProductCodes(const Aws::Vector<ProductCode>& value) { SetProductCodes(value); return *this;}
269 
273  inline Image& WithProductCodes(Aws::Vector<ProductCode>&& value) { SetProductCodes(value); return *this;}
274 
278  inline Image& AddProductCodes(const ProductCode& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; }
279 
283  inline Image& AddProductCodes(ProductCode&& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; }
284 
288  inline const ArchitectureValues& GetArchitecture() const{ return m_architecture; }
289 
293  inline void SetArchitecture(const ArchitectureValues& value) { m_architectureHasBeenSet = true; m_architecture = value; }
294 
298  inline void SetArchitecture(ArchitectureValues&& value) { m_architectureHasBeenSet = true; m_architecture = value; }
299 
303  inline Image& WithArchitecture(const ArchitectureValues& value) { SetArchitecture(value); return *this;}
304 
308  inline Image& WithArchitecture(ArchitectureValues&& value) { SetArchitecture(value); return *this;}
309 
313  inline const ImageTypeValues& GetImageType() const{ return m_imageType; }
314 
318  inline void SetImageType(const ImageTypeValues& value) { m_imageTypeHasBeenSet = true; m_imageType = value; }
319 
323  inline void SetImageType(ImageTypeValues&& value) { m_imageTypeHasBeenSet = true; m_imageType = value; }
324 
328  inline Image& WithImageType(const ImageTypeValues& value) { SetImageType(value); return *this;}
329 
333  inline Image& WithImageType(ImageTypeValues&& value) { SetImageType(value); return *this;}
334 
339  inline const Aws::String& GetKernelId() const{ return m_kernelId; }
340 
345  inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; }
346 
351  inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; }
352 
357  inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); }
358 
363  inline Image& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;}
364 
369  inline Image& WithKernelId(Aws::String&& value) { SetKernelId(value); return *this;}
370 
375  inline Image& WithKernelId(const char* value) { SetKernelId(value); return *this;}
376 
381  inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; }
382 
387  inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
388 
393  inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
394 
399  inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); }
400 
405  inline Image& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;}
406 
411  inline Image& WithRamdiskId(Aws::String&& value) { SetRamdiskId(value); return *this;}
412 
417  inline Image& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;}
418 
422  inline const PlatformValues& GetPlatform() const{ return m_platform; }
423 
427  inline void SetPlatform(const PlatformValues& value) { m_platformHasBeenSet = true; m_platform = value; }
428 
432  inline void SetPlatform(PlatformValues&& value) { m_platformHasBeenSet = true; m_platform = value; }
433 
437  inline Image& WithPlatform(const PlatformValues& value) { SetPlatform(value); return *this;}
438 
442  inline Image& WithPlatform(PlatformValues&& value) { SetPlatform(value); return *this;}
443 
447  inline const Aws::String& GetSriovNetSupport() const{ return m_sriovNetSupport; }
448 
452  inline void SetSriovNetSupport(const Aws::String& value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport = value; }
453 
457  inline void SetSriovNetSupport(Aws::String&& value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport = value; }
458 
462  inline void SetSriovNetSupport(const char* value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport.assign(value); }
463 
467  inline Image& WithSriovNetSupport(const Aws::String& value) { SetSriovNetSupport(value); return *this;}
468 
472  inline Image& WithSriovNetSupport(Aws::String&& value) { SetSriovNetSupport(value); return *this;}
473 
477  inline Image& WithSriovNetSupport(const char* value) { SetSriovNetSupport(value); return *this;}
478 
482  inline const StateReason& GetStateReason() const{ return m_stateReason; }
483 
487  inline void SetStateReason(const StateReason& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
488 
492  inline void SetStateReason(StateReason&& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
493 
497  inline Image& WithStateReason(const StateReason& value) { SetStateReason(value); return *this;}
498 
502  inline Image& WithStateReason(StateReason&& value) { SetStateReason(value); return *this;}
503 
508  inline const Aws::String& GetImageOwnerAlias() const{ return m_imageOwnerAlias; }
509 
514  inline void SetImageOwnerAlias(const Aws::String& value) { m_imageOwnerAliasHasBeenSet = true; m_imageOwnerAlias = value; }
515 
520  inline void SetImageOwnerAlias(Aws::String&& value) { m_imageOwnerAliasHasBeenSet = true; m_imageOwnerAlias = value; }
521 
526  inline void SetImageOwnerAlias(const char* value) { m_imageOwnerAliasHasBeenSet = true; m_imageOwnerAlias.assign(value); }
527 
532  inline Image& WithImageOwnerAlias(const Aws::String& value) { SetImageOwnerAlias(value); return *this;}
533 
538  inline Image& WithImageOwnerAlias(Aws::String&& value) { SetImageOwnerAlias(value); return *this;}
539 
544  inline Image& WithImageOwnerAlias(const char* value) { SetImageOwnerAlias(value); return *this;}
545 
549  inline const Aws::String& GetName() const{ return m_name; }
550 
554  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
555 
559  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
560 
564  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
565 
569  inline Image& WithName(const Aws::String& value) { SetName(value); return *this;}
570 
574  inline Image& WithName(Aws::String&& value) { SetName(value); return *this;}
575 
579  inline Image& WithName(const char* value) { SetName(value); return *this;}
580 
584  inline const Aws::String& GetDescription() const{ return m_description; }
585 
589  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
590 
594  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
595 
599  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
600 
604  inline Image& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
605 
609  inline Image& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
610 
614  inline Image& WithDescription(const char* value) { SetDescription(value); return *this;}
615 
620  inline const DeviceType& GetRootDeviceType() const{ return m_rootDeviceType; }
621 
626  inline void SetRootDeviceType(const DeviceType& value) { m_rootDeviceTypeHasBeenSet = true; m_rootDeviceType = value; }
627 
632  inline void SetRootDeviceType(DeviceType&& value) { m_rootDeviceTypeHasBeenSet = true; m_rootDeviceType = value; }
633 
638  inline Image& WithRootDeviceType(const DeviceType& value) { SetRootDeviceType(value); return *this;}
639 
644  inline Image& WithRootDeviceType(DeviceType&& value) { SetRootDeviceType(value); return *this;}
645 
650  inline const Aws::String& GetRootDeviceName() const{ return m_rootDeviceName; }
651 
656  inline void SetRootDeviceName(const Aws::String& value) { m_rootDeviceNameHasBeenSet = true; m_rootDeviceName = value; }
657 
662  inline void SetRootDeviceName(Aws::String&& value) { m_rootDeviceNameHasBeenSet = true; m_rootDeviceName = value; }
663 
668  inline void SetRootDeviceName(const char* value) { m_rootDeviceNameHasBeenSet = true; m_rootDeviceName.assign(value); }
669 
674  inline Image& WithRootDeviceName(const Aws::String& value) { SetRootDeviceName(value); return *this;}
675 
680  inline Image& WithRootDeviceName(Aws::String&& value) { SetRootDeviceName(value); return *this;}
681 
686  inline Image& WithRootDeviceName(const char* value) { SetRootDeviceName(value); return *this;}
687 
691  inline const Aws::Vector<BlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
692 
696  inline void SetBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
697 
701  inline void SetBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
702 
706  inline Image& WithBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { SetBlockDeviceMappings(value); return *this;}
707 
711  inline Image& WithBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { SetBlockDeviceMappings(value); return *this;}
712 
716  inline Image& AddBlockDeviceMappings(const BlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
717 
721  inline Image& AddBlockDeviceMappings(BlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
722 
726  inline const VirtualizationType& GetVirtualizationType() const{ return m_virtualizationType; }
727 
731  inline void SetVirtualizationType(const VirtualizationType& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = value; }
732 
736  inline void SetVirtualizationType(VirtualizationType&& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = value; }
737 
741  inline Image& WithVirtualizationType(const VirtualizationType& value) { SetVirtualizationType(value); return *this;}
742 
746  inline Image& WithVirtualizationType(VirtualizationType&& value) { SetVirtualizationType(value); return *this;}
747 
751  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
752 
756  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
757 
761  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = value; }
762 
766  inline Image& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
767 
771  inline Image& WithTags(Aws::Vector<Tag>&& value) { SetTags(value); return *this;}
772 
776  inline Image& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
777 
781  inline Image& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
782 
786  inline const HypervisorType& GetHypervisor() const{ return m_hypervisor; }
787 
791  inline void SetHypervisor(const HypervisorType& value) { m_hypervisorHasBeenSet = true; m_hypervisor = value; }
792 
796  inline void SetHypervisor(HypervisorType&& value) { m_hypervisorHasBeenSet = true; m_hypervisor = value; }
797 
801  inline Image& WithHypervisor(const HypervisorType& value) { SetHypervisor(value); return *this;}
802 
806  inline Image& WithHypervisor(HypervisorType&& value) { SetHypervisor(value); return *this;}
807 
808  private:
809  Aws::String m_imageId;
810  bool m_imageIdHasBeenSet;
811  Aws::String m_imageLocation;
812  bool m_imageLocationHasBeenSet;
813  ImageState m_state;
814  bool m_stateHasBeenSet;
815  Aws::String m_ownerId;
816  bool m_ownerIdHasBeenSet;
817  Aws::String m_creationDate;
818  bool m_creationDateHasBeenSet;
819  bool m_public;
820  bool m_publicHasBeenSet;
821  Aws::Vector<ProductCode> m_productCodes;
822  bool m_productCodesHasBeenSet;
823  ArchitectureValues m_architecture;
824  bool m_architectureHasBeenSet;
825  ImageTypeValues m_imageType;
826  bool m_imageTypeHasBeenSet;
827  Aws::String m_kernelId;
828  bool m_kernelIdHasBeenSet;
829  Aws::String m_ramdiskId;
830  bool m_ramdiskIdHasBeenSet;
831  PlatformValues m_platform;
832  bool m_platformHasBeenSet;
833  Aws::String m_sriovNetSupport;
834  bool m_sriovNetSupportHasBeenSet;
835  StateReason m_stateReason;
836  bool m_stateReasonHasBeenSet;
837  Aws::String m_imageOwnerAlias;
838  bool m_imageOwnerAliasHasBeenSet;
839  Aws::String m_name;
840  bool m_nameHasBeenSet;
841  Aws::String m_description;
842  bool m_descriptionHasBeenSet;
843  DeviceType m_rootDeviceType;
844  bool m_rootDeviceTypeHasBeenSet;
845  Aws::String m_rootDeviceName;
846  bool m_rootDeviceNameHasBeenSet;
847  Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
848  bool m_blockDeviceMappingsHasBeenSet;
849  VirtualizationType m_virtualizationType;
850  bool m_virtualizationTypeHasBeenSet;
851  Aws::Vector<Tag> m_tags;
852  bool m_tagsHasBeenSet;
853  HypervisorType m_hypervisor;
854  bool m_hypervisorHasBeenSet;
855  };
856 
857 } // namespace Model
858 } // namespace EC2
859 } // namespace Aws
Image & WithImageLocation(const Aws::String &value)
Definition: Image.h:117
Image & WithStateReason(const StateReason &value)
Definition: Image.h:497
Image & WithPlatform(PlatformValues &&value)
Definition: Image.h:442
void SetDescription(const char *value)
Definition: Image.h:599
Image & WithKernelId(Aws::String &&value)
Definition: Image.h:369
const Aws::String & GetCreationDate() const
Definition: Image.h:197
Image & WithDescription(const Aws::String &value)
Definition: Image.h:604
void SetImageId(const Aws::String &value)
Definition: Image.h:67
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: Image.h:696
void SetArchitecture(ArchitectureValues &&value)
Definition: Image.h:298
const Aws::String & GetRamdiskId() const
Definition: Image.h:381
const Aws::String & GetRootDeviceName() const
Definition: Image.h:650
void SetName(Aws::String &&value)
Definition: Image.h:559
Image & WithImageLocation(const char *value)
Definition: Image.h:127
Image & WithRootDeviceType(const DeviceType &value)
Definition: Image.h:638
Image & WithOwnerId(const Aws::String &value)
Definition: Image.h:182
const Aws::String & GetOwnerId() const
Definition: Image.h:162
void SetState(const ImageState &value)
Definition: Image.h:139
void SetDescription(const Aws::String &value)
Definition: Image.h:589
void SetKernelId(const char *value)
Definition: Image.h:357
void SetCreationDate(const Aws::String &value)
Definition: Image.h:202
Image & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: Image.h:706
Image & AddBlockDeviceMappings(const BlockDeviceMapping &value)
Definition: Image.h:716
Image & WithImageType(ImageTypeValues &&value)
Definition: Image.h:333
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetImageId(Aws::String &&value)
Definition: Image.h:72
void SetSriovNetSupport(const char *value)
Definition: Image.h:462
Image & WithStateReason(StateReason &&value)
Definition: Image.h:502
const PlatformValues & GetPlatform() const
Definition: Image.h:422
const Aws::Vector< ProductCode > & GetProductCodes() const
Definition: Image.h:253
void SetVirtualizationType(const VirtualizationType &value)
Definition: Image.h:731
Image & WithVirtualizationType(VirtualizationType &&value)
Definition: Image.h:746
void SetCreationDate(const char *value)
Definition: Image.h:212
void SetRootDeviceType(DeviceType &&value)
Definition: Image.h:632
void SetHypervisor(HypervisorType &&value)
Definition: Image.h:796
void SetImageLocation(const Aws::String &value)
Definition: Image.h:102
void SetImageOwnerAlias(const Aws::String &value)
Definition: Image.h:514
void SetRamdiskId(Aws::String &&value)
Definition: Image.h:393
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: Image.h:701
const StateReason & GetStateReason() const
Definition: Image.h:482
void SetStateReason(StateReason &&value)
Definition: Image.h:492
const ImageTypeValues & GetImageType() const
Definition: Image.h:313
void SetState(ImageState &&value)
Definition: Image.h:145
void SetOwnerId(const Aws::String &value)
Definition: Image.h:167
void SetRootDeviceName(const Aws::String &value)
Definition: Image.h:656
Image & WithName(const char *value)
Definition: Image.h:579
const Aws::String & GetSriovNetSupport() const
Definition: Image.h:447
void SetImageLocation(Aws::String &&value)
Definition: Image.h:107
const Aws::String & GetName() const
Definition: Image.h:549
const Aws::Vector< Tag > & GetTags() const
Definition: Image.h:751
Image & WithRamdiskId(const char *value)
Definition: Image.h:417
Image & WithImageOwnerAlias(const char *value)
Definition: Image.h:544
Image & WithCreationDate(const Aws::String &value)
Definition: Image.h:217
void SetRootDeviceName(const char *value)
Definition: Image.h:668
void SetKernelId(const Aws::String &value)
Definition: Image.h:345
const ArchitectureValues & GetArchitecture() const
Definition: Image.h:288
void SetRootDeviceType(const DeviceType &value)
Definition: Image.h:626
void SetOwnerId(const char *value)
Definition: Image.h:177
Image & WithRamdiskId(Aws::String &&value)
Definition: Image.h:411
void SetStateReason(const StateReason &value)
Definition: Image.h:487
Image & AddProductCodes(ProductCode &&value)
Definition: Image.h:283
void SetSriovNetSupport(const Aws::String &value)
Definition: Image.h:452
void SetHypervisor(const HypervisorType &value)
Definition: Image.h:791
void SetRamdiskId(const char *value)
Definition: Image.h:399
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
Image & WithRootDeviceName(Aws::String &&value)
Definition: Image.h:680
Image & AddTags(const Tag &value)
Definition: Image.h:776
void SetSriovNetSupport(Aws::String &&value)
Definition: Image.h:457
void SetProductCodes(Aws::Vector< ProductCode > &&value)
Definition: Image.h:263
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
Definition: Image.h:691
void SetRootDeviceName(Aws::String &&value)
Definition: Image.h:662
Image & WithRootDeviceName(const char *value)
Definition: Image.h:686
Image & WithDescription(Aws::String &&value)
Definition: Image.h:609
Image & WithOwnerId(const char *value)
Definition: Image.h:192
Image & WithRootDeviceName(const Aws::String &value)
Definition: Image.h:674
void SetImageType(ImageTypeValues &&value)
Definition: Image.h:323
void SetCreationDate(Aws::String &&value)
Definition: Image.h:207
void SetImageType(const ImageTypeValues &value)
Definition: Image.h:318
const HypervisorType & GetHypervisor() const
Definition: Image.h:786
Image & WithVirtualizationType(const VirtualizationType &value)
Definition: Image.h:741
void SetRamdiskId(const Aws::String &value)
Definition: Image.h:387
Image & WithSriovNetSupport(Aws::String &&value)
Definition: Image.h:472
const Aws::String & GetImageId() const
Definition: Image.h:62
const Aws::String & GetImageOwnerAlias() const
Definition: Image.h:508
Image & WithCreationDate(Aws::String &&value)
Definition: Image.h:222
Image & WithImageLocation(Aws::String &&value)
Definition: Image.h:122
Image & WithImageOwnerAlias(Aws::String &&value)
Definition: Image.h:538
void SetPublic(bool value)
Definition: Image.h:241
Image & WithProductCodes(Aws::Vector< ProductCode > &&value)
Definition: Image.h:273
Image & WithHypervisor(HypervisorType &&value)
Definition: Image.h:806
void SetOwnerId(Aws::String &&value)
Definition: Image.h:172
Image & WithArchitecture(const ArchitectureValues &value)
Definition: Image.h:303
Image & WithImageId(Aws::String &&value)
Definition: Image.h:87
Image & WithTags(const Aws::Vector< Tag > &value)
Definition: Image.h:766
Image & WithProductCodes(const Aws::Vector< ProductCode > &value)
Definition: Image.h:268
Image & WithImageOwnerAlias(const Aws::String &value)
Definition: Image.h:532
Image & WithName(Aws::String &&value)
Definition: Image.h:574
Image & WithArchitecture(ArchitectureValues &&value)
Definition: Image.h:308
void SetProductCodes(const Aws::Vector< ProductCode > &value)
Definition: Image.h:258
const Aws::String & GetDescription() const
Definition: Image.h:584
Image & WithImageId(const Aws::String &value)
Definition: Image.h:82
Image & WithPublic(bool value)
Definition: Image.h:248
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Image & WithHypervisor(const HypervisorType &value)
Definition: Image.h:801
Image & WithPlatform(const PlatformValues &value)
Definition: Image.h:437
void SetImageId(const char *value)
Definition: Image.h:77
void SetTags(const Aws::Vector< Tag > &value)
Definition: Image.h:756
Image & WithOwnerId(Aws::String &&value)
Definition: Image.h:187
Image & AddBlockDeviceMappings(BlockDeviceMapping &&value)
Definition: Image.h:721
Image & WithKernelId(const char *value)
Definition: Image.h:375
Image & WithRamdiskId(const Aws::String &value)
Definition: Image.h:405
Image & WithSriovNetSupport(const char *value)
Definition: Image.h:477
void SetName(const Aws::String &value)
Definition: Image.h:554
Image & WithSriovNetSupport(const Aws::String &value)
Definition: Image.h:467
const ImageState & GetState() const
Definition: Image.h:133
Image & WithName(const Aws::String &value)
Definition: Image.h:569
Image & WithImageId(const char *value)
Definition: Image.h:92
void SetVirtualizationType(VirtualizationType &&value)
Definition: Image.h:736
Image & AddProductCodes(const ProductCode &value)
Definition: Image.h:278
Image & WithRootDeviceType(DeviceType &&value)
Definition: Image.h:644
void SetPlatform(PlatformValues &&value)
Definition: Image.h:432
void SetDescription(Aws::String &&value)
Definition: Image.h:594
Image & WithTags(Aws::Vector< Tag > &&value)
Definition: Image.h:771
Image & WithDescription(const char *value)
Definition: Image.h:614
Image & WithKernelId(const Aws::String &value)
Definition: Image.h:363
Image & WithImageType(const ImageTypeValues &value)
Definition: Image.h:328
const Aws::String & GetKernelId() const
Definition: Image.h:339
void SetArchitecture(const ArchitectureValues &value)
Definition: Image.h:293
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:34
void SetImageOwnerAlias(const char *value)
Definition: Image.h:526
Image & AddTags(Tag &&value)
Definition: Image.h:781
void SetName(const char *value)
Definition: Image.h:564
Image & WithState(const ImageState &value)
Definition: Image.h:151
const DeviceType & GetRootDeviceType() const
Definition: Image.h:620
void SetKernelId(Aws::String &&value)
Definition: Image.h:351
bool GetPublic() const
Definition: Image.h:234
const VirtualizationType & GetVirtualizationType() const
Definition: Image.h:726
void SetImageLocation(const char *value)
Definition: Image.h:112
Image & WithState(ImageState &&value)
Definition: Image.h:157
Image & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: Image.h:711
Image & WithCreationDate(const char *value)
Definition: Image.h:227
void SetPlatform(const PlatformValues &value)
Definition: Image.h:427
JSON (JavaScript Object Notation).
void SetTags(Aws::Vector< Tag > &&value)
Definition: Image.h:761
const Aws::String & GetImageLocation() const
Definition: Image.h:97
void SetImageOwnerAlias(Aws::String &&value)
Definition: Image.h:520