AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceFpgaImageId(const Aws::String& value) { m_sourceFpgaImageIdHasBeenSet = true; m_sourceFpgaImageId = value; }
59 inline void SetSourceFpgaImageId(Aws::String&& value) { m_sourceFpgaImageIdHasBeenSet = true; m_sourceFpgaImageId = std::move(value); }
60 inline void SetSourceFpgaImageId(const char* value) { m_sourceFpgaImageIdHasBeenSet = true; m_sourceFpgaImageId.assign(value); }
61 inline CopyFpgaImageRequest& WithSourceFpgaImageId(const Aws::String& value) { SetSourceFpgaImageId(value); return *this;}
62 inline CopyFpgaImageRequest& WithSourceFpgaImageId(Aws::String&& value) { SetSourceFpgaImageId(std::move(value)); return *this;}
63 inline CopyFpgaImageRequest& WithSourceFpgaImageId(const char* value) { SetSourceFpgaImageId(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CopyFpgaImageRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CopyFpgaImageRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CopyFpgaImageRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline CopyFpgaImageRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline CopyFpgaImageRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline CopyFpgaImageRequest& WithName(const char* value) { SetName(value); return *this;}
93
95
98 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
99 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
100 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
101 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); }
102 inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
103 inline CopyFpgaImageRequest& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
104 inline CopyFpgaImageRequest& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
105 inline CopyFpgaImageRequest& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
107
109
115 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
116 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
117 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
118 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
119 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
120 inline CopyFpgaImageRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
121 inline CopyFpgaImageRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
122 inline CopyFpgaImageRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
124 private:
125
126 bool m_dryRun;
127 bool m_dryRunHasBeenSet = false;
128
129 Aws::String m_sourceFpgaImageId;
130 bool m_sourceFpgaImageIdHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
138 Aws::String m_sourceRegion;
139 bool m_sourceRegionHasBeenSet = false;
140
141 Aws::String m_clientToken;
142 bool m_clientTokenHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace EC2
147} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetSourceFpgaImageId(const Aws::String &value)
void SetSourceRegion(const Aws::String &value)
CopyFpgaImageRequest & WithDescription(const Aws::String &value)
CopyFpgaImageRequest & WithSourceFpgaImageId(const char *value)
const Aws::String & GetClientToken() const
void SetSourceFpgaImageId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CopyFpgaImageRequest & WithSourceFpgaImageId(const Aws::String &value)
CopyFpgaImageRequest & WithName(const char *value)
void SetName(const Aws::String &value)
CopyFpgaImageRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetDescription() const
CopyFpgaImageRequest & WithClientToken(const char *value)
CopyFpgaImageRequest & WithDescription(const char *value)
CopyFpgaImageRequest & WithDescription(Aws::String &&value)
CopyFpgaImageRequest & WithName(Aws::String &&value)
CopyFpgaImageRequest & WithSourceRegion(const char *value)
CopyFpgaImageRequest & WithSourceRegion(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CopyFpgaImageRequest & WithSourceRegion(const Aws::String &value)
CopyFpgaImageRequest & WithClientToken(Aws::String &&value)
CopyFpgaImageRequest & WithName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetDescription(const Aws::String &value)
CopyFpgaImageRequest & WithSourceFpgaImageId(Aws::String &&value)
const Aws::String & GetSourceRegion() const
const Aws::String & GetSourceFpgaImageId() const
CopyFpgaImageRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String