7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/DocumentPermissionType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
47 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
110 inline void SetSharedDocumentVersion(
const char* value) { m_sharedDocumentVersionHasBeenSet =
true; m_sharedDocumentVersion.assign(value); }
118 bool m_nameHasBeenSet =
false;
121 bool m_permissionTypeHasBeenSet =
false;
124 bool m_accountIdsToAddHasBeenSet =
false;
127 bool m_accountIdsToRemoveHasBeenSet =
false;
130 bool m_sharedDocumentVersionHasBeenSet =
false;
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSharedDocumentVersion(const char *value)
bool AccountIdsToAddHasBeenSet() const
bool PermissionTypeHasBeenSet() const
ModifyDocumentPermissionRequest & WithAccountIdsToRemove(const Aws::Vector< Aws::String > &value)
void SetPermissionType(const DocumentPermissionType &value)
ModifyDocumentPermissionRequest & WithName(const Aws::String &value)
void SetSharedDocumentVersion(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAccountIdsToAdd() const
ModifyDocumentPermissionRequest & WithSharedDocumentVersion(const char *value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetPermissionType(DocumentPermissionType &&value)
virtual const char * GetServiceRequestName() const override
bool NameHasBeenSet() const
void SetSharedDocumentVersion(const Aws::String &value)
const Aws::String & GetName() const
bool AccountIdsToRemoveHasBeenSet() const
void SetName(const Aws::String &value)
ModifyDocumentPermissionRequest & AddAccountIdsToAdd(Aws::String &&value)
void SetName(Aws::String &&value)
ModifyDocumentPermissionRequest & AddAccountIdsToAdd(const char *value)
const Aws::Vector< Aws::String > & GetAccountIdsToRemove() const
ModifyDocumentPermissionRequest & AddAccountIdsToRemove(Aws::String &&value)
void SetName(const char *value)
bool SharedDocumentVersionHasBeenSet() const
ModifyDocumentPermissionRequest & AddAccountIdsToRemove(const Aws::String &value)
void SetAccountIdsToAdd(Aws::Vector< Aws::String > &&value)
AWS_SSM_API ModifyDocumentPermissionRequest()
ModifyDocumentPermissionRequest & WithAccountIdsToRemove(Aws::Vector< Aws::String > &&value)
void SetAccountIdsToRemove(const Aws::Vector< Aws::String > &value)
void SetAccountIdsToRemove(Aws::Vector< Aws::String > &&value)
const DocumentPermissionType & GetPermissionType() const
const Aws::String & GetSharedDocumentVersion() const
ModifyDocumentPermissionRequest & WithAccountIdsToAdd(Aws::Vector< Aws::String > &&value)
ModifyDocumentPermissionRequest & WithAccountIdsToAdd(const Aws::Vector< Aws::String > &value)
ModifyDocumentPermissionRequest & AddAccountIdsToAdd(const Aws::String &value)
ModifyDocumentPermissionRequest & WithSharedDocumentVersion(Aws::String &&value)
ModifyDocumentPermissionRequest & WithPermissionType(DocumentPermissionType &&value)
ModifyDocumentPermissionRequest & WithName(const char *value)
ModifyDocumentPermissionRequest & WithSharedDocumentVersion(const Aws::String &value)
ModifyDocumentPermissionRequest & WithName(Aws::String &&value)
ModifyDocumentPermissionRequest & AddAccountIdsToRemove(const char *value)
void SetAccountIdsToAdd(const Aws::Vector< Aws::String > &value)
ModifyDocumentPermissionRequest & WithPermissionType(const DocumentPermissionType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector