/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details of a service-specific credential.See
* Also:
AWS
* API Reference
The date and time, in ISO 8601 * date-time format, when the service-specific credential were created.
*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *The date and time, in ISO 8601 * date-time format, when the service-specific credential were created.
*/ inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; } /** *The date and time, in ISO 8601 * date-time format, when the service-specific credential were created.
*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; } /** *The date and time, in ISO 8601 * date-time format, when the service-specific credential were created.
*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); } /** *The date and time, in ISO 8601 * date-time format, when the service-specific credential were created.
*/ inline ServiceSpecificCredential& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *The date and time, in ISO 8601 * date-time format, when the service-specific credential were created.
*/ inline ServiceSpecificCredential& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *The name of the service associated with the service-specific credential.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the service associated with the service-specific credential.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the service associated with the service-specific credential.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the service associated with the service-specific credential.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the service associated with the service-specific credential.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the service associated with the service-specific credential.
*/ inline ServiceSpecificCredential& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the service associated with the service-specific credential.
*/ inline ServiceSpecificCredential& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the service associated with the service-specific credential.
*/ inline ServiceSpecificCredential& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated user name for the service-specific credential. This value is
* generated by combining the IAM user's name combined with the ID number of the
* Amazon Web Services account, as in jane-at-123456789012
, for
* example. This value cannot be configured by the user.
The generated password for the service-specific credential.
*/ inline const Aws::String& GetServicePassword() const{ return m_servicePassword; } /** *The generated password for the service-specific credential.
*/ inline bool ServicePasswordHasBeenSet() const { return m_servicePasswordHasBeenSet; } /** *The generated password for the service-specific credential.
*/ inline void SetServicePassword(const Aws::String& value) { m_servicePasswordHasBeenSet = true; m_servicePassword = value; } /** *The generated password for the service-specific credential.
*/ inline void SetServicePassword(Aws::String&& value) { m_servicePasswordHasBeenSet = true; m_servicePassword = std::move(value); } /** *The generated password for the service-specific credential.
*/ inline void SetServicePassword(const char* value) { m_servicePasswordHasBeenSet = true; m_servicePassword.assign(value); } /** *The generated password for the service-specific credential.
*/ inline ServiceSpecificCredential& WithServicePassword(const Aws::String& value) { SetServicePassword(value); return *this;} /** *The generated password for the service-specific credential.
*/ inline ServiceSpecificCredential& WithServicePassword(Aws::String&& value) { SetServicePassword(std::move(value)); return *this;} /** *The generated password for the service-specific credential.
*/ inline ServiceSpecificCredential& WithServicePassword(const char* value) { SetServicePassword(value); return *this;} /** *The unique identifier for the service-specific credential.
*/ inline const Aws::String& GetServiceSpecificCredentialId() const{ return m_serviceSpecificCredentialId; } /** *The unique identifier for the service-specific credential.
*/ inline bool ServiceSpecificCredentialIdHasBeenSet() const { return m_serviceSpecificCredentialIdHasBeenSet; } /** *The unique identifier for the service-specific credential.
*/ inline void SetServiceSpecificCredentialId(const Aws::String& value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId = value; } /** *The unique identifier for the service-specific credential.
*/ inline void SetServiceSpecificCredentialId(Aws::String&& value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId = std::move(value); } /** *The unique identifier for the service-specific credential.
*/ inline void SetServiceSpecificCredentialId(const char* value) { m_serviceSpecificCredentialIdHasBeenSet = true; m_serviceSpecificCredentialId.assign(value); } /** *The unique identifier for the service-specific credential.
*/ inline ServiceSpecificCredential& WithServiceSpecificCredentialId(const Aws::String& value) { SetServiceSpecificCredentialId(value); return *this;} /** *The unique identifier for the service-specific credential.
*/ inline ServiceSpecificCredential& WithServiceSpecificCredentialId(Aws::String&& value) { SetServiceSpecificCredentialId(std::move(value)); return *this;} /** *The unique identifier for the service-specific credential.
*/ inline ServiceSpecificCredential& WithServiceSpecificCredentialId(const char* value) { SetServiceSpecificCredentialId(value); return *this;} /** *The name of the IAM user associated with the service-specific credential.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *The name of the IAM user associated with the service-specific credential.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *The name of the IAM user associated with the service-specific credential.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *The name of the IAM user associated with the service-specific credential.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *The name of the IAM user associated with the service-specific credential.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *The name of the IAM user associated with the service-specific credential.
*/ inline ServiceSpecificCredential& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *The name of the IAM user associated with the service-specific credential.
*/ inline ServiceSpecificCredential& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *The name of the IAM user associated with the service-specific credential.
*/ inline ServiceSpecificCredential& WithUserName(const char* value) { SetUserName(value); return *this;} /** *The status of the service-specific credential. Active
means that
* the key is valid for API calls, while Inactive
means it is not.
The status of the service-specific credential. Active
means that
* the key is valid for API calls, while Inactive
means it is not.
The status of the service-specific credential. Active
means that
* the key is valid for API calls, while Inactive
means it is not.
The status of the service-specific credential. Active
means that
* the key is valid for API calls, while Inactive
means it is not.
The status of the service-specific credential. Active
means that
* the key is valid for API calls, while Inactive
means it is not.
The status of the service-specific credential. Active
means that
* the key is valid for API calls, while Inactive
means it is not.