AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
FsxOntapConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API FsxOntapConfiguration() = default;
33
35
38 inline const Aws::String& GetStorageVirtualMachineId() const { return m_storageVirtualMachineId; }
39 inline bool StorageVirtualMachineIdHasBeenSet() const { return m_storageVirtualMachineIdHasBeenSet; }
40 template <typename StorageVirtualMachineIdT = Aws::String>
41 void SetStorageVirtualMachineId(StorageVirtualMachineIdT&& value) {
42 m_storageVirtualMachineIdHasBeenSet = true;
43 m_storageVirtualMachineId = std::forward<StorageVirtualMachineIdT>(value);
44 }
45 template <typename StorageVirtualMachineIdT = Aws::String>
46 FsxOntapConfiguration& WithStorageVirtualMachineId(StorageVirtualMachineIdT&& value) {
47 SetStorageVirtualMachineId(std::forward<StorageVirtualMachineIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
57 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
58 template <typename CredentialsSecretArnT = Aws::String>
59 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) {
60 m_credentialsSecretArnHasBeenSet = true;
61 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
62 }
63 template <typename CredentialsSecretArnT = Aws::String>
64 FsxOntapConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) {
65 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_storageVirtualMachineId;
71
72 Aws::String m_credentialsSecretArn;
73 bool m_storageVirtualMachineIdHasBeenSet = false;
74 bool m_credentialsSecretArnHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace mgn
79} // namespace Aws
void SetStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
AWS_MGN_API FsxOntapConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API FsxOntapConfiguration()=default
FsxOntapConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCredentialsSecretArn() const
AWS_MGN_API FsxOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FsxOntapConfiguration & WithStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
void SetCredentialsSecretArn(CredentialsSecretArnT &&value)
const Aws::String & GetStorageVirtualMachineId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue