7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/Identity.h>
11#include <aws/iotsitewise/model/Resource.h>
12#include <aws/iotsitewise/model/Permission.h>
14#include <aws/core/utils/UUID.h>
47 inline void SetAccessPolicyId(
const char* value) { m_accessPolicyIdHasBeenSet =
true; m_accessPolicyId.assign(value); }
102 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
110 bool m_accessPolicyIdHasBeenSet =
false;
113 bool m_accessPolicyIdentityHasBeenSet =
false;
116 bool m_accessPolicyResourceHasBeenSet =
false;
119 bool m_accessPolicyPermissionHasBeenSet =
false;
122 bool m_clientTokenHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Identity & GetAccessPolicyIdentity() const
void SetAccessPolicyPermission(Permission &&value)
void SetAccessPolicyId(const Aws::String &value)
const Permission & GetAccessPolicyPermission() const
const Resource & GetAccessPolicyResource() const
UpdateAccessPolicyRequest & WithAccessPolicyResource(Resource &&value)
UpdateAccessPolicyRequest & WithClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
UpdateAccessPolicyRequest & WithAccessPolicyIdentity(const Identity &value)
bool AccessPolicyResourceHasBeenSet() const
UpdateAccessPolicyRequest & WithClientToken(Aws::String &&value)
bool AccessPolicyIdHasBeenSet() const
void SetAccessPolicyId(const char *value)
UpdateAccessPolicyRequest & WithAccessPolicyId(Aws::String &&value)
void SetAccessPolicyIdentity(const Identity &value)
const Aws::String & GetClientToken() const
UpdateAccessPolicyRequest & WithAccessPolicyId(const Aws::String &value)
UpdateAccessPolicyRequest & WithAccessPolicyResource(const Resource &value)
void SetAccessPolicyIdentity(Identity &&value)
bool AccessPolicyPermissionHasBeenSet() const
void SetClientToken(const Aws::String &value)
const Aws::String & GetAccessPolicyId() const
void SetAccessPolicyResource(Resource &&value)
void SetClientToken(const char *value)
bool ClientTokenHasBeenSet() const
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
UpdateAccessPolicyRequest & WithAccessPolicyPermission(Permission &&value)
UpdateAccessPolicyRequest & WithClientToken(const char *value)
void SetAccessPolicyResource(const Resource &value)
AWS_IOTSITEWISE_API UpdateAccessPolicyRequest()
UpdateAccessPolicyRequest & WithAccessPolicyPermission(const Permission &value)
void SetAccessPolicyId(Aws::String &&value)
UpdateAccessPolicyRequest & WithAccessPolicyId(const char *value)
UpdateAccessPolicyRequest & WithAccessPolicyIdentity(Identity &&value)
void SetAccessPolicyPermission(const Permission &value)
bool AccessPolicyIdentityHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String