/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents key, value pair to be matched against given resource
* property.See Also:
AWS
* API Reference
Represents key in the map condition.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *Represents key in the map condition.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *Represents key in the map condition.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *Represents key in the map condition.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *Represents key in the map condition.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *Represents key in the map condition.
*/ inline ScanConditionPair& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *Represents key in the map condition.
*/ inline ScanConditionPair& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *Represents key in the map condition.
*/ inline ScanConditionPair& WithKey(const char* value) { SetKey(value); return *this;} /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline ScanConditionPair& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline ScanConditionPair& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Represents optional value in the map condition. If not specified, * only key will be matched.
*/ inline ScanConditionPair& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws