/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Metadata includes information like the Amazon Resource Name (ARN) of the last
* user to update the parameter and the date and time the parameter was last
* used.See Also:
AWS
* API Reference
The parameter name.
*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } inline ParameterMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} inline ParameterMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline ParameterMetadata& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** *The (ARN) of the last user to update the parameter.
*/ inline const Aws::String& GetARN() const{ return m_aRN; } inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } inline ParameterMetadata& WithARN(const Aws::String& value) { SetARN(value); return *this;} inline ParameterMetadata& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} inline ParameterMetadata& WithARN(const char* value) { SetARN(value); return *this;} ///@} ///@{ /** *The type of parameter. Valid parameter types include the following:
* String, StringList, and SecureString.
The alias of the Key Management Service (KMS) key used to encrypt the
* parameter. Applies to SecureString parameters only.
Date the parameter was last changed or updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } inline ParameterMetadata& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} inline ParameterMetadata& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} ///@} ///@{ /** *Amazon Resource Name (ARN) of the Amazon Web Services user who last changed * the parameter.
*/ inline const Aws::String& GetLastModifiedUser() const{ return m_lastModifiedUser; } inline bool LastModifiedUserHasBeenSet() const { return m_lastModifiedUserHasBeenSet; } inline void SetLastModifiedUser(const Aws::String& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = value; } inline void SetLastModifiedUser(Aws::String&& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = std::move(value); } inline void SetLastModifiedUser(const char* value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser.assign(value); } inline ParameterMetadata& WithLastModifiedUser(const Aws::String& value) { SetLastModifiedUser(value); return *this;} inline ParameterMetadata& WithLastModifiedUser(Aws::String&& value) { SetLastModifiedUser(std::move(value)); return *this;} inline ParameterMetadata& WithLastModifiedUser(const char* value) { SetLastModifiedUser(value); return *this;} ///@} ///@{ /** *Description of the parameter actions.
*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } inline ParameterMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline ParameterMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline ParameterMetadata& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ /** *A parameter name can include only the following letters and symbols.
*a-zA-Z0-9_.-
*/ inline const Aws::String& GetAllowedPattern() const{ return m_allowedPattern; } inline bool AllowedPatternHasBeenSet() const { return m_allowedPatternHasBeenSet; } inline void SetAllowedPattern(const Aws::String& value) { m_allowedPatternHasBeenSet = true; m_allowedPattern = value; } inline void SetAllowedPattern(Aws::String&& value) { m_allowedPatternHasBeenSet = true; m_allowedPattern = std::move(value); } inline void SetAllowedPattern(const char* value) { m_allowedPatternHasBeenSet = true; m_allowedPattern.assign(value); } inline ParameterMetadata& WithAllowedPattern(const Aws::String& value) { SetAllowedPattern(value); return *this;} inline ParameterMetadata& WithAllowedPattern(Aws::String&& value) { SetAllowedPattern(std::move(value)); return *this;} inline ParameterMetadata& WithAllowedPattern(const char* value) { SetAllowedPattern(value); return *this;} ///@} ///@{ /** *The parameter version.
*/ inline long long GetVersion() const{ return m_version; } inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; } inline ParameterMetadata& WithVersion(long long value) { SetVersion(value); return *this;} ///@} ///@{ /** *The parameter tier.
*/ inline const ParameterTier& GetTier() const{ return m_tier; } inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } inline void SetTier(const ParameterTier& value) { m_tierHasBeenSet = true; m_tier = value; } inline void SetTier(ParameterTier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } inline ParameterMetadata& WithTier(const ParameterTier& value) { SetTier(value); return *this;} inline ParameterMetadata& WithTier(ParameterTier&& value) { SetTier(std::move(value)); return *this;} ///@} ///@{ /** *A list of policies associated with a parameter.
*/ inline const Aws::VectorThe data type of the parameter, such as text or
* aws:ec2:image. The default is text.