AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
StorageConfiguration.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/FsxOntapConfiguration.h>
9#include <aws/mgn/model/StorageType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace mgn {
21namespace Model {
22
29 public:
30 AWS_MGN_API StorageConfiguration() = default;
34
36
39 inline StorageType GetStorageType() const { return m_storageType; }
40 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
41 inline void SetStorageType(StorageType value) {
42 m_storageTypeHasBeenSet = true;
43 m_storageType = value;
44 }
46 SetStorageType(value);
47 return *this;
48 }
50
52
55 inline const FsxOntapConfiguration& GetFsxOntapConfiguration() const { return m_fsxOntapConfiguration; }
56 inline bool FsxOntapConfigurationHasBeenSet() const { return m_fsxOntapConfigurationHasBeenSet; }
57 template <typename FsxOntapConfigurationT = FsxOntapConfiguration>
58 void SetFsxOntapConfiguration(FsxOntapConfigurationT&& value) {
59 m_fsxOntapConfigurationHasBeenSet = true;
60 m_fsxOntapConfiguration = std::forward<FsxOntapConfigurationT>(value);
61 }
62 template <typename FsxOntapConfigurationT = FsxOntapConfiguration>
63 StorageConfiguration& WithFsxOntapConfiguration(FsxOntapConfigurationT&& value) {
64 SetFsxOntapConfiguration(std::forward<FsxOntapConfigurationT>(value));
65 return *this;
66 }
68 private:
69 StorageType m_storageType{StorageType::NOT_SET};
70
71 FsxOntapConfiguration m_fsxOntapConfiguration;
72 bool m_storageTypeHasBeenSet = false;
73 bool m_fsxOntapConfigurationHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace mgn
78} // namespace Aws
StorageConfiguration & WithFsxOntapConfiguration(FsxOntapConfigurationT &&value)
const FsxOntapConfiguration & GetFsxOntapConfiguration() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFsxOntapConfiguration(FsxOntapConfigurationT &&value)
StorageConfiguration & WithStorageType(StorageType value)
AWS_MGN_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API StorageConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue