AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteFileSystemLustreConfiguration.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:
37 AWS_FSX_API DeleteFileSystemLustreConfiguration() = default;
41
42
44
53 inline bool GetSkipFinalBackup() const { return m_skipFinalBackup; }
54 inline bool SkipFinalBackupHasBeenSet() const { return m_skipFinalBackupHasBeenSet; }
55 inline void SetSkipFinalBackup(bool value) { m_skipFinalBackupHasBeenSet = true; m_skipFinalBackup = value; }
58
60
67 inline const Aws::Vector<Tag>& GetFinalBackupTags() const { return m_finalBackupTags; }
68 inline bool FinalBackupTagsHasBeenSet() const { return m_finalBackupTagsHasBeenSet; }
69 template<typename FinalBackupTagsT = Aws::Vector<Tag>>
70 void SetFinalBackupTags(FinalBackupTagsT&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = std::forward<FinalBackupTagsT>(value); }
71 template<typename FinalBackupTagsT = Aws::Vector<Tag>>
72 DeleteFileSystemLustreConfiguration& WithFinalBackupTags(FinalBackupTagsT&& value) { SetFinalBackupTags(std::forward<FinalBackupTagsT>(value)); return *this;}
73 template<typename FinalBackupTagsT = Tag>
74 DeleteFileSystemLustreConfiguration& AddFinalBackupTags(FinalBackupTagsT&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.emplace_back(std::forward<FinalBackupTagsT>(value)); return *this; }
76 private:
77
78 bool m_skipFinalBackup{false};
79 bool m_skipFinalBackupHasBeenSet = false;
80
81 Aws::Vector<Tag> m_finalBackupTags;
82 bool m_finalBackupTagsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace FSx
87} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API DeleteFileSystemLustreConfiguration(Aws::Utils::Json::JsonView jsonValue)
DeleteFileSystemLustreConfiguration & WithSkipFinalBackup(bool value)
DeleteFileSystemLustreConfiguration & WithFinalBackupTags(FinalBackupTagsT &&value)
AWS_FSX_API DeleteFileSystemLustreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteFileSystemLustreConfiguration & AddFinalBackupTags(FinalBackupTagsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue