AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VolumeDetail.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GUARDDUTY_API VolumeDetail();
35 AWS_GUARDDUTY_API VolumeDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_API VolumeDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetVolumeArn() const{ return m_volumeArn; }
45 inline bool VolumeArnHasBeenSet() const { return m_volumeArnHasBeenSet; }
46 inline void SetVolumeArn(const Aws::String& value) { m_volumeArnHasBeenSet = true; m_volumeArn = value; }
47 inline void SetVolumeArn(Aws::String&& value) { m_volumeArnHasBeenSet = true; m_volumeArn = std::move(value); }
48 inline void SetVolumeArn(const char* value) { m_volumeArnHasBeenSet = true; m_volumeArn.assign(value); }
49 inline VolumeDetail& WithVolumeArn(const Aws::String& value) { SetVolumeArn(value); return *this;}
50 inline VolumeDetail& WithVolumeArn(Aws::String&& value) { SetVolumeArn(std::move(value)); return *this;}
51 inline VolumeDetail& WithVolumeArn(const char* value) { SetVolumeArn(value); return *this;}
53
55
58 inline const Aws::String& GetVolumeType() const{ return m_volumeType; }
59 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
60 inline void SetVolumeType(const Aws::String& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
61 inline void SetVolumeType(Aws::String&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); }
62 inline void SetVolumeType(const char* value) { m_volumeTypeHasBeenSet = true; m_volumeType.assign(value); }
63 inline VolumeDetail& WithVolumeType(const Aws::String& value) { SetVolumeType(value); return *this;}
64 inline VolumeDetail& WithVolumeType(Aws::String&& value) { SetVolumeType(std::move(value)); return *this;}
65 inline VolumeDetail& WithVolumeType(const char* value) { SetVolumeType(value); return *this;}
67
69
72 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
73 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
74 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
75 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
76 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
77 inline VolumeDetail& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
78 inline VolumeDetail& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
79 inline VolumeDetail& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
81
83
86 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
87 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
88 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
89 inline VolumeDetail& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
91
93
96 inline const Aws::String& GetEncryptionType() const{ return m_encryptionType; }
97 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
98 inline void SetEncryptionType(const Aws::String& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
99 inline void SetEncryptionType(Aws::String&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
100 inline void SetEncryptionType(const char* value) { m_encryptionTypeHasBeenSet = true; m_encryptionType.assign(value); }
101 inline VolumeDetail& WithEncryptionType(const Aws::String& value) { SetEncryptionType(value); return *this;}
102 inline VolumeDetail& WithEncryptionType(Aws::String&& value) { SetEncryptionType(std::move(value)); return *this;}
103 inline VolumeDetail& WithEncryptionType(const char* value) { SetEncryptionType(value); return *this;}
105
107
110 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
111 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
112 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
113 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
114 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
115 inline VolumeDetail& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;}
116 inline VolumeDetail& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
117 inline VolumeDetail& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
119
121
124 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
125 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
126 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
127 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
128 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
129 inline VolumeDetail& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
130 inline VolumeDetail& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
131 inline VolumeDetail& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
133 private:
134
135 Aws::String m_volumeArn;
136 bool m_volumeArnHasBeenSet = false;
137
138 Aws::String m_volumeType;
139 bool m_volumeTypeHasBeenSet = false;
140
141 Aws::String m_deviceName;
142 bool m_deviceNameHasBeenSet = false;
143
144 int m_volumeSizeInGB;
145 bool m_volumeSizeInGBHasBeenSet = false;
146
147 Aws::String m_encryptionType;
148 bool m_encryptionTypeHasBeenSet = false;
149
150 Aws::String m_snapshotArn;
151 bool m_snapshotArnHasBeenSet = false;
152
153 Aws::String m_kmsKeyArn;
154 bool m_kmsKeyArnHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace GuardDuty
159} // namespace Aws
VolumeDetail & WithVolumeType(const char *value)
void SetVolumeType(const char *value)
void SetEncryptionType(Aws::String &&value)
void SetDeviceName(const Aws::String &value)
const Aws::String & GetDeviceName() const
AWS_GUARDDUTY_API VolumeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVolumeType(Aws::String &&value)
VolumeDetail & WithSnapshotArn(const Aws::String &value)
VolumeDetail & WithEncryptionType(Aws::String &&value)
VolumeDetail & WithVolumeArn(Aws::String &&value)
void SetEncryptionType(const char *value)
void SetVolumeArn(Aws::String &&value)
VolumeDetail & WithDeviceName(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
VolumeDetail & WithSnapshotArn(Aws::String &&value)
void SetKmsKeyArn(Aws::String &&value)
AWS_GUARDDUTY_API VolumeDetail(Aws::Utils::Json::JsonView jsonValue)
VolumeDetail & WithVolumeType(const Aws::String &value)
void SetKmsKeyArn(const Aws::String &value)
void SetSnapshotArn(Aws::String &&value)
const Aws::String & GetEncryptionType() const
VolumeDetail & WithVolumeType(Aws::String &&value)
void SetKmsKeyArn(const char *value)
VolumeDetail & WithKmsKeyArn(const Aws::String &value)
VolumeDetail & WithVolumeArn(const char *value)
void SetSnapshotArn(const Aws::String &value)
VolumeDetail & WithKmsKeyArn(Aws::String &&value)
VolumeDetail & WithKmsKeyArn(const char *value)
void SetVolumeType(const Aws::String &value)
void SetEncryptionType(const Aws::String &value)
const Aws::String & GetKmsKeyArn() const
VolumeDetail & WithDeviceName(const Aws::String &value)
const Aws::String & GetSnapshotArn() const
VolumeDetail & WithVolumeArn(const Aws::String &value)
void SetDeviceName(const char *value)
VolumeDetail & WithDeviceName(Aws::String &&value)
const Aws::String & GetVolumeType() const
VolumeDetail & WithEncryptionType(const Aws::String &value)
const Aws::String & GetVolumeArn() const
void SetVolumeArn(const char *value)
void SetSnapshotArn(const char *value)
VolumeDetail & WithEncryptionType(const char *value)
VolumeDetail & WithSnapshotArn(const char *value)
void SetDeviceName(Aws::String &&value)
void SetVolumeArn(const Aws::String &value)
VolumeDetail & WithVolumeSizeInGB(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue