/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Launch Status of the Job Post Launch Actions.See Also:
AWS
* API Reference
AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline const Aws::String& GetExecutionID() const{ return m_executionID; } /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline bool ExecutionIDHasBeenSet() const { return m_executionIDHasBeenSet; } /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline void SetExecutionID(const Aws::String& value) { m_executionIDHasBeenSet = true; m_executionID = value; } /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline void SetExecutionID(Aws::String&& value) { m_executionIDHasBeenSet = true; m_executionID = std::move(value); } /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline void SetExecutionID(const char* value) { m_executionIDHasBeenSet = true; m_executionID.assign(value); } /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline JobPostLaunchActionsLaunchStatus& WithExecutionID(const Aws::String& value) { SetExecutionID(value); return *this;} /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline JobPostLaunchActionsLaunchStatus& WithExecutionID(Aws::String&& value) { SetExecutionID(std::move(value)); return *this;} /** *AWS Systems Manager Document's execution ID of the of the Job Post Launch * Actions.
*/ inline JobPostLaunchActionsLaunchStatus& WithExecutionID(const char* value) { SetExecutionID(value); return *this;} /** *AWS Systems Manager Document's execution status.
*/ inline const PostLaunchActionExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; } /** *AWS Systems Manager Document's execution status.
*/ inline bool ExecutionStatusHasBeenSet() const { return m_executionStatusHasBeenSet; } /** *AWS Systems Manager Document's execution status.
*/ inline void SetExecutionStatus(const PostLaunchActionExecutionStatus& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; } /** *AWS Systems Manager Document's execution status.
*/ inline void SetExecutionStatus(PostLaunchActionExecutionStatus&& value) { m_executionStatusHasBeenSet = true; m_executionStatus = std::move(value); } /** *AWS Systems Manager Document's execution status.
*/ inline JobPostLaunchActionsLaunchStatus& WithExecutionStatus(const PostLaunchActionExecutionStatus& value) { SetExecutionStatus(value); return *this;} /** *AWS Systems Manager Document's execution status.
*/ inline JobPostLaunchActionsLaunchStatus& WithExecutionStatus(PostLaunchActionExecutionStatus&& value) { SetExecutionStatus(std::move(value)); return *this;} /** *AWS Systems Manager Document's failure reason.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *AWS Systems Manager Document's failure reason.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *AWS Systems Manager Document's failure reason.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *AWS Systems Manager Document's failure reason.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *AWS Systems Manager Document's failure reason.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *AWS Systems Manager Document's failure reason.
*/ inline JobPostLaunchActionsLaunchStatus& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *AWS Systems Manager Document's failure reason.
*/ inline JobPostLaunchActionsLaunchStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *AWS Systems Manager Document's failure reason.
*/ inline JobPostLaunchActionsLaunchStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *AWS Systems Manager's Document of the of the Job Post Launch Actions.
*/ inline const SsmDocument& GetSsmDocument() const{ return m_ssmDocument; } /** *AWS Systems Manager's Document of the of the Job Post Launch Actions.
*/ inline bool SsmDocumentHasBeenSet() const { return m_ssmDocumentHasBeenSet; } /** *AWS Systems Manager's Document of the of the Job Post Launch Actions.
*/ inline void SetSsmDocument(const SsmDocument& value) { m_ssmDocumentHasBeenSet = true; m_ssmDocument = value; } /** *AWS Systems Manager's Document of the of the Job Post Launch Actions.
*/ inline void SetSsmDocument(SsmDocument&& value) { m_ssmDocumentHasBeenSet = true; m_ssmDocument = std::move(value); } /** *AWS Systems Manager's Document of the of the Job Post Launch Actions.
*/ inline JobPostLaunchActionsLaunchStatus& WithSsmDocument(const SsmDocument& value) { SetSsmDocument(value); return *this;} /** *AWS Systems Manager's Document of the of the Job Post Launch Actions.
*/ inline JobPostLaunchActionsLaunchStatus& WithSsmDocument(SsmDocument&& value) { SetSsmDocument(std::move(value)); return *this;} /** *AWS Systems Manager Document type.
*/ inline const SsmDocumentType& GetSsmDocumentType() const{ return m_ssmDocumentType; } /** *AWS Systems Manager Document type.
*/ inline bool SsmDocumentTypeHasBeenSet() const { return m_ssmDocumentTypeHasBeenSet; } /** *AWS Systems Manager Document type.
*/ inline void SetSsmDocumentType(const SsmDocumentType& value) { m_ssmDocumentTypeHasBeenSet = true; m_ssmDocumentType = value; } /** *AWS Systems Manager Document type.
*/ inline void SetSsmDocumentType(SsmDocumentType&& value) { m_ssmDocumentTypeHasBeenSet = true; m_ssmDocumentType = std::move(value); } /** *AWS Systems Manager Document type.
*/ inline JobPostLaunchActionsLaunchStatus& WithSsmDocumentType(const SsmDocumentType& value) { SetSsmDocumentType(value); return *this;} /** *AWS Systems Manager Document type.
*/ inline JobPostLaunchActionsLaunchStatus& WithSsmDocumentType(SsmDocumentType&& value) { SetSsmDocumentType(std::move(value)); return *this;} private: Aws::String m_executionID; bool m_executionIDHasBeenSet = false; PostLaunchActionExecutionStatus m_executionStatus; bool m_executionStatusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; SsmDocument m_ssmDocument; bool m_ssmDocumentHasBeenSet = false; SsmDocumentType m_ssmDocumentType; bool m_ssmDocumentTypeHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws