/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the criteria of assessment.See Also:
AWS
* API Reference
Condition of an assessment.
*/ inline const Condition& GetCondition() const{ return m_condition; } /** *Condition of an assessment.
*/ inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } /** *Condition of an assessment.
*/ inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; } /** *Condition of an assessment.
*/ inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); } /** *Condition of an assessment.
*/ inline AssessmentTarget& WithCondition(const Condition& value) { SetCondition(value); return *this;} /** *Condition of an assessment.
*/ inline AssessmentTarget& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;} /** *Name of an assessment.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of an assessment.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of an assessment.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of an assessment.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of an assessment.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of an assessment.
*/ inline AssessmentTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of an assessment.
*/ inline AssessmentTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of an assessment.
*/ inline AssessmentTarget& WithName(const char* value) { SetName(value); return *this;} /** *Values of an assessment.
*/ inline const Aws::VectorValues of an assessment.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *Values of an assessment.
*/ inline void SetValues(const Aws::VectorValues of an assessment.
*/ inline void SetValues(Aws::VectorValues of an assessment.
*/ inline AssessmentTarget& WithValues(const Aws::VectorValues of an assessment.
*/ inline AssessmentTarget& WithValues(Aws::VectorValues of an assessment.
*/ inline AssessmentTarget& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *Values of an assessment.
*/ inline AssessmentTarget& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *Values of an assessment.
*/ inline AssessmentTarget& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Condition m_condition; bool m_conditionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector