/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

A ProfileObject in a list of ProfileObjects.

See Also:

AWS * API Reference

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

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; } /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; } /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = value; } /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::move(value); } /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline void SetObjectTypeName(const char* value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName.assign(value); } /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline ListProfileObjectsItem& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;} /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline ListProfileObjectsItem& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;} /** *

Specifies the kind of object being added to a profile, such as * "Salesforce-Account."

*/ inline ListProfileObjectsItem& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;} /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline const Aws::String& GetProfileObjectUniqueKey() const{ return m_profileObjectUniqueKey; } /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline bool ProfileObjectUniqueKeyHasBeenSet() const { return m_profileObjectUniqueKeyHasBeenSet; } /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline void SetProfileObjectUniqueKey(const Aws::String& value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey = value; } /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline void SetProfileObjectUniqueKey(Aws::String&& value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey = std::move(value); } /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline void SetProfileObjectUniqueKey(const char* value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey.assign(value); } /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline ListProfileObjectsItem& WithProfileObjectUniqueKey(const Aws::String& value) { SetProfileObjectUniqueKey(value); return *this;} /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline ListProfileObjectsItem& WithProfileObjectUniqueKey(Aws::String&& value) { SetProfileObjectUniqueKey(std::move(value)); return *this;} /** *

The unique identifier of the ProfileObject generated by the service.

*/ inline ListProfileObjectsItem& WithProfileObjectUniqueKey(const char* value) { SetProfileObjectUniqueKey(value); return *this;} /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline const Aws::String& GetObject() const{ return m_object; } /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; } /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; } /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); } /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); } /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline ListProfileObjectsItem& WithObject(const Aws::String& value) { SetObject(value); return *this;} /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline ListProfileObjectsItem& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;} /** *

A JSON representation of a ProfileObject that belongs to a profile.

*/ inline ListProfileObjectsItem& WithObject(const char* value) { SetObject(value); return *this;} private: Aws::String m_objectTypeName; bool m_objectTypeNameHasBeenSet = false; Aws::String m_profileObjectUniqueKey; bool m_profileObjectUniqueKeyHasBeenSet = false; Aws::String m_object; bool m_objectHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws