/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The action to take on the object attribute.See Also:
AWS
* API Reference
A type that can be either Update
or Delete
.
A type that can be either Update
or Delete
.
A type that can be either Update
or Delete
.
A type that can be either Update
or Delete
.
A type that can be either Update
or Delete
.
A type that can be either Update
or Delete
.
The value that you want to update to.
*/ inline const TypedAttributeValue& GetObjectAttributeUpdateValue() const{ return m_objectAttributeUpdateValue; } /** *The value that you want to update to.
*/ inline bool ObjectAttributeUpdateValueHasBeenSet() const { return m_objectAttributeUpdateValueHasBeenSet; } /** *The value that you want to update to.
*/ inline void SetObjectAttributeUpdateValue(const TypedAttributeValue& value) { m_objectAttributeUpdateValueHasBeenSet = true; m_objectAttributeUpdateValue = value; } /** *The value that you want to update to.
*/ inline void SetObjectAttributeUpdateValue(TypedAttributeValue&& value) { m_objectAttributeUpdateValueHasBeenSet = true; m_objectAttributeUpdateValue = std::move(value); } /** *The value that you want to update to.
*/ inline ObjectAttributeAction& WithObjectAttributeUpdateValue(const TypedAttributeValue& value) { SetObjectAttributeUpdateValue(value); return *this;} /** *The value that you want to update to.
*/ inline ObjectAttributeAction& WithObjectAttributeUpdateValue(TypedAttributeValue&& value) { SetObjectAttributeUpdateValue(std::move(value)); return *this;} private: UpdateActionType m_objectAttributeActionType; bool m_objectAttributeActionTypeHasBeenSet = false; TypedAttributeValue m_objectAttributeUpdateValue; bool m_objectAttributeUpdateValueHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws