7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workmail/model/FolderConfiguration.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
44 template<
typename IdT = Aws::String>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
75 template<
typename FolderConfigurationsT = Aws::Vector<FolderConfiguration>>
76 void SetFolderConfigurations(FolderConfigurationsT&& value) { m_folderConfigurationsHasBeenSet =
true; m_folderConfigurations = std::forward<FolderConfigurationsT>(value); }
77 template<
typename FolderConfigurationsT = Aws::Vector<FolderConfiguration>>
79 template<
typename FolderConfigurationsT = FolderConfiguration>
86 template<
typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
88 template<
typename RequestIdT = Aws::String>
94 bool m_idHasBeenSet =
false;
97 bool m_nameHasBeenSet =
false;
100 bool m_descriptionHasBeenSet =
false;
103 bool m_folderConfigurationsHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
GetDefaultRetentionPolicyResult & WithDescription(DescriptionT &&value)
GetDefaultRetentionPolicyResult & WithId(IdT &&value)
GetDefaultRetentionPolicyResult & WithName(NameT &&value)
const Aws::Vector< FolderConfiguration > & GetFolderConfigurations() const
void SetName(NameT &&value)
AWS_WORKMAIL_API GetDefaultRetentionPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetDefaultRetentionPolicyResult & AddFolderConfigurations(FolderConfigurationsT &&value)
AWS_WORKMAIL_API GetDefaultRetentionPolicyResult()=default
GetDefaultRetentionPolicyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetId() const
GetDefaultRetentionPolicyResult & WithFolderConfigurations(FolderConfigurationsT &&value)
void SetFolderConfigurations(FolderConfigurationsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
AWS_WORKMAIL_API GetDefaultRetentionPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue