AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CopyFpgaImageRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EC2
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_EC2_API CopyFpgaImageRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CopyFpgaImage"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
46 inline bool GetDryRun() const { return m_dryRun; }
47 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
48 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
49 inline CopyFpgaImageRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
51
53
56 inline const Aws::String& GetSourceFpgaImageId() const { return m_sourceFpgaImageId; }
57 inline bool SourceFpgaImageIdHasBeenSet() const { return m_sourceFpgaImageIdHasBeenSet; }
58 template<typename SourceFpgaImageIdT = Aws::String>
59 void SetSourceFpgaImageId(SourceFpgaImageIdT&& value) { m_sourceFpgaImageIdHasBeenSet = true; m_sourceFpgaImageId = std::forward<SourceFpgaImageIdT>(value); }
60 template<typename SourceFpgaImageIdT = Aws::String>
61 CopyFpgaImageRequest& WithSourceFpgaImageId(SourceFpgaImageIdT&& value) { SetSourceFpgaImageId(std::forward<SourceFpgaImageIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 CopyFpgaImageRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template<typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
84 template<typename NameT = Aws::String>
85 CopyFpgaImageRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
87
89
92 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
93 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
94 template<typename SourceRegionT = Aws::String>
95 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::forward<SourceRegionT>(value); }
96 template<typename SourceRegionT = Aws::String>
97 CopyFpgaImageRequest& WithSourceRegion(SourceRegionT&& value) { SetSourceRegion(std::forward<SourceRegionT>(value)); return *this;}
99
101
107 inline const Aws::String& GetClientToken() const { return m_clientToken; }
108 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
109 template<typename ClientTokenT = Aws::String>
110 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
111 template<typename ClientTokenT = Aws::String>
112 CopyFpgaImageRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
114 private:
115
116 bool m_dryRun{false};
117 bool m_dryRunHasBeenSet = false;
118
119 Aws::String m_sourceFpgaImageId;
120 bool m_sourceFpgaImageIdHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_sourceRegion;
129 bool m_sourceRegionHasBeenSet = false;
130
131 Aws::String m_clientToken;
132 bool m_clientTokenHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace EC2
137} // namespace Aws
CopyFpgaImageRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
void SetSourceRegion(SourceRegionT &&value)
CopyFpgaImageRequest & WithDescription(DescriptionT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
AWS_EC2_API CopyFpgaImageRequest()=default
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CopyFpgaImageRequest & WithSourceRegion(SourceRegionT &&value)
void SetDescription(DescriptionT &&value)
CopyFpgaImageRequest & WithName(NameT &&value)
const Aws::String & GetSourceRegion() const
CopyFpgaImageRequest & WithSourceFpgaImageId(SourceFpgaImageIdT &&value)
const Aws::String & GetSourceFpgaImageId() const
void SetSourceFpgaImageId(SourceFpgaImageIdT &&value)
CopyFpgaImageRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String