AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExcludeDataVolumeTags(const Aws::Vector<Tag>& value) { m_excludeDataVolumeTagsHasBeenSet = true; m_excludeDataVolumeTags = value; }
90 inline void SetExcludeDataVolumeTags(Aws::Vector<Tag>&& value) { m_excludeDataVolumeTagsHasBeenSet = true; m_excludeDataVolumeTags = std::move(value); }
92 inline Parameters& WithExcludeDataVolumeTags(Aws::Vector<Tag>&& value) { SetExcludeDataVolumeTags(std::move(value)); return *this;}
93 inline Parameters& AddExcludeDataVolumeTags(const Tag& value) { m_excludeDataVolumeTagsHasBeenSet = true; m_excludeDataVolumeTags.push_back(value); return *this; }
94 inline Parameters& AddExcludeDataVolumeTags(Tag&& value) { m_excludeDataVolumeTagsHasBeenSet = true; m_excludeDataVolumeTags.push_back(std::move(value)); return *this; }
96 private:
97
98 bool m_excludeBootVolume;
99 bool m_excludeBootVolumeHasBeenSet = false;
100
101 bool m_noReboot;
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
void SetExcludeDataVolumeTags(Aws::Vector< Tag > &&value)
Definition Parameters.h:90
bool ExcludeDataVolumeTagsHasBeenSet() const
Definition Parameters.h:88
Parameters & WithExcludeBootVolume(bool value)
Definition Parameters.h:61
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(const Aws::Vector< Tag > &value)
Definition Parameters.h:89
Parameters & WithExcludeDataVolumeTags(const Aws::Vector< Tag > &value)
Definition Parameters.h:91
const Aws::Vector< Tag > & GetExcludeDataVolumeTags() const
Definition Parameters.h:87
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)
Parameters & AddExcludeDataVolumeTags(Tag &&value)
Definition Parameters.h:94
bool GetExcludeBootVolume() const
Definition Parameters.h:58
Parameters & AddExcludeDataVolumeTags(const Tag &value)
Definition Parameters.h:93
void SetExcludeBootVolume(bool value)
Definition Parameters.h:60
Parameters & WithExcludeDataVolumeTags(Aws::Vector< Tag > &&value)
Definition Parameters.h:92
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue