/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The action to take on a typed link attribute value. Updates are only
* supported for attributes which don’t contribute to link identity.See
* Also:
AWS
* API Reference
A type that can be either UPDATE_OR_CREATE
or
* DELETE
.
A type that can be either UPDATE_OR_CREATE
or
* DELETE
.
A type that can be either UPDATE_OR_CREATE
or
* DELETE
.
A type that can be either UPDATE_OR_CREATE
or
* DELETE
.
A type that can be either UPDATE_OR_CREATE
or
* DELETE
.
A type that can be either UPDATE_OR_CREATE
or
* DELETE
.
The value that you want to update to.
*/ inline const TypedAttributeValue& GetAttributeUpdateValue() const{ return m_attributeUpdateValue; } /** *The value that you want to update to.
*/ inline bool AttributeUpdateValueHasBeenSet() const { return m_attributeUpdateValueHasBeenSet; } /** *The value that you want to update to.
*/ inline void SetAttributeUpdateValue(const TypedAttributeValue& value) { m_attributeUpdateValueHasBeenSet = true; m_attributeUpdateValue = value; } /** *The value that you want to update to.
*/ inline void SetAttributeUpdateValue(TypedAttributeValue&& value) { m_attributeUpdateValueHasBeenSet = true; m_attributeUpdateValue = std::move(value); } /** *The value that you want to update to.
*/ inline LinkAttributeAction& WithAttributeUpdateValue(const TypedAttributeValue& value) { SetAttributeUpdateValue(value); return *this;} /** *The value that you want to update to.
*/ inline LinkAttributeAction& WithAttributeUpdateValue(TypedAttributeValue&& value) { SetAttributeUpdateValue(std::move(value)); return *this;} private: UpdateActionType m_attributeActionType; bool m_attributeActionTypeHasBeenSet = false; TypedAttributeValue m_attributeUpdateValue; bool m_attributeUpdateValueHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws