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/iam/IAM_EXPORTS.h>
11#include <aws/iam/model/StatusType.h>
46 template <
typename CreateDateT = Aws::Utils::DateTime>
48 m_createDateHasBeenSet =
true;
49 m_createDate = std::forward<CreateDateT>(value);
51 template <
typename CreateDateT = Aws::Utils::DateTime>
66 template <
typename ExpirationDateT = Aws::Utils::DateTime>
68 m_expirationDateHasBeenSet =
true;
69 m_expirationDate = std::forward<ExpirationDateT>(value);
71 template <
typename ExpirationDateT = Aws::Utils::DateTime>
84 template <
typename ServiceNameT = Aws::String>
86 m_serviceNameHasBeenSet =
true;
87 m_serviceName = std::forward<ServiceNameT>(value);
89 template <
typename ServiceNameT = Aws::String>
105 template <
typename ServiceUserNameT = Aws::String>
107 m_serviceUserNameHasBeenSet =
true;
108 m_serviceUserName = std::forward<ServiceUserNameT>(value);
110 template <
typename ServiceUserNameT = Aws::String>
123 template <
typename ServicePasswordT = Aws::String>
125 m_servicePasswordHasBeenSet =
true;
126 m_servicePassword = std::forward<ServicePasswordT>(value);
128 template <
typename ServicePasswordT = Aws::String>
143 template <
typename ServiceCredentialAliasT = Aws::String>
145 m_serviceCredentialAliasHasBeenSet =
true;
146 m_serviceCredentialAlias = std::forward<ServiceCredentialAliasT>(value);
148 template <
typename ServiceCredentialAliasT = Aws::String>
163 template <
typename ServiceCredentialSecretT = Aws::String>
165 m_serviceCredentialSecretHasBeenSet =
true;
166 m_serviceCredentialSecret = std::forward<ServiceCredentialSecretT>(value);
168 template <
typename ServiceCredentialSecretT = Aws::String>
181 template <
typename ServiceSpecificCredentialIdT = Aws::String>
183 m_serviceSpecificCredentialIdHasBeenSet =
true;
184 m_serviceSpecificCredentialId = std::forward<ServiceSpecificCredentialIdT>(value);
186 template <
typename ServiceSpecificCredentialIdT = Aws::String>
199 template <
typename UserNameT = Aws::String>
201 m_userNameHasBeenSet =
true;
202 m_userName = std::forward<UserNameT>(value);
204 template <
typename UserNameT = Aws::String>
219 m_statusHasBeenSet =
true;
247 bool m_createDateHasBeenSet =
false;
248 bool m_expirationDateHasBeenSet =
false;
249 bool m_serviceNameHasBeenSet =
false;
250 bool m_serviceUserNameHasBeenSet =
false;
251 bool m_servicePasswordHasBeenSet =
false;
252 bool m_serviceCredentialAliasHasBeenSet =
false;
253 bool m_serviceCredentialSecretHasBeenSet =
false;
254 bool m_serviceSpecificCredentialIdHasBeenSet =
false;
255 bool m_userNameHasBeenSet =
false;
256 bool m_statusHasBeenSet =
false;
void SetUserName(UserNameT &&value)
const Aws::String & GetServiceSpecificCredentialId() const
ServiceSpecificCredential & WithExpirationDate(ExpirationDateT &&value)
const Aws::Utils::DateTime & GetExpirationDate() const
ServiceSpecificCredential & WithServiceCredentialAlias(ServiceCredentialAliasT &&value)
bool CreateDateHasBeenSet() const
ServiceSpecificCredential & WithServiceName(ServiceNameT &&value)
void SetServiceSpecificCredentialId(ServiceSpecificCredentialIdT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
const Aws::String & GetServiceUserName() const
bool ExpirationDateHasBeenSet() const
bool UserNameHasBeenSet() const
void SetStatus(StatusType value)
bool StatusHasBeenSet() const
void SetExpirationDate(ExpirationDateT &&value)
void SetServiceCredentialAlias(ServiceCredentialAliasT &&value)
bool ServiceCredentialAliasHasBeenSet() const
const Aws::String & GetServiceCredentialAlias() const
bool ServicePasswordHasBeenSet() const
ServiceSpecificCredential & WithServiceSpecificCredentialId(ServiceSpecificCredentialIdT &&value)
bool ServiceNameHasBeenSet() const
bool ServiceSpecificCredentialIdHasBeenSet() const
StatusType GetStatus() const
const Aws::String & GetUserName() const
const Aws::String & GetServicePassword() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetServiceUserName(ServiceUserNameT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetServiceName(ServiceNameT &&value)
void SetCreateDate(CreateDateT &&value)
AWS_IAM_API ServiceSpecificCredential(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceSpecificCredential & WithStatus(StatusType value)
void SetServicePassword(ServicePasswordT &&value)
ServiceSpecificCredential & WithServiceCredentialSecret(ServiceCredentialSecretT &&value)
bool ServiceCredentialSecretHasBeenSet() const
bool ServiceUserNameHasBeenSet() const
const Aws::String & GetServiceCredentialSecret() const
ServiceSpecificCredential & WithUserName(UserNameT &&value)
ServiceSpecificCredential & WithServiceUserName(ServiceUserNameT &&value)
void SetServiceCredentialSecret(ServiceCredentialSecretT &&value)
AWS_IAM_API ServiceSpecificCredential & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetServiceName() const
AWS_IAM_API ServiceSpecificCredential()=default
ServiceSpecificCredential & WithCreateDate(CreateDateT &&value)
ServiceSpecificCredential & WithServicePassword(ServicePasswordT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream