7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
52 template<
typename ResourceTypeT = Aws::String>
53 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
54 template<
typename ResourceTypeT = Aws::String>
64 template<
typename ReportIdT = Aws::String>
65 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet =
true; m_reportId = std::forward<ReportIdT>(value); }
66 template<
typename ReportIdT = Aws::String>
77 inline void SetUsageCount(
long long value) { m_usageCountHasBeenSet =
true; m_usageCount = value; }
87 template<
typename AccountIdT = Aws::String>
88 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
89 template<
typename AccountIdT = Aws::String>
99 template<
typename ImageIdT = Aws::String>
100 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
101 template<
typename ImageIdT = Aws::String>
111 template<
typename ReportCreationTimeT = Aws::Utils::DateTime>
112 void SetReportCreationTime(ReportCreationTimeT&& value) { m_reportCreationTimeHasBeenSet =
true; m_reportCreationTime = std::forward<ReportCreationTimeT>(value); }
113 template<
typename ReportCreationTimeT = Aws::Utils::DateTime>
119 bool m_resourceTypeHasBeenSet =
false;
122 bool m_reportIdHasBeenSet =
false;
124 long long m_usageCount{0};
125 bool m_usageCountHasBeenSet =
false;
128 bool m_accountIdHasBeenSet =
false;
131 bool m_imageIdHasBeenSet =
false;
134 bool m_reportCreationTimeHasBeenSet =
false;
const Aws::String & GetReportId() const
ImageUsageReportEntry & WithUsageCount(long long value)
void SetResourceType(ResourceTypeT &&value)
bool ReportCreationTimeHasBeenSet() const
void SetImageId(ImageIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetReportId(ReportIdT &&value)
ImageUsageReportEntry & WithImageId(ImageIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ImageIdHasBeenSet() const
const Aws::String & GetAccountId() const
bool ResourceTypeHasBeenSet() const
bool UsageCountHasBeenSet() const
ImageUsageReportEntry & WithAccountId(AccountIdT &&value)
ImageUsageReportEntry & WithResourceType(ResourceTypeT &&value)
long long GetUsageCount() const
bool AccountIdHasBeenSet() const
const Aws::String & GetImageId() const
AWS_EC2_API ImageUsageReportEntry()=default
AWS_EC2_API ImageUsageReportEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ReportIdHasBeenSet() const
void SetAccountId(AccountIdT &&value)
ImageUsageReportEntry & WithReportId(ReportIdT &&value)
const Aws::String & GetResourceType() const
AWS_EC2_API ImageUsageReportEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetReportCreationTime() const
void SetReportCreationTime(ReportCreationTimeT &&value)
ImageUsageReportEntry & WithReportCreationTime(ReportCreationTimeT &&value)
void SetUsageCount(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream