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>
51 template<
typename OwnerIdT = Aws::String>
52 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
53 template<
typename OwnerIdT = Aws::String>
63 template<
typename TagsT = Aws::Vector<Tag>>
64 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
65 template<
typename TagsT = Aws::Vector<Tag>>
67 template<
typename TagsT = Tag>
68 DhcpOptions&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
77 template<
typename DhcpOptionsIdT = Aws::String>
78 void SetDhcpOptionsId(DhcpOptionsIdT&& value) { m_dhcpOptionsIdHasBeenSet =
true; m_dhcpOptionsId = std::forward<DhcpOptionsIdT>(value); }
79 template<
typename DhcpOptionsIdT = Aws::String>
89 template<
typename DhcpConfigurationsT = Aws::Vector<DhcpConfiguration>>
90 void SetDhcpConfigurations(DhcpConfigurationsT&& value) { m_dhcpConfigurationsHasBeenSet =
true; m_dhcpConfigurations = std::forward<DhcpConfigurationsT>(value); }
91 template<
typename DhcpConfigurationsT = Aws::Vector<DhcpConfiguration>>
93 template<
typename DhcpConfigurationsT = DhcpConfiguration>
94 DhcpOptions&
AddDhcpConfigurations(DhcpConfigurationsT&& value) { m_dhcpConfigurationsHasBeenSet =
true; m_dhcpConfigurations.emplace_back(std::forward<DhcpConfigurationsT>(value));
return *
this; }
99 bool m_ownerIdHasBeenSet =
false;
102 bool m_tagsHasBeenSet =
false;
105 bool m_dhcpOptionsIdHasBeenSet =
false;
108 bool m_dhcpConfigurationsHasBeenSet =
false;
DhcpOptions & WithTags(TagsT &&value)
DhcpOptions & AddTags(TagsT &&value)
const Aws::String & GetOwnerId() const
const Aws::String & GetDhcpOptionsId() const
DhcpOptions & WithDhcpOptionsId(DhcpOptionsIdT &&value)
DhcpOptions & WithOwnerId(OwnerIdT &&value)
void SetTags(TagsT &&value)
AWS_EC2_API DhcpOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
DhcpOptions & AddDhcpConfigurations(DhcpConfigurationsT &&value)
AWS_EC2_API DhcpOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDhcpOptionsId(DhcpOptionsIdT &&value)
void SetOwnerId(OwnerIdT &&value)
bool DhcpConfigurationsHasBeenSet() const
void SetDhcpConfigurations(DhcpConfigurationsT &&value)
bool TagsHasBeenSet() const
bool DhcpOptionsIdHasBeenSet() const
bool OwnerIdHasBeenSet() const
AWS_EC2_API DhcpOptions()=default
const Aws::Vector< DhcpConfiguration > & GetDhcpConfigurations() const
DhcpOptions & WithDhcpConfigurations(DhcpConfigurationsT &&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
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