/** * 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 SSM { namespace Model { /** *

Information about targets that resolved during the Automation * execution.

See Also:

AWS * API Reference

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

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline const Aws::Vector& GetParameterValues() const{ return m_parameterValues; } /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; } /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline void SetParameterValues(const Aws::Vector& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = value; } /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline void SetParameterValues(Aws::Vector&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::move(value); } /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline ResolvedTargets& WithParameterValues(const Aws::Vector& value) { SetParameterValues(value); return *this;} /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline ResolvedTargets& WithParameterValues(Aws::Vector&& value) { SetParameterValues(std::move(value)); return *this;} /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline ResolvedTargets& AddParameterValues(const Aws::String& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; } /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline ResolvedTargets& AddParameterValues(Aws::String&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(std::move(value)); return *this; } /** *

A list of parameter values sent to targets that resolved during the * Automation execution.

*/ inline ResolvedTargets& AddParameterValues(const char* value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; } /** *

A boolean value indicating whether the resolved target list is truncated.

*/ inline bool GetTruncated() const{ return m_truncated; } /** *

A boolean value indicating whether the resolved target list is truncated.

*/ inline bool TruncatedHasBeenSet() const { return m_truncatedHasBeenSet; } /** *

A boolean value indicating whether the resolved target list is truncated.

*/ inline void SetTruncated(bool value) { m_truncatedHasBeenSet = true; m_truncated = value; } /** *

A boolean value indicating whether the resolved target list is truncated.

*/ inline ResolvedTargets& WithTruncated(bool value) { SetTruncated(value); return *this;} private: Aws::Vector m_parameterValues; bool m_parameterValuesHasBeenSet = false; bool m_truncated; bool m_truncatedHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws