/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

The static value of the resource.

See Also:

AWS * API Reference

*/ class StaticValue { public: AWS_CONFIGSERVICE_API StaticValue(); AWS_CONFIGSERVICE_API StaticValue(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API StaticValue& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of values. For example, the ARN of the assumed role.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

A list of values. For example, the ARN of the assumed role.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

A list of values. For example, the ARN of the assumed role.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

A list of values. For example, the ARN of the assumed role.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

A list of values. For example, the ARN of the assumed role.

*/ inline StaticValue& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

A list of values. For example, the ARN of the assumed role.

*/ inline StaticValue& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

A list of values. For example, the ARN of the assumed role.

*/ inline StaticValue& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

A list of values. For example, the ARN of the assumed role.

*/ inline StaticValue& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

A list of values. For example, the ARN of the assumed role.

*/ inline StaticValue& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws