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/DateTime.h>
11#include <aws/ec2/model/TokenState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/IpamExternalResourceVerificationTokenState.h>
14#include <aws/ec2/model/Tag.h>
57 template<
typename IpamExternalResourceVerificationTokenIdT = Aws::String>
58 void SetIpamExternalResourceVerificationTokenId(IpamExternalResourceVerificationTokenIdT&& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet =
true; m_ipamExternalResourceVerificationTokenId = std::forward<IpamExternalResourceVerificationTokenIdT>(value); }
59 template<
typename IpamExternalResourceVerificationTokenIdT = Aws::String>
69 template<
typename IpamExternalResourceVerificationTokenArnT = Aws::String>
70 void SetIpamExternalResourceVerificationTokenArn(IpamExternalResourceVerificationTokenArnT&& value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet =
true; m_ipamExternalResourceVerificationTokenArn = std::forward<IpamExternalResourceVerificationTokenArnT>(value); }
71 template<
typename IpamExternalResourceVerificationTokenArnT = Aws::String>
81 template<
typename IpamIdT = Aws::String>
82 void SetIpamId(IpamIdT&& value) { m_ipamIdHasBeenSet =
true; m_ipamId = std::forward<IpamIdT>(value); }
83 template<
typename IpamIdT = Aws::String>
93 template<
typename IpamArnT = Aws::String>
94 void SetIpamArn(IpamArnT&& value) { m_ipamArnHasBeenSet =
true; m_ipamArn = std::forward<IpamArnT>(value); }
95 template<
typename IpamArnT = Aws::String>
105 template<
typename IpamRegionT = Aws::String>
106 void SetIpamRegion(IpamRegionT&& value) { m_ipamRegionHasBeenSet =
true; m_ipamRegion = std::forward<IpamRegionT>(value); }
107 template<
typename IpamRegionT = Aws::String>
117 template<
typename TokenValueT = Aws::String>
118 void SetTokenValue(TokenValueT&& value) { m_tokenValueHasBeenSet =
true; m_tokenValue = std::forward<TokenValueT>(value); }
119 template<
typename TokenValueT = Aws::String>
129 template<
typename TokenNameT = Aws::String>
130 void SetTokenName(TokenNameT&& value) { m_tokenNameHasBeenSet =
true; m_tokenName = std::forward<TokenNameT>(value); }
131 template<
typename TokenNameT = Aws::String>
141 template<
typename NotAfterT = Aws::Utils::DateTime>
142 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet =
true; m_notAfter = std::forward<NotAfterT>(value); }
143 template<
typename NotAfterT = Aws::Utils::DateTime>
163 template<
typename TagsT = Aws::Vector<Tag>>
164 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
165 template<
typename TagsT = Aws::Vector<Tag>>
167 template<
typename TagsT = Tag>
182 Aws::String m_ipamExternalResourceVerificationTokenId;
183 bool m_ipamExternalResourceVerificationTokenIdHasBeenSet =
false;
185 Aws::String m_ipamExternalResourceVerificationTokenArn;
186 bool m_ipamExternalResourceVerificationTokenArnHasBeenSet =
false;
189 bool m_ipamIdHasBeenSet =
false;
192 bool m_ipamArnHasBeenSet =
false;
195 bool m_ipamRegionHasBeenSet =
false;
198 bool m_tokenValueHasBeenSet =
false;
201 bool m_tokenNameHasBeenSet =
false;
204 bool m_notAfterHasBeenSet =
false;
207 bool m_statusHasBeenSet =
false;
210 bool m_tagsHasBeenSet =
false;
213 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