/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Amazon Web Services Systems Manager parameter in Parameter
* Store.See Also:
AWS API
* Reference
The name of the parameter.
*/ 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 Parameter& WithName(const Aws::String& value) { SetName(value); return *this;} inline Parameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline Parameter& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** *The type of parameter. Valid values include the following:
* String, StringList, and SecureString.
If type is StringList, the system returns a
* comma-separated string with no spaces between commas in the Value
* field.
The parameter value.
If type is StringList, the
* system returns a comma-separated string with no spaces between commas in the
* Value field.
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 Parameter& WithVersion(long long value) { SetVersion(value); return *this;} ///@} ///@{ /** *Either the version number or the label used to retrieve the parameter value. * Specify selectors by using one of the following formats:
*parameter_name:version
parameter_name:label
*/ inline const Aws::String& GetSelector() const{ return m_selector; } inline bool SelectorHasBeenSet() const { return m_selectorHasBeenSet; } inline void SetSelector(const Aws::String& value) { m_selectorHasBeenSet = true; m_selector = value; } inline void SetSelector(Aws::String&& value) { m_selectorHasBeenSet = true; m_selector = std::move(value); } inline void SetSelector(const char* value) { m_selectorHasBeenSet = true; m_selector.assign(value); } inline Parameter& WithSelector(const Aws::String& value) { SetSelector(value); return *this;} inline Parameter& WithSelector(Aws::String&& value) { SetSelector(std::move(value)); return *this;} inline Parameter& WithSelector(const char* value) { SetSelector(value); return *this;} ///@} ///@{ /** *Applies to parameters that reference information in other Amazon Web Services
* services. SourceResult is the raw result or response from the
* source.
Date the parameter was last changed or updated and the parameter version was * created.
*/ 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 Parameter& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} inline Parameter& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} ///@} ///@{ /** *The Amazon Resource Name (ARN) of 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 Parameter& WithARN(const Aws::String& value) { SetARN(value); return *this;} inline Parameter& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} inline Parameter& WithARN(const char* value) { SetARN(value); return *this;} ///@} ///@{ /** *The data type of the parameter, such as text or
* aws:ec2:image. The default is text.