7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workmail/model/FolderConfiguration.h>
47 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
60 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
61 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
75 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
111 bool m_organizationIdHasBeenSet =
false;
114 bool m_idHasBeenSet =
false;
117 bool m_nameHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
123 bool m_folderConfigurationsHasBeenSet =
false;
PutRetentionPolicyRequest & WithName(const Aws::String &value)
PutRetentionPolicyRequest & WithId(Aws::String &&value)
PutRetentionPolicyRequest & WithFolderConfigurations(Aws::Vector< FolderConfiguration > &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
void SetFolderConfigurations(Aws::Vector< FolderConfiguration > &&value)
PutRetentionPolicyRequest & WithOrganizationId(const char *value)
const Aws::String & GetDescription() const
PutRetentionPolicyRequest & WithName(const char *value)
void SetDescription(const char *value)
void SetId(Aws::String &&value)
void SetOrganizationId(Aws::String &&value)
const Aws::String & GetName() const
const Aws::String & GetId() const
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
bool IdHasBeenSet() const
PutRetentionPolicyRequest & WithDescription(Aws::String &&value)
void SetId(const Aws::String &value)
PutRetentionPolicyRequest & WithDescription(const char *value)
bool OrganizationIdHasBeenSet() const
void SetId(const char *value)
void SetName(const char *value)
PutRetentionPolicyRequest & WithOrganizationId(const Aws::String &value)
void SetOrganizationId(const Aws::String &value)
PutRetentionPolicyRequest & WithDescription(const Aws::String &value)
PutRetentionPolicyRequest & WithFolderConfigurations(const Aws::Vector< FolderConfiguration > &value)
void SetOrganizationId(const char *value)
const Aws::String & GetOrganizationId() const
void SetFolderConfigurations(const Aws::Vector< FolderConfiguration > &value)
const Aws::Vector< FolderConfiguration > & GetFolderConfigurations() const
void SetName(Aws::String &&value)
bool FolderConfigurationsHasBeenSet() const
PutRetentionPolicyRequest & AddFolderConfigurations(FolderConfiguration &&value)
void SetDescription(Aws::String &&value)
AWS_WORKMAIL_API PutRetentionPolicyRequest()
PutRetentionPolicyRequest & WithId(const char *value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutRetentionPolicyRequest & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
PutRetentionPolicyRequest & WithId(const Aws::String &value)
PutRetentionPolicyRequest & WithOrganizationId(Aws::String &&value)
PutRetentionPolicyRequest & AddFolderConfigurations(const FolderConfiguration &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