7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehub/model/PermissionModelType.h>
23namespace ResilienceHub
80 inline void SetInvokerRoleName(
const char* value) { m_invokerRoleNameHasBeenSet =
true; m_invokerRoleName.assign(value); }
102 bool m_crossAccountRoleArnsHasBeenSet =
false;
105 bool m_invokerRoleNameHasBeenSet =
false;
108 bool m_typeHasBeenSet =
false;
PermissionModel & WithType(PermissionModelType &&value)
bool CrossAccountRoleArnsHasBeenSet() const
AWS_RESILIENCEHUB_API PermissionModel(Aws::Utils::Json::JsonView jsonValue)
PermissionModel & AddCrossAccountRoleArns(Aws::String &&value)
PermissionModel & WithInvokerRoleName(const char *value)
PermissionModel & WithCrossAccountRoleArns(const Aws::Vector< Aws::String > &value)
void SetInvokerRoleName(const Aws::String &value)
AWS_RESILIENCEHUB_API PermissionModel()
PermissionModel & WithInvokerRoleName(Aws::String &&value)
const PermissionModelType & GetType() const
void SetCrossAccountRoleArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetInvokerRoleName() const
void SetType(const PermissionModelType &value)
AWS_RESILIENCEHUB_API PermissionModel & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionModel & AddCrossAccountRoleArns(const Aws::String &value)
void SetInvokerRoleName(const char *value)
PermissionModel & WithType(const PermissionModelType &value)
PermissionModel & AddCrossAccountRoleArns(const char *value)
PermissionModel & WithInvokerRoleName(const Aws::String &value)
void SetCrossAccountRoleArns(Aws::Vector< Aws::String > &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInvokerRoleName(Aws::String &&value)
bool InvokerRoleNameHasBeenSet() const
PermissionModel & WithCrossAccountRoleArns(Aws::Vector< Aws::String > &&value)
void SetType(PermissionModelType &&value)
const Aws::Vector< Aws::String > & GetCrossAccountRoleArns() const
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue