/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A data type pair that consists of a KeyName
and
* Values
list that were used to find a profile returned in response
* to a SearchProfiles
* request. See Also:
AWS
* API Reference
A searchable identifier of a customer profile.
*/ inline const Aws::String& GetKeyName() const{ return m_keyName; } /** *A searchable identifier of a customer profile.
*/ inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } /** *A searchable identifier of a customer profile.
*/ inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } /** *A searchable identifier of a customer profile.
*/ inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } /** *A searchable identifier of a customer profile.
*/ inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } /** *A searchable identifier of a customer profile.
*/ inline FoundByKeyValue& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** *A searchable identifier of a customer profile.
*/ inline FoundByKeyValue& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** *A searchable identifier of a customer profile.
*/ inline FoundByKeyValue& WithKeyName(const char* value) { SetKeyName(value); return *this;} /** *A list of key values.
*/ inline const Aws::VectorA list of key values.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *A list of key values.
*/ inline void SetValues(const Aws::VectorA list of key values.
*/ inline void SetValues(Aws::VectorA list of key values.
*/ inline FoundByKeyValue& WithValues(const Aws::VectorA list of key values.
*/ inline FoundByKeyValue& WithValues(Aws::VectorA list of key values.
*/ inline FoundByKeyValue& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *A list of key values.
*/ inline FoundByKeyValue& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *A list of key values.
*/ inline FoundByKeyValue& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::String m_keyName; bool m_keyNameHasBeenSet = false; Aws::Vector