7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/backup/model/BackupPlanInput.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/UUID.h>
45 template<
typename BackupPlanT = BackupPlanInput>
46 void SetBackupPlan(BackupPlanT&& value) { m_backupPlanHasBeenSet =
true; m_backupPlan = std::forward<BackupPlanT>(value); }
47 template<
typename BackupPlanT = BackupPlanInput>
57 template<
typename BackupPlanTagsT = Aws::Map<Aws::String, Aws::String>>
58 void SetBackupPlanTags(BackupPlanTagsT&& value) { m_backupPlanTagsHasBeenSet =
true; m_backupPlanTags = std::forward<BackupPlanTagsT>(value); }
59 template<
typename BackupPlanTagsT = Aws::Map<Aws::String, Aws::String>>
61 template<
typename BackupPlanTagsKeyT = Aws::String,
typename BackupPlanTagsValueT = Aws::String>
63 m_backupPlanTagsHasBeenSet =
true; m_backupPlanTags.emplace(std::forward<BackupPlanTagsKeyT>(key), std::forward<BackupPlanTagsValueT>(value));
return *
this;
77 template<
typename CreatorRequestIdT = Aws::String>
78 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
79 template<
typename CreatorRequestIdT = Aws::String>
85 bool m_backupPlanHasBeenSet =
false;
88 bool m_backupPlanTagsHasBeenSet =
false;
91 bool m_creatorRequestIdHasBeenSet =
true;
virtual const char * GetServiceRequestName() const override
AWS_BACKUP_API CreateBackupPlanRequest()=default
const BackupPlanInput & GetBackupPlan() const
const Aws::String & GetCreatorRequestId() const
void SetBackupPlanTags(BackupPlanTagsT &&value)
bool CreatorRequestIdHasBeenSet() const
CreateBackupPlanRequest & WithCreatorRequestId(CreatorRequestIdT &&value)
bool BackupPlanTagsHasBeenSet() const
AWS_BACKUP_API Aws::String SerializePayload() const override
void SetCreatorRequestId(CreatorRequestIdT &&value)
CreateBackupPlanRequest & WithBackupPlan(BackupPlanT &&value)
CreateBackupPlanRequest & AddBackupPlanTags(BackupPlanTagsKeyT &&key, BackupPlanTagsValueT &&value)
CreateBackupPlanRequest & WithBackupPlanTags(BackupPlanTagsT &&value)
bool BackupPlanHasBeenSet() const
void SetBackupPlan(BackupPlanT &&value)
const Aws::Map< Aws::String, Aws::String > & GetBackupPlanTags() const
static Aws::Utils::UUID PseudoRandomUUID()
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