7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DhcpConfiguration.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename OwnerIdT = Aws::String>
47 m_ownerIdHasBeenSet =
true;
48 m_ownerId = std::forward<OwnerIdT>(value);
50 template <
typename OwnerIdT = Aws::String>
63 template <
typename TagsT = Aws::Vector<Tag>>
65 m_tagsHasBeenSet =
true;
66 m_tags = std::forward<TagsT>(value);
68 template <
typename TagsT = Aws::Vector<Tag>>
70 SetTags(std::forward<TagsT>(value));
73 template <
typename TagsT = Tag>
75 m_tagsHasBeenSet =
true;
76 m_tags.emplace_back(std::forward<TagsT>(value));
87 template <
typename DhcpOptionsIdT = Aws::String>
89 m_dhcpOptionsIdHasBeenSet =
true;
90 m_dhcpOptionsId = std::forward<DhcpOptionsIdT>(value);
92 template <
typename DhcpOptionsIdT = Aws::String>
105 template <
typename DhcpConfigurationsT = Aws::Vector<DhcpConfiguration>>
107 m_dhcpConfigurationsHasBeenSet =
true;
108 m_dhcpConfigurations = std::forward<DhcpConfigurationsT>(value);
110 template <
typename DhcpConfigurationsT = Aws::Vector<DhcpConfiguration>>
115 template <
typename DhcpConfigurationsT = DhcpConfiguration>
117 m_dhcpConfigurationsHasBeenSet =
true;
118 m_dhcpConfigurations.emplace_back(std::forward<DhcpConfigurationsT>(value));
130 bool m_ownerIdHasBeenSet =
false;
131 bool m_tagsHasBeenSet =
false;
132 bool m_dhcpOptionsIdHasBeenSet =
false;
133 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