/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Key Usage X.509 v3 extension defines the purpose of the public key
* contained in the certificate.See Also:
AWS API
* Reference
A string value that contains a Key Usage extension name.
*/ inline const KeyUsageName& GetName() const{ return m_name; } /** *A string value that contains a Key Usage extension name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A string value that contains a Key Usage extension name.
*/ inline void SetName(const KeyUsageName& value) { m_nameHasBeenSet = true; m_name = value; } /** *A string value that contains a Key Usage extension name.
*/ inline void SetName(KeyUsageName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A string value that contains a Key Usage extension name.
*/ inline KeyUsage& WithName(const KeyUsageName& value) { SetName(value); return *this;} /** *A string value that contains a Key Usage extension name.
*/ inline KeyUsage& WithName(KeyUsageName&& value) { SetName(std::move(value)); return *this;} private: KeyUsageName m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace ACM } // namespace Aws