AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Parameters.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dlm/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 DLM
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_DLM_API Parameters() = default;
45 AWS_DLM_API Parameters(Aws::Utils::Json::JsonView jsonValue);
48
49
51
58 inline bool GetExcludeBootVolume() const { return m_excludeBootVolume; }
59 inline bool ExcludeBootVolumeHasBeenSet() const { return m_excludeBootVolumeHasBeenSet; }
60 inline void SetExcludeBootVolume(bool value) { m_excludeBootVolumeHasBeenSet = true; m_excludeBootVolume = value; }
61 inline Parameters& WithExcludeBootVolume(bool value) { SetExcludeBootVolume(value); return *this;}
63
65
72 inline bool GetNoReboot() const { return m_noReboot; }
73 inline bool NoRebootHasBeenSet() const { return m_noRebootHasBeenSet; }
74 inline void SetNoReboot(bool value) { m_noRebootHasBeenSet = true; m_noReboot = value; }
75 inline Parameters& WithNoReboot(bool value) { SetNoReboot(value); return *this;}
77
79
87 inline const Aws::Vector<Tag>& GetExcludeDataVolumeTags() const { return m_excludeDataVolumeTags; }
88 inline bool ExcludeDataVolumeTagsHasBeenSet() const { return m_excludeDataVolumeTagsHasBeenSet; }
89 template<typename ExcludeDataVolumeTagsT = Aws::Vector<Tag>>
90 void SetExcludeDataVolumeTags(ExcludeDataVolumeTagsT&& value) { m_excludeDataVolumeTagsHasBeenSet = true; m_excludeDataVolumeTags = std::forward<ExcludeDataVolumeTagsT>(value); }
91 template<typename ExcludeDataVolumeTagsT = Aws::Vector<Tag>>
92 Parameters& WithExcludeDataVolumeTags(ExcludeDataVolumeTagsT&& value) { SetExcludeDataVolumeTags(std::forward<ExcludeDataVolumeTagsT>(value)); return *this;}
93 template<typename ExcludeDataVolumeTagsT = Tag>
94 Parameters& AddExcludeDataVolumeTags(ExcludeDataVolumeTagsT&& value) { m_excludeDataVolumeTagsHasBeenSet = true; m_excludeDataVolumeTags.emplace_back(std::forward<ExcludeDataVolumeTagsT>(value)); return *this; }
96 private:
97
98 bool m_excludeBootVolume{false};
99 bool m_excludeBootVolumeHasBeenSet = false;
100
101 bool m_noReboot{false};
102 bool m_noRebootHasBeenSet = false;
103
104 Aws::Vector<Tag> m_excludeDataVolumeTags;
105 bool m_excludeDataVolumeTagsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace DLM
110} // namespace Aws
bool ExcludeDataVolumeTagsHasBeenSet() const
Definition Parameters.h:88
Parameters & WithExcludeBootVolume(bool value)
Definition Parameters.h:61
AWS_DLM_API Parameters()=default
Parameters & WithNoReboot(bool value)
Definition Parameters.h:75
bool NoRebootHasBeenSet() const
Definition Parameters.h:73
void SetNoReboot(bool value)
Definition Parameters.h:74
bool ExcludeBootVolumeHasBeenSet() const
Definition Parameters.h:59
void SetExcludeDataVolumeTags(ExcludeDataVolumeTagsT &&value)
Definition Parameters.h:90
const Aws::Vector< Tag > & GetExcludeDataVolumeTags() const
Definition Parameters.h:87
Parameters & AddExcludeDataVolumeTags(ExcludeDataVolumeTagsT &&value)
Definition Parameters.h:94
AWS_DLM_API Parameters(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DLM_API Parameters & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetExcludeBootVolume() const
Definition Parameters.h:58
Parameters & WithExcludeDataVolumeTags(ExcludeDataVolumeTagsT &&value)
Definition Parameters.h:92
void SetExcludeBootVolume(bool value)
Definition Parameters.h:60
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue