/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Budgets { namespace Model { class ExecuteBudgetActionResult { public: AWS_BUDGETS_API ExecuteBudgetActionResult(); AWS_BUDGETS_API ExecuteBudgetActionResult(const Aws::AmazonWebServiceResult& result); AWS_BUDGETS_API ExecuteBudgetActionResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::String& GetAccountId() const{ return m_accountId; } inline void SetAccountId(const Aws::String& value) { m_accountId = value; } inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); } inline void SetAccountId(const char* value) { m_accountId.assign(value); } inline ExecuteBudgetActionResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} inline ExecuteBudgetActionResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} inline ExecuteBudgetActionResult& WithAccountId(const char* value) { SetAccountId(value); return *this;} inline const Aws::String& GetBudgetName() const{ return m_budgetName; } inline void SetBudgetName(const Aws::String& value) { m_budgetName = value; } inline void SetBudgetName(Aws::String&& value) { m_budgetName = std::move(value); } inline void SetBudgetName(const char* value) { m_budgetName.assign(value); } inline ExecuteBudgetActionResult& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;} inline ExecuteBudgetActionResult& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;} inline ExecuteBudgetActionResult& WithBudgetName(const char* value) { SetBudgetName(value); return *this;} /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline const Aws::String& GetActionId() const{ return m_actionId; } /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline void SetActionId(const Aws::String& value) { m_actionId = value; } /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline void SetActionId(Aws::String&& value) { m_actionId = std::move(value); } /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline void SetActionId(const char* value) { m_actionId.assign(value); } /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline ExecuteBudgetActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;} /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline ExecuteBudgetActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;} /** *

A system-generated universally unique identifier (UUID) for the action.

*/ inline ExecuteBudgetActionResult& WithActionId(const char* value) { SetActionId(value); return *this;} /** *

The type of execution.

*/ inline const ExecutionType& GetExecutionType() const{ return m_executionType; } /** *

The type of execution.

*/ inline void SetExecutionType(const ExecutionType& value) { m_executionType = value; } /** *

The type of execution.

*/ inline void SetExecutionType(ExecutionType&& value) { m_executionType = std::move(value); } /** *

The type of execution.

*/ inline ExecuteBudgetActionResult& WithExecutionType(const ExecutionType& value) { SetExecutionType(value); return *this;} /** *

The type of execution.

*/ inline ExecuteBudgetActionResult& WithExecutionType(ExecutionType&& value) { SetExecutionType(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ExecuteBudgetActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ExecuteBudgetActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ExecuteBudgetActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_accountId; Aws::String m_budgetName; Aws::String m_actionId; ExecutionType m_executionType; Aws::String m_requestId; }; } // namespace Model } // namespace Budgets } // namespace Aws