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/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Tag.h>
12#include <aws/ec2/model/DhcpConfiguration.h>
53 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
69 inline DhcpOptions&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
70 inline DhcpOptions&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
81 inline void SetDhcpOptionsId(
const char* value) { m_dhcpOptionsIdHasBeenSet =
true; m_dhcpOptionsId.assign(value); }
103 bool m_ownerIdHasBeenSet =
false;
106 bool m_tagsHasBeenSet =
false;
109 bool m_dhcpOptionsIdHasBeenSet =
false;
112 bool m_dhcpConfigurationsHasBeenSet =
false;
DhcpOptions & AddTags(const Tag &value)
DhcpOptions & WithDhcpConfigurations(Aws::Vector< DhcpConfiguration > &&value)
void SetOwnerId(Aws::String &&value)
DhcpOptions & WithDhcpConfigurations(const Aws::Vector< DhcpConfiguration > &value)
const Aws::String & GetOwnerId() const
const Aws::String & GetDhcpOptionsId() const
DhcpOptions & WithOwnerId(Aws::String &&value)
DhcpOptions & WithOwnerId(const Aws::String &value)
DhcpOptions & AddTags(Tag &&value)
DhcpOptions & AddDhcpConfigurations(const DhcpConfiguration &value)
void SetOwnerId(const char *value)
DhcpOptions & AddDhcpConfigurations(DhcpConfiguration &&value)
AWS_EC2_API DhcpOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDhcpOptionsId(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetOwnerId(const Aws::String &value)
AWS_EC2_API DhcpOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTags(const Aws::Vector< Tag > &value)
void SetDhcpConfigurations(const Aws::Vector< DhcpConfiguration > &value)
bool DhcpConfigurationsHasBeenSet() const
DhcpOptions & WithDhcpOptionsId(const char *value)
DhcpOptions & WithTags(const Aws::Vector< Tag > &value)
void SetDhcpOptionsId(const char *value)
void SetDhcpConfigurations(Aws::Vector< DhcpConfiguration > &&value)
bool TagsHasBeenSet() const
bool DhcpOptionsIdHasBeenSet() const
bool OwnerIdHasBeenSet() const
DhcpOptions & WithOwnerId(const char *value)
const Aws::Vector< DhcpConfiguration > & GetDhcpConfigurations() const
DhcpOptions & WithDhcpOptionsId(Aws::String &&value)
DhcpOptions & WithDhcpOptionsId(const Aws::String &value)
void SetDhcpOptionsId(const Aws::String &value)
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::Vector< Tag > & GetTags() const
AWS_EC2_API DhcpOptions()
DhcpOptions & WithTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream