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/IpamPolicyState.h>
12#include <aws/ec2/model/Tag.h>
52 template <
typename OwnerIdT = Aws::String>
54 m_ownerIdHasBeenSet =
true;
55 m_ownerId = std::forward<OwnerIdT>(value);
57 template <
typename OwnerIdT = Aws::String>
70 template <
typename IpamPolicyIdT = Aws::String>
72 m_ipamPolicyIdHasBeenSet =
true;
73 m_ipamPolicyId = std::forward<IpamPolicyIdT>(value);
75 template <
typename IpamPolicyIdT = Aws::String>
88 template <
typename IpamPolicyArnT = Aws::String>
90 m_ipamPolicyArnHasBeenSet =
true;
91 m_ipamPolicyArn = std::forward<IpamPolicyArnT>(value);
93 template <
typename IpamPolicyArnT = Aws::String>
106 template <
typename IpamPolicyRegionT = Aws::String>
108 m_ipamPolicyRegionHasBeenSet =
true;
109 m_ipamPolicyRegion = std::forward<IpamPolicyRegionT>(value);
111 template <
typename IpamPolicyRegionT = Aws::String>
125 m_stateHasBeenSet =
true;
140 template <
typename StateMessageT = Aws::String>
142 m_stateMessageHasBeenSet =
true;
143 m_stateMessage = std::forward<StateMessageT>(value);
145 template <
typename StateMessageT = Aws::String>
158 template <
typename TagsT = Aws::Vector<Tag>>
160 m_tagsHasBeenSet =
true;
161 m_tags = std::forward<TagsT>(value);
163 template <
typename TagsT = Aws::Vector<Tag>>
165 SetTags(std::forward<TagsT>(value));
168 template <
typename TagsT = Tag>
170 m_tagsHasBeenSet =
true;
171 m_tags.emplace_back(std::forward<TagsT>(value));
182 template <
typename IpamIdT = Aws::String>
184 m_ipamIdHasBeenSet =
true;
185 m_ipamId = std::forward<IpamIdT>(value);
187 template <
typename IpamIdT = Aws::String>
209 bool m_ownerIdHasBeenSet =
false;
210 bool m_ipamPolicyIdHasBeenSet =
false;
211 bool m_ipamPolicyArnHasBeenSet =
false;
212 bool m_ipamPolicyRegionHasBeenSet =
false;
213 bool m_stateHasBeenSet =
false;
214 bool m_stateMessageHasBeenSet =
false;
215 bool m_tagsHasBeenSet =
false;
216 bool m_ipamIdHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetIpamPolicyRegion() const
IpamPolicy & WithTags(TagsT &&value)
IpamPolicy & AddTags(TagsT &&value)
bool IpamPolicyIdHasBeenSet() const
IpamPolicy & WithStateMessage(StateMessageT &&value)
IpamPolicy & WithIpamId(IpamIdT &&value)
AWS_EC2_API IpamPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPolicy & WithState(IpamPolicyState value)
const Aws::String & GetStateMessage() const
IpamPolicy & WithIpamPolicyId(IpamPolicyIdT &&value)
void SetIpamPolicyId(IpamPolicyIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetIpamId() const
AWS_EC2_API IpamPolicy()=default
void SetState(IpamPolicyState value)
void SetIpamId(IpamIdT &&value)
bool IpamIdHasBeenSet() const
bool IpamPolicyArnHasBeenSet() const
AWS_EC2_API IpamPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOwnerId() const
void SetTags(TagsT &&value)
bool StateMessageHasBeenSet() const
IpamPolicy & WithIpamPolicyArn(IpamPolicyArnT &&value)
void SetStateMessage(StateMessageT &&value)
const Aws::String & GetIpamPolicyArn() const
void SetIpamPolicyRegion(IpamPolicyRegionT &&value)
void SetIpamPolicyArn(IpamPolicyArnT &&value)
void SetOwnerId(OwnerIdT &&value)
bool OwnerIdHasBeenSet() const
IpamPolicyState GetState() const
bool StateHasBeenSet() const
const Aws::String & GetIpamPolicyId() const
bool IpamPolicyRegionHasBeenSet() const
IpamPolicy & WithOwnerId(OwnerIdT &&value)
IpamPolicy & WithIpamPolicyRegion(IpamPolicyRegionT &&value)
bool TagsHasBeenSet() 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