7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/iotsitewise/model/Identity.h>
10#include <aws/iotsitewise/model/Resource.h>
11#include <aws/iotsitewise/model/Permission.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
89 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
119 bool m_accessPolicyIdentityHasBeenSet =
false;
122 bool m_accessPolicyResourceHasBeenSet =
false;
125 bool m_accessPolicyPermissionHasBeenSet =
false;
128 bool m_clientTokenHasBeenSet =
false;
131 bool m_tagsHasBeenSet =
false;
CreateAccessPolicyRequest & AddTags(const char *key, Aws::String &&value)
bool ClientTokenHasBeenSet() const
void SetAccessPolicyPermission(Permission &&value)
virtual const char * GetServiceRequestName() const override
bool AccessPolicyResourceHasBeenSet() const
void SetClientToken(Aws::String &&value)
CreateAccessPolicyRequest & WithAccessPolicyResource(Resource &&value)
const Aws::String & GetClientToken() const
CreateAccessPolicyRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAccessPolicyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool AccessPolicyPermissionHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetAccessPolicyIdentity(const Identity &value)
bool TagsHasBeenSet() const
void SetAccessPolicyResource(const Resource &value)
const Identity & GetAccessPolicyIdentity() const
CreateAccessPolicyRequest & WithClientToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool AccessPolicyIdentityHasBeenSet() const
CreateAccessPolicyRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAccessPolicyRequest & WithClientToken(Aws::String &&value)
const Permission & GetAccessPolicyPermission() const
void SetAccessPolicyIdentity(Identity &&value)
CreateAccessPolicyRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAccessPolicyRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetAccessPolicyResource(Resource &&value)
CreateAccessPolicyRequest & WithClientToken(const char *value)
const Resource & GetAccessPolicyResource() const
CreateAccessPolicyRequest & AddTags(Aws::String &&key, const char *value)
void SetClientToken(const char *value)
CreateAccessPolicyRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAccessPolicyRequest & WithAccessPolicyIdentity(Identity &&value)
CreateAccessPolicyRequest & WithAccessPolicyPermission(Permission &&value)
CreateAccessPolicyRequest & WithAccessPolicyIdentity(const Identity &value)
CreateAccessPolicyRequest & WithAccessPolicyResource(const Resource &value)
void SetAccessPolicyPermission(const Permission &value)
AWS_IOTSITEWISE_API CreateAccessPolicyRequest()
CreateAccessPolicyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAccessPolicyRequest & WithAccessPolicyPermission(const Permission &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String