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/DateTime.h>
46 template<
typename ImageIdT = Aws::String>
47 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
48 template<
typename ImageIdT = Aws::String>
63 template<
typename DeprecateAtT = Aws::Utils::DateTime>
64 void SetDeprecateAt(DeprecateAtT&& value) { m_deprecateAtHasBeenSet =
true; m_deprecateAt = std::forward<DeprecateAtT>(value); }
65 template<
typename DeprecateAtT = Aws::Utils::DateTime>
78 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
84 bool m_imageIdHasBeenSet =
false;
87 bool m_deprecateAtHasBeenSet =
false;
90 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetImageId() const
bool ImageIdHasBeenSet() const
bool DryRunHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API EnableImageDeprecationRequest()=default
EnableImageDeprecationRequest & WithDryRun(bool value)
void SetImageId(ImageIdT &&value)
EnableImageDeprecationRequest & WithDeprecateAt(DeprecateAtT &&value)
bool DeprecateAtHasBeenSet() const
void SetDeprecateAt(DeprecateAtT &&value)
virtual const char * GetServiceRequestName() const override
EnableImageDeprecationRequest & WithImageId(ImageIdT &&value)
const Aws::Utils::DateTime & GetDeprecateAt() const
void SetDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String