AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeFpgaImageAttributeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/FpgaImageAttributeName.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EC2 {
16namespace Model {
17
21 public:
22 AWS_EC2_API DescribeFpgaImageAttributeRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeFpgaImageAttribute"; }
29
30 AWS_EC2_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
43 inline bool GetDryRun() const { return m_dryRun; }
44 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
45 inline void SetDryRun(bool value) {
46 m_dryRunHasBeenSet = true;
47 m_dryRun = value;
48 }
50 SetDryRun(value);
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFpgaImageId() const { return m_fpgaImageId; }
60 inline bool FpgaImageIdHasBeenSet() const { return m_fpgaImageIdHasBeenSet; }
61 template <typename FpgaImageIdT = Aws::String>
62 void SetFpgaImageId(FpgaImageIdT&& value) {
63 m_fpgaImageIdHasBeenSet = true;
64 m_fpgaImageId = std::forward<FpgaImageIdT>(value);
65 }
66 template <typename FpgaImageIdT = Aws::String>
68 SetFpgaImageId(std::forward<FpgaImageIdT>(value));
69 return *this;
70 }
72
74
77 inline FpgaImageAttributeName GetAttribute() const { return m_attribute; }
78 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
80 m_attributeHasBeenSet = true;
81 m_attribute = value;
82 }
84 SetAttribute(value);
85 return *this;
86 }
88 private:
89 bool m_dryRun{false};
90
91 Aws::String m_fpgaImageId;
92
94 bool m_dryRunHasBeenSet = false;
95 bool m_fpgaImageIdHasBeenSet = false;
96 bool m_attributeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace EC2
101} // namespace Aws
DescribeFpgaImageAttributeRequest & WithAttribute(FpgaImageAttributeName value)
DescribeFpgaImageAttributeRequest & WithFpgaImageId(FpgaImageIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeFpgaImageAttributeRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String