7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/HostPath.h>
35 AWS_GUARDDUTY_API
Volume() =
default;
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
60 template<
typename HostPathT = HostPath>
61 void SetHostPath(HostPathT&& value) { m_hostPathHasBeenSet =
true; m_hostPath = std::forward<HostPathT>(value); }
62 template<
typename HostPathT = HostPath>
68 bool m_nameHasBeenSet =
false;
71 bool m_hostPathHasBeenSet =
false;
Volume & WithHostPath(HostPathT &&value)
bool NameHasBeenSet() const
void SetHostPath(HostPathT &&value)
bool HostPathHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
void SetName(NameT &&value)
AWS_GUARDDUTY_API Volume()=default
const HostPath & GetHostPath() const
AWS_GUARDDUTY_API Volume & operator=(Aws::Utils::Json::JsonView jsonValue)
Volume & WithName(NameT &&value)
AWS_GUARDDUTY_API Volume(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue