AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVolumeOntapConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/model/Tag.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx
23{
24namespace Model
25{
26
35 {
36 public:
41
42
44
48 inline bool GetSkipFinalBackup() const{ return m_skipFinalBackup; }
49 inline bool SkipFinalBackupHasBeenSet() const { return m_skipFinalBackupHasBeenSet; }
50 inline void SetSkipFinalBackup(bool value) { m_skipFinalBackupHasBeenSet = true; m_skipFinalBackup = value; }
51 inline DeleteVolumeOntapConfiguration& WithSkipFinalBackup(bool value) { SetSkipFinalBackup(value); return *this;}
53
55
56 inline const Aws::Vector<Tag>& GetFinalBackupTags() const{ return m_finalBackupTags; }
57 inline bool FinalBackupTagsHasBeenSet() const { return m_finalBackupTagsHasBeenSet; }
58 inline void SetFinalBackupTags(const Aws::Vector<Tag>& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = value; }
59 inline void SetFinalBackupTags(Aws::Vector<Tag>&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = std::move(value); }
62 inline DeleteVolumeOntapConfiguration& AddFinalBackupTags(const Tag& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.push_back(value); return *this; }
63 inline DeleteVolumeOntapConfiguration& AddFinalBackupTags(Tag&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.push_back(std::move(value)); return *this; }
65
67
77 inline bool GetBypassSnaplockEnterpriseRetention() const{ return m_bypassSnaplockEnterpriseRetention; }
78 inline bool BypassSnaplockEnterpriseRetentionHasBeenSet() const { return m_bypassSnaplockEnterpriseRetentionHasBeenSet; }
79 inline void SetBypassSnaplockEnterpriseRetention(bool value) { m_bypassSnaplockEnterpriseRetentionHasBeenSet = true; m_bypassSnaplockEnterpriseRetention = value; }
82 private:
83
84 bool m_skipFinalBackup;
85 bool m_skipFinalBackupHasBeenSet = false;
86
87 Aws::Vector<Tag> m_finalBackupTags;
88 bool m_finalBackupTagsHasBeenSet = false;
89
90 bool m_bypassSnaplockEnterpriseRetention;
91 bool m_bypassSnaplockEnterpriseRetentionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FSx
96} // namespace Aws
AWS_FSX_API DeleteVolumeOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteVolumeOntapConfiguration & AddFinalBackupTags(const Tag &value)
DeleteVolumeOntapConfiguration & WithSkipFinalBackup(bool value)
DeleteVolumeOntapConfiguration & WithFinalBackupTags(Aws::Vector< Tag > &&value)
DeleteVolumeOntapConfiguration & WithFinalBackupTags(const Aws::Vector< Tag > &value)
DeleteVolumeOntapConfiguration & WithBypassSnaplockEnterpriseRetention(bool value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
DeleteVolumeOntapConfiguration & AddFinalBackupTags(Tag &&value)
AWS_FSX_API DeleteVolumeOntapConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue