/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A trigger failed to run.See Also:
AWS
* API Reference
The name of the trigger that did not run.
*/ inline const Aws::String& GetTrigger() const{ return m_trigger; } /** *The name of the trigger that did not run.
*/ inline bool TriggerHasBeenSet() const { return m_triggerHasBeenSet; } /** *The name of the trigger that did not run.
*/ inline void SetTrigger(const Aws::String& value) { m_triggerHasBeenSet = true; m_trigger = value; } /** *The name of the trigger that did not run.
*/ inline void SetTrigger(Aws::String&& value) { m_triggerHasBeenSet = true; m_trigger = std::move(value); } /** *The name of the trigger that did not run.
*/ inline void SetTrigger(const char* value) { m_triggerHasBeenSet = true; m_trigger.assign(value); } /** *The name of the trigger that did not run.
*/ inline RepositoryTriggerExecutionFailure& WithTrigger(const Aws::String& value) { SetTrigger(value); return *this;} /** *The name of the trigger that did not run.
*/ inline RepositoryTriggerExecutionFailure& WithTrigger(Aws::String&& value) { SetTrigger(std::move(value)); return *this;} /** *The name of the trigger that did not run.
*/ inline RepositoryTriggerExecutionFailure& WithTrigger(const char* value) { SetTrigger(value); return *this;} /** *Message information about the trigger that did not run.
*/ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } /** *Message information about the trigger that did not run.
*/ inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; } /** *Message information about the trigger that did not run.
*/ inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } /** *Message information about the trigger that did not run.
*/ inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); } /** *Message information about the trigger that did not run.
*/ inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } /** *Message information about the trigger that did not run.
*/ inline RepositoryTriggerExecutionFailure& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} /** *Message information about the trigger that did not run.
*/ inline RepositoryTriggerExecutionFailure& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} /** *Message information about the trigger that did not run.
*/ inline RepositoryTriggerExecutionFailure& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} private: Aws::String m_trigger; bool m_triggerHasBeenSet = false; Aws::String m_failureMessage; bool m_failureMessageHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws