7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Operation.h>
9#include <aws/inspector2/model/Service.h>
61 inline void SetService(
const Service& value) { m_serviceHasBeenSet =
true; m_service = value; }
62 inline void SetService(
Service&& value) { m_serviceHasBeenSet =
true; m_service = std::move(value); }
69 bool m_operationHasBeenSet =
false;
72 bool m_serviceHasBeenSet =
false;
AWS_INSPECTOR2_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Service & GetService() const
Permission & WithOperation(const Operation &value)
bool OperationHasBeenSet() const
void SetOperation(Operation &&value)
void SetOperation(const Operation &value)
AWS_INSPECTOR2_API Permission(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Permission()
const Operation & GetOperation() const
Permission & WithService(const Service &value)
Permission & WithService(Service &&value)
void SetService(Service &&value)
Permission & WithOperation(Operation &&value)
bool ServiceHasBeenSet() const
void SetService(const Service &value)
Aws::Utils::Json::JsonValue JsonValue