AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FsxProtocolSmb.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/SmbMountOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataSync
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_DATASYNC_API FsxProtocolSmb();
40 AWS_DATASYNC_API FsxProtocolSmb(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetDomain() const{ return m_domain; }
53 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
54 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
55 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
56 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
57 inline FsxProtocolSmb& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
58 inline FsxProtocolSmb& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
59 inline FsxProtocolSmb& WithDomain(const char* value) { SetDomain(value); return *this;}
61
63
64 inline const SmbMountOptions& GetMountOptions() const{ return m_mountOptions; }
65 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
66 inline void SetMountOptions(const SmbMountOptions& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
67 inline void SetMountOptions(SmbMountOptions&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
68 inline FsxProtocolSmb& WithMountOptions(const SmbMountOptions& value) { SetMountOptions(value); return *this;}
69 inline FsxProtocolSmb& WithMountOptions(SmbMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetPassword() const{ return m_password; }
77 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
78 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
79 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
80 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
81 inline FsxProtocolSmb& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
82 inline FsxProtocolSmb& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
83 inline FsxProtocolSmb& WithPassword(const char* value) { SetPassword(value); return *this;}
85
87
94 inline const Aws::String& GetUser() const{ return m_user; }
95 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
96 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
97 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
98 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
99 inline FsxProtocolSmb& WithUser(const Aws::String& value) { SetUser(value); return *this;}
100 inline FsxProtocolSmb& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
101 inline FsxProtocolSmb& WithUser(const char* value) { SetUser(value); return *this;}
103 private:
104
105 Aws::String m_domain;
106 bool m_domainHasBeenSet = false;
107
108 SmbMountOptions m_mountOptions;
109 bool m_mountOptionsHasBeenSet = false;
110
111 Aws::String m_password;
112 bool m_passwordHasBeenSet = false;
113
114 Aws::String m_user;
115 bool m_userHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace DataSync
120} // namespace Aws
void SetUser(Aws::String &&value)
AWS_DATASYNC_API FsxProtocolSmb & operator=(Aws::Utils::Json::JsonView jsonValue)
FsxProtocolSmb & WithMountOptions(const SmbMountOptions &value)
FsxProtocolSmb & WithPassword(Aws::String &&value)
void SetUser(const Aws::String &value)
const Aws::String & GetDomain() const
FsxProtocolSmb & WithPassword(const Aws::String &value)
const Aws::String & GetPassword() const
FsxProtocolSmb & WithUser(Aws::String &&value)
FsxProtocolSmb & WithDomain(Aws::String &&value)
void SetDomain(const char *value)
FsxProtocolSmb & WithPassword(const char *value)
FsxProtocolSmb & WithDomain(const char *value)
FsxProtocolSmb & WithDomain(const Aws::String &value)
void SetPassword(const char *value)
void SetDomain(Aws::String &&value)
void SetPassword(const Aws::String &value)
FsxProtocolSmb & WithUser(const char *value)
void SetPassword(Aws::String &&value)
FsxProtocolSmb & WithUser(const Aws::String &value)
const Aws::String & GetUser() const
void SetDomain(const Aws::String &value)
AWS_DATASYNC_API FsxProtocolSmb(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const SmbMountOptions & GetMountOptions() const
void SetMountOptions(SmbMountOptions &&value)
void SetMountOptions(const SmbMountOptions &value)
FsxProtocolSmb & WithMountOptions(SmbMountOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue