7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iam/model/StatusType.h>
52 template<
typename CreateDateT = Aws::Utils::DateTime>
53 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
54 template<
typename CreateDateT = Aws::Utils::DateTime>
66 template<
typename ExpirationDateT = Aws::Utils::DateTime>
67 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet =
true; m_expirationDate = std::forward<ExpirationDateT>(value); }
68 template<
typename ExpirationDateT = Aws::Utils::DateTime>
78 template<
typename ServiceNameT = Aws::String>
79 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
80 template<
typename ServiceNameT = Aws::String>
93 template<
typename ServiceUserNameT = Aws::String>
94 void SetServiceUserName(ServiceUserNameT&& value) { m_serviceUserNameHasBeenSet =
true; m_serviceUserName = std::forward<ServiceUserNameT>(value); }
95 template<
typename ServiceUserNameT = Aws::String>
105 template<
typename ServicePasswordT = Aws::String>
106 void SetServicePassword(ServicePasswordT&& value) { m_servicePasswordHasBeenSet =
true; m_servicePassword = std::forward<ServicePasswordT>(value); }
107 template<
typename ServicePasswordT = Aws::String>
119 template<
typename ServiceCredentialAliasT = Aws::String>
120 void SetServiceCredentialAlias(ServiceCredentialAliasT&& value) { m_serviceCredentialAliasHasBeenSet =
true; m_serviceCredentialAlias = std::forward<ServiceCredentialAliasT>(value); }
121 template<
typename ServiceCredentialAliasT = Aws::String>
133 template<
typename ServiceCredentialSecretT = Aws::String>
134 void SetServiceCredentialSecret(ServiceCredentialSecretT&& value) { m_serviceCredentialSecretHasBeenSet =
true; m_serviceCredentialSecret = std::forward<ServiceCredentialSecretT>(value); }
135 template<
typename ServiceCredentialSecretT = Aws::String>
145 template<
typename ServiceSpecificCredentialIdT = Aws::String>
146 void SetServiceSpecificCredentialId(ServiceSpecificCredentialIdT&& value) { m_serviceSpecificCredentialIdHasBeenSet =
true; m_serviceSpecificCredentialId = std::forward<ServiceSpecificCredentialIdT>(value); }
147 template<
typename ServiceSpecificCredentialIdT = Aws::String>
157 template<
typename UserNameT = Aws::String>
158 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
159 template<
typename UserNameT = Aws::String>
176 bool m_createDateHasBeenSet =
false;
179 bool m_expirationDateHasBeenSet =
false;
182 bool m_serviceNameHasBeenSet =
false;
185 bool m_serviceUserNameHasBeenSet =
false;
188 bool m_servicePasswordHasBeenSet =
false;
191 bool m_serviceCredentialAliasHasBeenSet =
false;
194 bool m_serviceCredentialSecretHasBeenSet =
false;
197 bool m_serviceSpecificCredentialIdHasBeenSet =
false;
200 bool m_userNameHasBeenSet =
false;
203 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