/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about an Amazon Web Service that performed an action on
* an affected resource.See Also:
AWS
* API Reference
The name of the Amazon Web Service that performed the action.
*/ inline const Aws::String& GetInvokedBy() const{ return m_invokedBy; } /** *The name of the Amazon Web Service that performed the action.
*/ inline bool InvokedByHasBeenSet() const { return m_invokedByHasBeenSet; } /** *The name of the Amazon Web Service that performed the action.
*/ inline void SetInvokedBy(const Aws::String& value) { m_invokedByHasBeenSet = true; m_invokedBy = value; } /** *The name of the Amazon Web Service that performed the action.
*/ inline void SetInvokedBy(Aws::String&& value) { m_invokedByHasBeenSet = true; m_invokedBy = std::move(value); } /** *The name of the Amazon Web Service that performed the action.
*/ inline void SetInvokedBy(const char* value) { m_invokedByHasBeenSet = true; m_invokedBy.assign(value); } /** *The name of the Amazon Web Service that performed the action.
*/ inline AwsService& WithInvokedBy(const Aws::String& value) { SetInvokedBy(value); return *this;} /** *The name of the Amazon Web Service that performed the action.
*/ inline AwsService& WithInvokedBy(Aws::String&& value) { SetInvokedBy(std::move(value)); return *this;} /** *The name of the Amazon Web Service that performed the action.
*/ inline AwsService& WithInvokedBy(const char* value) { SetInvokedBy(value); return *this;} private: Aws::String m_invokedBy; bool m_invokedByHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws