/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a target that failed to be removed from a rule.See
* Also:
AWS
* API Reference
The ID of the target.
*/ inline const Aws::String& GetTargetId() const{ return m_targetId; } /** *The ID of the target.
*/ inline bool TargetIdHasBeenSet() const { return m_targetIdHasBeenSet; } /** *The ID of the target.
*/ inline void SetTargetId(const Aws::String& value) { m_targetIdHasBeenSet = true; m_targetId = value; } /** *The ID of the target.
*/ inline void SetTargetId(Aws::String&& value) { m_targetIdHasBeenSet = true; m_targetId = std::move(value); } /** *The ID of the target.
*/ inline void SetTargetId(const char* value) { m_targetIdHasBeenSet = true; m_targetId.assign(value); } /** *The ID of the target.
*/ inline RemoveTargetsResultEntry& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;} /** *The ID of the target.
*/ inline RemoveTargetsResultEntry& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;} /** *The ID of the target.
*/ inline RemoveTargetsResultEntry& WithTargetId(const char* value) { SetTargetId(value); return *this;} /** *The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error code that indicates why the target removal failed. If the value is
* ConcurrentModificationException
, too many requests were made at the
* same time.
The error message that explains why the target removal failed.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message that explains why the target removal failed.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message that explains why the target removal failed.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message that explains why the target removal failed.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message that explains why the target removal failed.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message that explains why the target removal failed.
*/ inline RemoveTargetsResultEntry& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message that explains why the target removal failed.
*/ inline RemoveTargetsResultEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message that explains why the target removal failed.
*/ inline RemoveTargetsResultEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_targetId; bool m_targetIdHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws