AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeFpgaImageAttributeRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EC2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeFpgaImageAttribute"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
46  inline bool GetDryRun() const{ return m_dryRun; }
47 
54  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
55 
62  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
63 
70  inline DescribeFpgaImageAttributeRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
71 
72 
76  inline const Aws::String& GetFpgaImageId() const{ return m_fpgaImageId; }
77 
81  inline bool FpgaImageIdHasBeenSet() const { return m_fpgaImageIdHasBeenSet; }
82 
86  inline void SetFpgaImageId(const Aws::String& value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId = value; }
87 
91  inline void SetFpgaImageId(Aws::String&& value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId = std::move(value); }
92 
96  inline void SetFpgaImageId(const char* value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId.assign(value); }
97 
101  inline DescribeFpgaImageAttributeRequest& WithFpgaImageId(const Aws::String& value) { SetFpgaImageId(value); return *this;}
102 
106  inline DescribeFpgaImageAttributeRequest& WithFpgaImageId(Aws::String&& value) { SetFpgaImageId(std::move(value)); return *this;}
107 
111  inline DescribeFpgaImageAttributeRequest& WithFpgaImageId(const char* value) { SetFpgaImageId(value); return *this;}
112 
113 
117  inline const FpgaImageAttributeName& GetAttribute() const{ return m_attribute; }
118 
122  inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
123 
127  inline void SetAttribute(const FpgaImageAttributeName& value) { m_attributeHasBeenSet = true; m_attribute = value; }
128 
132  inline void SetAttribute(FpgaImageAttributeName&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
133 
137  inline DescribeFpgaImageAttributeRequest& WithAttribute(const FpgaImageAttributeName& value) { SetAttribute(value); return *this;}
138 
142  inline DescribeFpgaImageAttributeRequest& WithAttribute(FpgaImageAttributeName&& value) { SetAttribute(std::move(value)); return *this;}
143 
144  private:
145 
146  bool m_dryRun;
147  bool m_dryRunHasBeenSet;
148 
149  Aws::String m_fpgaImageId;
150  bool m_fpgaImageIdHasBeenSet;
151 
152  FpgaImageAttributeName m_attribute;
153  bool m_attributeHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace EC2
158 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SetFpgaImageId
void SetFpgaImageId(const char *value)
Definition: DescribeFpgaImageAttributeRequest.h:96
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::WithAttribute
DescribeFpgaImageAttributeRequest & WithAttribute(FpgaImageAttributeName &&value)
Definition: DescribeFpgaImageAttributeRequest.h:142
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::WithAttribute
DescribeFpgaImageAttributeRequest & WithAttribute(const FpgaImageAttributeName &value)
Definition: DescribeFpgaImageAttributeRequest.h:137
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeFpgaImageAttributeRequest
Definition: DescribeFpgaImageAttributeRequest.h:23
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::GetFpgaImageId
const Aws::String & GetFpgaImageId() const
Definition: DescribeFpgaImageAttributeRequest.h:76
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeFpgaImageAttributeRequest.h:46
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SetFpgaImageId
void SetFpgaImageId(Aws::String &&value)
Definition: DescribeFpgaImageAttributeRequest.h:91
FpgaImageAttributeName.h
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::GetAttribute
const FpgaImageAttributeName & GetAttribute() const
Definition: DescribeFpgaImageAttributeRequest.h:117
Aws::EC2::Model::FpgaImageAttributeName
FpgaImageAttributeName
Definition: FpgaImageAttributeName.h:17
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SetAttribute
void SetAttribute(FpgaImageAttributeName &&value)
Definition: DescribeFpgaImageAttributeRequest.h:132
EC2Request.h
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::AttributeHasBeenSet
bool AttributeHasBeenSet() const
Definition: DescribeFpgaImageAttributeRequest.h:122
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::FpgaImageIdHasBeenSet
bool FpgaImageIdHasBeenSet() const
Definition: DescribeFpgaImageAttributeRequest.h:81
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::DescribeFpgaImageAttributeRequest
DescribeFpgaImageAttributeRequest()
AWSString.h
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::WithFpgaImageId
DescribeFpgaImageAttributeRequest & WithFpgaImageId(Aws::String &&value)
Definition: DescribeFpgaImageAttributeRequest.h:106
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::WithFpgaImageId
DescribeFpgaImageAttributeRequest & WithFpgaImageId(const char *value)
Definition: DescribeFpgaImageAttributeRequest.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::WithDryRun
DescribeFpgaImageAttributeRequest & WithDryRun(bool value)
Definition: DescribeFpgaImageAttributeRequest.h:70
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeFpgaImageAttributeRequest.h:62
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::WithFpgaImageId
DescribeFpgaImageAttributeRequest & WithFpgaImageId(const Aws::String &value)
Definition: DescribeFpgaImageAttributeRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SetAttribute
void SetAttribute(const FpgaImageAttributeName &value)
Definition: DescribeFpgaImageAttributeRequest.h:127
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeFpgaImageAttributeRequest.h:54
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFpgaImageAttributeRequest.h:31
EC2_EXPORTS.h
Aws::EC2::Model::DescribeFpgaImageAttributeRequest::SetFpgaImageId
void SetFpgaImageId(const Aws::String &value)
Definition: DescribeFpgaImageAttributeRequest.h:86