/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A collection of authorization information.See Also:
AWS API
* Reference
The type of action for which the principal is being authorized.
*/ inline const ActionType& GetActionType() const{ return m_actionType; } /** *The type of action for which the principal is being authorized.
*/ inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } /** *The type of action for which the principal is being authorized.
*/ inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; } /** *The type of action for which the principal is being authorized.
*/ inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); } /** *The type of action for which the principal is being authorized.
*/ inline AuthInfo& WithActionType(const ActionType& value) { SetActionType(value); return *this;} /** *The type of action for which the principal is being authorized.
*/ inline AuthInfo& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;} /** *The resources for which the principal is being authorized to perform the * specified action.
*/ inline const Aws::VectorThe resources for which the principal is being authorized to perform the * specified action.
*/ inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } /** *The resources for which the principal is being authorized to perform the * specified action.
*/ inline void SetResources(const Aws::VectorThe resources for which the principal is being authorized to perform the * specified action.
*/ inline void SetResources(Aws::VectorThe resources for which the principal is being authorized to perform the * specified action.
*/ inline AuthInfo& WithResources(const Aws::VectorThe resources for which the principal is being authorized to perform the * specified action.
*/ inline AuthInfo& WithResources(Aws::VectorThe resources for which the principal is being authorized to perform the * specified action.
*/ inline AuthInfo& AddResources(const Aws::String& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; } /** *The resources for which the principal is being authorized to perform the * specified action.
*/ inline AuthInfo& AddResources(Aws::String&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; } /** *The resources for which the principal is being authorized to perform the * specified action.
*/ inline AuthInfo& AddResources(const char* value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; } private: ActionType m_actionType; bool m_actionTypeHasBeenSet = false; Aws::Vector