7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
46 template <
typename ResourceTypeT = Aws::String>
48 m_resourceTypeHasBeenSet =
true;
49 m_resourceType = std::forward<ResourceTypeT>(value);
51 template <
typename ResourceTypeT = Aws::String>
64 template <
typename ReportIdT = Aws::String>
66 m_reportIdHasBeenSet =
true;
67 m_reportId = std::forward<ReportIdT>(value);
69 template <
typename ReportIdT = Aws::String>
84 m_usageCountHasBeenSet =
true;
99 template <
typename AccountIdT = Aws::String>
101 m_accountIdHasBeenSet =
true;
102 m_accountId = std::forward<AccountIdT>(value);
104 template <
typename AccountIdT = Aws::String>
117 template <
typename ImageIdT = Aws::String>
119 m_imageIdHasBeenSet =
true;
120 m_imageId = std::forward<ImageIdT>(value);
122 template <
typename ImageIdT = Aws::String>
135 template <
typename ReportCreationTimeT = Aws::Utils::DateTime>
137 m_reportCreationTimeHasBeenSet =
true;
138 m_reportCreationTime = std::forward<ReportCreationTimeT>(value);
140 template <
typename ReportCreationTimeT = Aws::Utils::DateTime>
151 long long m_usageCount{0};
158 bool m_resourceTypeHasBeenSet =
false;
159 bool m_reportIdHasBeenSet =
false;
160 bool m_usageCountHasBeenSet =
false;
161 bool m_accountIdHasBeenSet =
false;
162 bool m_imageIdHasBeenSet =
false;
163 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