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>
49 template<
typename AllocationIdT = Aws::String>
50 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
51 template<
typename AllocationIdT = Aws::String>
61 template<
typename AwsAccountIdT = Aws::String>
62 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
63 template<
typename AwsAccountIdT = Aws::String>
73 template<
typename AwsServiceT = Aws::String>
74 void SetAwsService(AwsServiceT&& value) { m_awsServiceHasBeenSet =
true; m_awsService = std::forward<AwsServiceT>(value); }
75 template<
typename AwsServiceT = Aws::String>
85 template<
typename CoIpT = Aws::String>
86 void SetCoIp(CoIpT&& value) { m_coIpHasBeenSet =
true; m_coIp = std::forward<CoIpT>(value); }
87 template<
typename CoIpT = Aws::String>
93 bool m_allocationIdHasBeenSet =
false;
96 bool m_awsAccountIdHasBeenSet =
false;
99 bool m_awsServiceHasBeenSet =
false;
102 bool m_coIpHasBeenSet =
false;
bool AwsServiceHasBeenSet() const
bool AwsAccountIdHasBeenSet() const
const Aws::String & GetCoIp() const
bool CoIpHasBeenSet() const
AWS_EC2_API CoipAddressUsage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAwsService(AwsServiceT &&value)
bool AllocationIdHasBeenSet() const
const Aws::String & GetAwsService() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetAllocationId() const
CoipAddressUsage & WithCoIp(CoIpT &&value)
CoipAddressUsage & WithAllocationId(AllocationIdT &&value)
void SetCoIp(CoIpT &&value)
AWS_EC2_API CoipAddressUsage()=default
void SetAwsAccountId(AwsAccountIdT &&value)
AWS_EC2_API CoipAddressUsage(const Aws::Utils::Xml::XmlNode &xmlNode)
CoipAddressUsage & WithAwsAccountId(AwsAccountIdT &&value)
void SetAllocationId(AllocationIdT &&value)
const Aws::String & GetAwsAccountId() const
CoipAddressUsage & WithAwsService(AwsServiceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream