/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a token.See Also:
AWS
* API Reference
Token ID.
*/ inline const Aws::String& GetTokenId() const{ return m_tokenId; } /** *Token ID.
*/ inline bool TokenIdHasBeenSet() const { return m_tokenIdHasBeenSet; } /** *Token ID.
*/ inline void SetTokenId(const Aws::String& value) { m_tokenIdHasBeenSet = true; m_tokenId = value; } /** *Token ID.
*/ inline void SetTokenId(Aws::String&& value) { m_tokenIdHasBeenSet = true; m_tokenId = std::move(value); } /** *Token ID.
*/ inline void SetTokenId(const char* value) { m_tokenIdHasBeenSet = true; m_tokenId.assign(value); } /** *Token ID.
*/ inline TokenData& WithTokenId(const Aws::String& value) { SetTokenId(value); return *this;} /** *Token ID.
*/ inline TokenData& WithTokenId(Aws::String&& value) { SetTokenId(std::move(value)); return *this;} /** *Token ID.
*/ inline TokenData& WithTokenId(const char* value) { SetTokenId(value); return *this;} /** *Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Type of token generated. The supported value is
* REFRESH_TOKEN
.
Amazon Resource Name (ARN) of the license.
*/ inline const Aws::String& GetLicenseArn() const{ return m_licenseArn; } /** *Amazon Resource Name (ARN) of the license.
*/ inline bool LicenseArnHasBeenSet() const { return m_licenseArnHasBeenSet; } /** *Amazon Resource Name (ARN) of the license.
*/ inline void SetLicenseArn(const Aws::String& value) { m_licenseArnHasBeenSet = true; m_licenseArn = value; } /** *Amazon Resource Name (ARN) of the license.
*/ inline void SetLicenseArn(Aws::String&& value) { m_licenseArnHasBeenSet = true; m_licenseArn = std::move(value); } /** *Amazon Resource Name (ARN) of the license.
*/ inline void SetLicenseArn(const char* value) { m_licenseArnHasBeenSet = true; m_licenseArn.assign(value); } /** *Amazon Resource Name (ARN) of the license.
*/ inline TokenData& WithLicenseArn(const Aws::String& value) { SetLicenseArn(value); return *this;} /** *Amazon Resource Name (ARN) of the license.
*/ inline TokenData& WithLicenseArn(Aws::String&& value) { SetLicenseArn(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) of the license.
*/ inline TokenData& WithLicenseArn(const char* value) { SetLicenseArn(value); return *this;} /** *Token expiration time, in ISO8601-UTC format.
*/ inline const Aws::String& GetExpirationTime() const{ return m_expirationTime; } /** *Token expiration time, in ISO8601-UTC format.
*/ inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; } /** *Token expiration time, in ISO8601-UTC format.
*/ inline void SetExpirationTime(const Aws::String& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; } /** *Token expiration time, in ISO8601-UTC format.
*/ inline void SetExpirationTime(Aws::String&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); } /** *Token expiration time, in ISO8601-UTC format.
*/ inline void SetExpirationTime(const char* value) { m_expirationTimeHasBeenSet = true; m_expirationTime.assign(value); } /** *Token expiration time, in ISO8601-UTC format.
*/ inline TokenData& WithExpirationTime(const Aws::String& value) { SetExpirationTime(value); return *this;} /** *Token expiration time, in ISO8601-UTC format.
*/ inline TokenData& WithExpirationTime(Aws::String&& value) { SetExpirationTime(std::move(value)); return *this;} /** *Token expiration time, in ISO8601-UTC format.
*/ inline TokenData& WithExpirationTime(const char* value) { SetExpirationTime(value); return *this;} /** *Data specified by the caller.
*/ inline const Aws::VectorData specified by the caller.
*/ inline bool TokenPropertiesHasBeenSet() const { return m_tokenPropertiesHasBeenSet; } /** *Data specified by the caller.
*/ inline void SetTokenProperties(const Aws::VectorData specified by the caller.
*/ inline void SetTokenProperties(Aws::VectorData specified by the caller.
*/ inline TokenData& WithTokenProperties(const Aws::VectorData specified by the caller.
*/ inline TokenData& WithTokenProperties(Aws::VectorData specified by the caller.
*/ inline TokenData& AddTokenProperties(const Aws::String& value) { m_tokenPropertiesHasBeenSet = true; m_tokenProperties.push_back(value); return *this; } /** *Data specified by the caller.
*/ inline TokenData& AddTokenProperties(Aws::String&& value) { m_tokenPropertiesHasBeenSet = true; m_tokenProperties.push_back(std::move(value)); return *this; } /** *Data specified by the caller.
*/ inline TokenData& AddTokenProperties(const char* value) { m_tokenPropertiesHasBeenSet = true; m_tokenProperties.push_back(value); return *this; } /** *Amazon Resource Names (ARN) of the roles included in the token.
*/ inline const Aws::VectorAmazon Resource Names (ARN) of the roles included in the token.
*/ inline bool RoleArnsHasBeenSet() const { return m_roleArnsHasBeenSet; } /** *Amazon Resource Names (ARN) of the roles included in the token.
*/ inline void SetRoleArns(const Aws::VectorAmazon Resource Names (ARN) of the roles included in the token.
*/ inline void SetRoleArns(Aws::VectorAmazon Resource Names (ARN) of the roles included in the token.
*/ inline TokenData& WithRoleArns(const Aws::VectorAmazon Resource Names (ARN) of the roles included in the token.
*/ inline TokenData& WithRoleArns(Aws::VectorAmazon Resource Names (ARN) of the roles included in the token.
*/ inline TokenData& AddRoleArns(const Aws::String& value) { m_roleArnsHasBeenSet = true; m_roleArns.push_back(value); return *this; } /** *Amazon Resource Names (ARN) of the roles included in the token.
*/ inline TokenData& AddRoleArns(Aws::String&& value) { m_roleArnsHasBeenSet = true; m_roleArns.push_back(std::move(value)); return *this; } /** *Amazon Resource Names (ARN) of the roles included in the token.
*/ inline TokenData& AddRoleArns(const char* value) { m_roleArnsHasBeenSet = true; m_roleArns.push_back(value); return *this; } /** *Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.
Token status. The possible values are AVAILABLE
and
* DELETED
.