/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An extension that was invoked as part of a deployment event.See
* Also:
AWS
* API Reference
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline const Aws::String& GetExtensionIdentifier() const{ return m_extensionIdentifier; } /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; } /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline void SetExtensionIdentifier(const Aws::String& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = value; } /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline void SetExtensionIdentifier(Aws::String&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::move(value); } /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline void SetExtensionIdentifier(const char* value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier.assign(value); } /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline ActionInvocation& WithExtensionIdentifier(const Aws::String& value) { SetExtensionIdentifier(value); return *this;} /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline ActionInvocation& WithExtensionIdentifier(Aws::String&& value) { SetExtensionIdentifier(std::move(value)); return *this;} /** *The name, the ID, or the Amazon Resource Name (ARN) of the extension.
*/ inline ActionInvocation& WithExtensionIdentifier(const char* value) { SetExtensionIdentifier(value); return *this;} /** *The name of the action.
*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *The name of the action.
*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *The name of the action.
*/ inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; } /** *The name of the action.
*/ inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); } /** *The name of the action.
*/ inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); } /** *The name of the action.
*/ inline ActionInvocation& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *The name of the action.
*/ inline ActionInvocation& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *The name of the action.
*/ inline ActionInvocation& WithActionName(const char* value) { SetActionName(value); return *this;} /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline ActionInvocation& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline ActionInvocation& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *The extension URI associated to the action point in the extension definition. * The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda * function, an Amazon Simple Queue Service queue, an Amazon Simple Notification * Service topic, or the Amazon EventBridge default event bus.
*/ inline ActionInvocation& WithUri(const char* value) { SetUri(value); return *this;} /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline ActionInvocation& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline ActionInvocation& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *An Amazon Resource Name (ARN) for an Identity and Access Management assume * role.
*/ inline ActionInvocation& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The error message when an extension invocation fails.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message when an extension invocation fails.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message when an extension invocation fails.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message when an extension invocation fails.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message when an extension invocation fails.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message when an extension invocation fails.
*/ inline ActionInvocation& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message when an extension invocation fails.
*/ inline ActionInvocation& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message when an extension invocation fails.
*/ inline ActionInvocation& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *The error code when an extension invocation fails.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code when an extension invocation fails.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code when an extension invocation fails.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code when an extension invocation fails.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code when an extension invocation fails.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code when an extension invocation fails.
*/ inline ActionInvocation& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code when an extension invocation fails.
*/ inline ActionInvocation& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code when an extension invocation fails.
*/ inline ActionInvocation& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *A system-generated ID for this invocation.
*/ inline const Aws::String& GetInvocationId() const{ return m_invocationId; } /** *A system-generated ID for this invocation.
*/ inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; } /** *A system-generated ID for this invocation.
*/ inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; } /** *A system-generated ID for this invocation.
*/ inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); } /** *A system-generated ID for this invocation.
*/ inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); } /** *A system-generated ID for this invocation.
*/ inline ActionInvocation& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;} /** *A system-generated ID for this invocation.
*/ inline ActionInvocation& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;} /** *A system-generated ID for this invocation.
*/ inline ActionInvocation& WithInvocationId(const char* value) { SetInvocationId(value); return *this;} private: Aws::String m_extensionIdentifier; bool m_extensionIdentifierHasBeenSet = false; Aws::String m_actionName; bool m_actionNameHasBeenSet = false; Aws::String m_uri; bool m_uriHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_invocationId; bool m_invocationIdHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws