7#include <aws/core/utils/DateTime.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/EC2_EXPORTS.h>
12#include <aws/ec2/model/IpamExternalResourceVerificationTokenState.h>
13#include <aws/ec2/model/Tag.h>
14#include <aws/ec2/model/TokenState.h>
51 template <
typename IpamExternalResourceVerificationTokenIdT = Aws::String>
53 m_ipamExternalResourceVerificationTokenIdHasBeenSet =
true;
54 m_ipamExternalResourceVerificationTokenId = std::forward<IpamExternalResourceVerificationTokenIdT>(value);
56 template <
typename IpamExternalResourceVerificationTokenIdT = Aws::String>
69 template <
typename IpamExternalResourceVerificationTokenArnT = Aws::String>
71 m_ipamExternalResourceVerificationTokenArnHasBeenSet =
true;
72 m_ipamExternalResourceVerificationTokenArn = std::forward<IpamExternalResourceVerificationTokenArnT>(value);
74 template <
typename IpamExternalResourceVerificationTokenArnT = Aws::String>
87 template <
typename IpamIdT = Aws::String>
89 m_ipamIdHasBeenSet =
true;
90 m_ipamId = std::forward<IpamIdT>(value);
92 template <
typename IpamIdT = Aws::String>
105 template <
typename IpamArnT = Aws::String>
107 m_ipamArnHasBeenSet =
true;
108 m_ipamArn = std::forward<IpamArnT>(value);
110 template <
typename IpamArnT = Aws::String>
123 template <
typename IpamRegionT = Aws::String>
125 m_ipamRegionHasBeenSet =
true;
126 m_ipamRegion = std::forward<IpamRegionT>(value);
128 template <
typename IpamRegionT = Aws::String>
141 template <
typename TokenValueT = Aws::String>
143 m_tokenValueHasBeenSet =
true;
144 m_tokenValue = std::forward<TokenValueT>(value);
146 template <
typename TokenValueT = Aws::String>
159 template <
typename TokenNameT = Aws::String>
161 m_tokenNameHasBeenSet =
true;
162 m_tokenName = std::forward<TokenNameT>(value);
164 template <
typename TokenNameT = Aws::String>
177 template <
typename NotAfterT = Aws::Utils::DateTime>
179 m_notAfterHasBeenSet =
true;
180 m_notAfter = std::forward<NotAfterT>(value);
182 template <
typename NotAfterT = Aws::Utils::DateTime>
196 m_statusHasBeenSet =
true;
211 template <
typename TagsT = Aws::Vector<Tag>>
213 m_tagsHasBeenSet =
true;
214 m_tags = std::forward<TagsT>(value);
216 template <
typename TagsT = Aws::Vector<Tag>>
218 SetTags(std::forward<TagsT>(value));
221 template <
typename TagsT = Tag>
223 m_tagsHasBeenSet =
true;
224 m_tags.emplace_back(std::forward<TagsT>(value));
236 m_stateHasBeenSet =
true;
245 Aws::String m_ipamExternalResourceVerificationTokenId;
247 Aws::String m_ipamExternalResourceVerificationTokenArn;
266 bool m_ipamExternalResourceVerificationTokenIdHasBeenSet =
false;
267 bool m_ipamExternalResourceVerificationTokenArnHasBeenSet =
false;
268 bool m_ipamIdHasBeenSet =
false;
269 bool m_ipamArnHasBeenSet =
false;
270 bool m_ipamRegionHasBeenSet =
false;
271 bool m_tokenValueHasBeenSet =
false;
272 bool m_tokenNameHasBeenSet =
false;
273 bool m_notAfterHasBeenSet =
false;
274 bool m_statusHasBeenSet =
false;
275 bool m_tagsHasBeenSet =
false;
276 bool m_stateHasBeenSet =
false;
IpamExternalResourceVerificationToken & WithNotAfter(NotAfterT &&value)
const Aws::String & GetTokenName() const
IpamExternalResourceVerificationToken & WithTokenName(TokenNameT &&value)
bool IpamIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetTokenName(TokenNameT &&value)
void SetTokenValue(TokenValueT &&value)
void SetIpamExternalResourceVerificationTokenId(IpamExternalResourceVerificationTokenIdT &&value)
IpamExternalResourceVerificationToken & WithStatus(TokenState value)
const Aws::String & GetTokenValue() const
bool TokenValueHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenId(IpamExternalResourceVerificationTokenIdT &&value)
const Aws::String & GetIpamExternalResourceVerificationTokenId() const
TokenState GetStatus() const
const Aws::String & GetIpamId() const
void SetTags(TagsT &&value)
IpamExternalResourceVerificationToken & WithIpamArn(IpamArnT &&value)
IpamExternalResourceVerificationToken & WithState(IpamExternalResourceVerificationTokenState value)
IpamExternalResourceVerificationTokenState GetState() const
bool IpamExternalResourceVerificationTokenIdHasBeenSet() const
void SetStatus(TokenState value)
IpamExternalResourceVerificationToken & WithTokenValue(TokenValueT &&value)
bool StateHasBeenSet() const
bool StatusHasBeenSet() const
IpamExternalResourceVerificationToken & WithTags(TagsT &&value)
IpamExternalResourceVerificationToken & AddTags(TagsT &&value)
AWS_EC2_API IpamExternalResourceVerificationToken(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TokenNameHasBeenSet() const
IpamExternalResourceVerificationToken & WithIpamExternalResourceVerificationTokenArn(IpamExternalResourceVerificationTokenArnT &&value)
bool IpamExternalResourceVerificationTokenArnHasBeenSet() const
bool IpamRegionHasBeenSet() const
void SetIpamArn(IpamArnT &&value)
void SetIpamId(IpamIdT &&value)
bool NotAfterHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API IpamExternalResourceVerificationToken & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIpamRegion(IpamRegionT &&value)
IpamExternalResourceVerificationToken & WithIpamId(IpamIdT &&value)
const Aws::String & GetIpamArn() const
IpamExternalResourceVerificationToken & WithIpamRegion(IpamRegionT &&value)
const Aws::String & GetIpamExternalResourceVerificationTokenArn() const
bool TagsHasBeenSet() const
void SetNotAfter(NotAfterT &&value)
void SetIpamExternalResourceVerificationTokenArn(IpamExternalResourceVerificationTokenArnT &&value)
void SetState(IpamExternalResourceVerificationTokenState value)
const Aws::String & GetIpamRegion() const
bool IpamArnHasBeenSet() const
AWS_EC2_API IpamExternalResourceVerificationToken()=default
const Aws::Utils::DateTime & GetNotAfter() const
IpamExternalResourceVerificationTokenState
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