AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FpgaImageAttribute.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/LoadPermission.h>
12#include <aws/ec2/model/ProductCode.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_EC2_API FpgaImageAttribute();
38 AWS_EC2_API FpgaImageAttribute(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetFpgaImageId() const{ return m_fpgaImageId; }
50 inline bool FpgaImageIdHasBeenSet() const { return m_fpgaImageIdHasBeenSet; }
51 inline void SetFpgaImageId(const Aws::String& value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId = value; }
52 inline void SetFpgaImageId(Aws::String&& value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId = std::move(value); }
53 inline void SetFpgaImageId(const char* value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId.assign(value); }
54 inline FpgaImageAttribute& WithFpgaImageId(const Aws::String& value) { SetFpgaImageId(value); return *this;}
55 inline FpgaImageAttribute& WithFpgaImageId(Aws::String&& value) { SetFpgaImageId(std::move(value)); return *this;}
56 inline FpgaImageAttribute& WithFpgaImageId(const char* value) { SetFpgaImageId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline FpgaImageAttribute& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline FpgaImageAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline FpgaImageAttribute& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline FpgaImageAttribute& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline FpgaImageAttribute& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline FpgaImageAttribute& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::Vector<LoadPermission>& GetLoadPermissions() const{ return m_loadPermissions; }
92 inline bool LoadPermissionsHasBeenSet() const { return m_loadPermissionsHasBeenSet; }
93 inline void SetLoadPermissions(const Aws::Vector<LoadPermission>& value) { m_loadPermissionsHasBeenSet = true; m_loadPermissions = value; }
94 inline void SetLoadPermissions(Aws::Vector<LoadPermission>&& value) { m_loadPermissionsHasBeenSet = true; m_loadPermissions = std::move(value); }
96 inline FpgaImageAttribute& WithLoadPermissions(Aws::Vector<LoadPermission>&& value) { SetLoadPermissions(std::move(value)); return *this;}
97 inline FpgaImageAttribute& AddLoadPermissions(const LoadPermission& value) { m_loadPermissionsHasBeenSet = true; m_loadPermissions.push_back(value); return *this; }
98 inline FpgaImageAttribute& AddLoadPermissions(LoadPermission&& value) { m_loadPermissionsHasBeenSet = true; m_loadPermissions.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::Vector<ProductCode>& GetProductCodes() const{ return m_productCodes; }
106 inline bool ProductCodesHasBeenSet() const { return m_productCodesHasBeenSet; }
107 inline void SetProductCodes(const Aws::Vector<ProductCode>& value) { m_productCodesHasBeenSet = true; m_productCodes = value; }
108 inline void SetProductCodes(Aws::Vector<ProductCode>&& value) { m_productCodesHasBeenSet = true; m_productCodes = std::move(value); }
110 inline FpgaImageAttribute& WithProductCodes(Aws::Vector<ProductCode>&& value) { SetProductCodes(std::move(value)); return *this;}
111 inline FpgaImageAttribute& AddProductCodes(const ProductCode& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; }
112 inline FpgaImageAttribute& AddProductCodes(ProductCode&& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(std::move(value)); return *this; }
114 private:
115
116 Aws::String m_fpgaImageId;
117 bool m_fpgaImageIdHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 Aws::Vector<LoadPermission> m_loadPermissions;
126 bool m_loadPermissionsHasBeenSet = false;
127
128 Aws::Vector<ProductCode> m_productCodes;
129 bool m_productCodesHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace EC2
134} // namespace Aws
AWS_EC2_API FpgaImageAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FpgaImageAttribute & WithName(Aws::String &&value)
FpgaImageAttribute & AddProductCodes(ProductCode &&value)
void SetProductCodes(Aws::Vector< ProductCode > &&value)
void SetFpgaImageId(Aws::String &&value)
FpgaImageAttribute & WithProductCodes(const Aws::Vector< ProductCode > &value)
FpgaImageAttribute & WithFpgaImageId(Aws::String &&value)
FpgaImageAttribute & WithLoadPermissions(const Aws::Vector< LoadPermission > &value)
FpgaImageAttribute & WithName(const char *value)
FpgaImageAttribute & AddLoadPermissions(LoadPermission &&value)
FpgaImageAttribute & WithDescription(const char *value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
void SetLoadPermissions(Aws::Vector< LoadPermission > &&value)
FpgaImageAttribute & WithLoadPermissions(Aws::Vector< LoadPermission > &&value)
const Aws::Vector< ProductCode > & GetProductCodes() const
void SetDescription(Aws::String &&value)
AWS_EC2_API FpgaImageAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(const Aws::String &value)
FpgaImageAttribute & WithDescription(Aws::String &&value)
void SetFpgaImageId(const Aws::String &value)
FpgaImageAttribute & WithProductCodes(Aws::Vector< ProductCode > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< LoadPermission > & GetLoadPermissions() const
FpgaImageAttribute & WithFpgaImageId(const Aws::String &value)
const Aws::String & GetFpgaImageId() const
void SetProductCodes(const Aws::Vector< ProductCode > &value)
FpgaImageAttribute & AddLoadPermissions(const LoadPermission &value)
FpgaImageAttribute & WithDescription(const Aws::String &value)
const Aws::String & GetName() const
FpgaImageAttribute & WithName(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLoadPermissions(const Aws::Vector< LoadPermission > &value)
FpgaImageAttribute & AddProductCodes(const ProductCode &value)
FpgaImageAttribute & WithFpgaImageId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream