/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class AddProfileKeyResult { public: AWS_CUSTOMERPROFILES_API AddProfileKeyResult(); AWS_CUSTOMERPROFILES_API AddProfileKeyResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API AddProfileKeyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A searchable identifier of a customer profile.

*/ inline const Aws::String& GetKeyName() const{ return m_keyName; } /** *

A searchable identifier of a customer profile.

*/ inline void SetKeyName(const Aws::String& value) { m_keyName = value; } /** *

A searchable identifier of a customer profile.

*/ inline void SetKeyName(Aws::String&& value) { m_keyName = std::move(value); } /** *

A searchable identifier of a customer profile.

*/ inline void SetKeyName(const char* value) { m_keyName.assign(value); } /** *

A searchable identifier of a customer profile.

*/ inline AddProfileKeyResult& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** *

A searchable identifier of a customer profile.

*/ inline AddProfileKeyResult& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** *

A searchable identifier of a customer profile.

*/ inline AddProfileKeyResult& WithKeyName(const char* value) { SetKeyName(value); return *this;} /** *

A list of key values.

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

A list of key values.

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

A list of key values.

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

A list of key values.

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

A list of key values.

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

A list of key values.

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

A list of key values.

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

A list of key values.

*/ inline AddProfileKeyResult& AddValues(const char* value) { m_values.push_back(value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddProfileKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddProfileKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddProfileKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_keyName; Aws::Vector m_values; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws