/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An API key resource listed in your Amazon Web Services account.See
* Also:
AWS
* API Reference
The timestamp of when the API key was created, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was created, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was created, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was created, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was created, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was created, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The optional description for the API key resource.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The optional description for the API key resource.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The optional description for the API key resource.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The optional description for the API key resource.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The optional description for the API key resource.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The optional description for the API key resource.
*/ inline ListKeysResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The optional description for the API key resource.
*/ inline ListKeysResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The optional description for the API key resource.
*/ inline ListKeysResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The timestamp for when the API key resource will expire, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp for when the API key resource will expire, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp for when the API key resource will expire, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp for when the API key resource will expire, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp for when the API key resource will expire, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp for when the API key resource will expire, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The name of the API key resource.
*/ inline const Aws::String& GetKeyName() const{ return m_keyName; } /** *The name of the API key resource.
*/ inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } /** *The name of the API key resource.
*/ inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } /** *The name of the API key resource.
*/ inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } /** *The name of the API key resource.
*/ inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } /** *The name of the API key resource.
*/ inline ListKeysResponseEntry& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** *The name of the API key resource.
*/ inline ListKeysResponseEntry& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** *The name of the API key resource.
*/ inline ListKeysResponseEntry& WithKeyName(const char* value) { SetKeyName(value); return *this;} inline const ApiKeyRestrictions& GetRestrictions() const{ return m_restrictions; } inline bool RestrictionsHasBeenSet() const { return m_restrictionsHasBeenSet; } inline void SetRestrictions(const ApiKeyRestrictions& value) { m_restrictionsHasBeenSet = true; m_restrictions = value; } inline void SetRestrictions(ApiKeyRestrictions&& value) { m_restrictionsHasBeenSet = true; m_restrictions = std::move(value); } inline ListKeysResponseEntry& WithRestrictions(const ApiKeyRestrictions& value) { SetRestrictions(value); return *this;} inline ListKeysResponseEntry& WithRestrictions(ApiKeyRestrictions&& value) { SetRestrictions(std::move(value)); return *this;} /** *The timestamp of when the API key was last updated, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was last updated, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was last updated, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was last updated, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was last updated, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp of when the API key was last updated, in ISO 8601
* format: YYYY-MM-DDThh:mm:ss.sssZ
.