7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace NetworkManager
43 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
57 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
65 bool m_policyDocumentHasBeenSet =
false;
68 bool m_resourceArnHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
PutResourcePolicyRequest & WithResourceArn(const char *value)
void SetResourceArn(const char *value)
void SetResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
void SetPolicyDocument(const char *value)
void SetPolicyDocument(const Aws::String &value)
PutResourcePolicyRequest & WithPolicyDocument(const char *value)
const Aws::String & GetPolicyDocument() const
AWS_NETWORKMANAGER_API PutResourcePolicyRequest()
void SetResourceArn(Aws::String &&value)
void SetPolicyDocument(Aws::String &&value)
bool PolicyDocumentHasBeenSet() const
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
PutResourcePolicyRequest & WithPolicyDocument(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
PutResourcePolicyRequest & WithPolicyDocument(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String