7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
47 template<
typename BucketT = Aws::String>
48 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
49 template<
typename BucketT = Aws::String>
59 template<
typename ObjectKeyT = Aws::String>
60 void SetObjectKey(ObjectKeyT&& value) { m_objectKeyHasBeenSet =
true; m_objectKey = std::forward<ObjectKeyT>(value); }
61 template<
typename ObjectKeyT = Aws::String>
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
90 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
91 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
92 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
94 template<
typename TagSpecificationsT = TagSpecification>
107 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
113 bool m_bucketHasBeenSet =
false;
116 bool m_objectKeyHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
122 bool m_tagSpecificationsHasBeenSet =
false;
124 bool m_dryRun{
false};
125 bool m_dryRunHasBeenSet =
false;
bool ObjectKeyHasBeenSet() const
const Aws::String & GetBucket() const
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetBucket(BucketT &&value)
void SetObjectKey(ObjectKeyT &&value)
bool BucketHasBeenSet() const
CreateRestoreImageTaskRequest & AddTagSpecifications(TagSpecificationsT &&value)
CreateRestoreImageTaskRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool DryRunHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::String & GetObjectKey() const
CreateRestoreImageTaskRequest & WithObjectKey(ObjectKeyT &&value)
CreateRestoreImageTaskRequest & WithBucket(BucketT &&value)
bool NameHasBeenSet() const
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
CreateRestoreImageTaskRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateRestoreImageTaskRequest & WithName(NameT &&value)
AWS_EC2_API CreateRestoreImageTaskRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector