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>
52 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
65 inline void SetUsedInstanceCount(
int value) { m_usedInstanceCountHasBeenSet =
true; m_usedInstanceCount = value; }
71 bool m_accountIdHasBeenSet =
false;
73 int m_usedInstanceCount;
74 bool m_usedInstanceCountHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceUsage & WithAccountId(const char *value)
AWS_EC2_API InstanceUsage(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAccountId(const char *value)
bool UsedInstanceCountHasBeenSet() const
AWS_EC2_API InstanceUsage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceUsage & WithUsedInstanceCount(int value)
AWS_EC2_API InstanceUsage()
InstanceUsage & WithAccountId(Aws::String &&value)
void SetAccountId(Aws::String &&value)
void SetAccountId(const Aws::String &value)
bool AccountIdHasBeenSet() const
const Aws::String & GetAccountId() const
int GetUsedInstanceCount() const
InstanceUsage & WithAccountId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetUsedInstanceCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream