7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9#include <aws/datasync/model/CmkSecretConfig.h>
10#include <aws/datasync/model/CustomSecretConfig.h>
11#include <aws/datasync/model/SmbMountOptions.h>
50 template <
typename DomainT = Aws::String>
52 m_domainHasBeenSet =
true;
53 m_domain = std::forward<DomainT>(value);
55 template <
typename DomainT = Aws::String>
66 template <
typename MountOptionsT = SmbMountOptions>
68 m_mountOptionsHasBeenSet =
true;
69 m_mountOptions = std::forward<MountOptionsT>(value);
71 template <
typename MountOptionsT = SmbMountOptions>
84 template <
typename PasswordT = Aws::String>
86 m_passwordHasBeenSet =
true;
87 m_password = std::forward<PasswordT>(value);
89 template <
typename PasswordT = Aws::String>
106 template <
typename UserT = Aws::String>
108 m_userHasBeenSet =
true;
109 m_user = std::forward<UserT>(value);
111 template <
typename UserT = Aws::String>
113 SetUser(std::forward<UserT>(value));
126 template <
typename CmkSecretConfigT = CmkSecretConfig>
128 m_cmkSecretConfigHasBeenSet =
true;
129 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
131 template <
typename CmkSecretConfigT = CmkSecretConfig>
147 template <
typename CustomSecretConfigT = CustomSecretConfig>
149 m_customSecretConfigHasBeenSet =
true;
150 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
152 template <
typename CustomSecretConfigT = CustomSecretConfig>
170 bool m_domainHasBeenSet =
false;
171 bool m_mountOptionsHasBeenSet =
false;
172 bool m_passwordHasBeenSet =
false;
173 bool m_userHasBeenSet =
false;
174 bool m_cmkSecretConfigHasBeenSet =
false;
175 bool m_customSecretConfigHasBeenSet =
false;
const CmkSecretConfig & GetCmkSecretConfig() const
FsxUpdateProtocolSmb & WithCmkSecretConfig(CmkSecretConfigT &&value)
AWS_DATASYNC_API FsxUpdateProtocolSmb()=default
void SetPassword(PasswordT &&value)
bool MountOptionsHasBeenSet() const
AWS_DATASYNC_API FsxUpdateProtocolSmb(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
FsxUpdateProtocolSmb & WithPassword(PasswordT &&value)
const CustomSecretConfig & GetCustomSecretConfig() const
void SetCustomSecretConfig(CustomSecretConfigT &&value)
void SetUser(UserT &&value)
FsxUpdateProtocolSmb & WithMountOptions(MountOptionsT &&value)
void SetMountOptions(MountOptionsT &&value)
AWS_DATASYNC_API FsxUpdateProtocolSmb & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCmkSecretConfig(CmkSecretConfigT &&value)
const SmbMountOptions & GetMountOptions() const
bool UserHasBeenSet() const
bool CustomSecretConfigHasBeenSet() const
const Aws::String & GetUser() const
bool PasswordHasBeenSet() const
void SetDomain(DomainT &&value)
FsxUpdateProtocolSmb & WithCustomSecretConfig(CustomSecretConfigT &&value)
FsxUpdateProtocolSmb & WithUser(UserT &&value)
bool CmkSecretConfigHasBeenSet() const
const Aws::String & GetPassword() const
bool DomainHasBeenSet() const
FsxUpdateProtocolSmb & WithDomain(DomainT &&value)
const Aws::String & GetDomain() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue