AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FsxProtocol.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/FsxProtocolNfs.h>
9#include <aws/datasync/model/FsxProtocolSmb.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
34 {
35 public:
36 AWS_DATASYNC_API FsxProtocol();
37 AWS_DATASYNC_API FsxProtocol(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATASYNC_API FsxProtocol& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const FsxProtocolNfs& GetNFS() const{ return m_nFS; }
49 inline bool NFSHasBeenSet() const { return m_nFSHasBeenSet; }
50 inline void SetNFS(const FsxProtocolNfs& value) { m_nFSHasBeenSet = true; m_nFS = value; }
51 inline void SetNFS(FsxProtocolNfs&& value) { m_nFSHasBeenSet = true; m_nFS = std::move(value); }
52 inline FsxProtocol& WithNFS(const FsxProtocolNfs& value) { SetNFS(value); return *this;}
53 inline FsxProtocol& WithNFS(FsxProtocolNfs&& value) { SetNFS(std::move(value)); return *this;}
55
57
61 inline const FsxProtocolSmb& GetSMB() const{ return m_sMB; }
62 inline bool SMBHasBeenSet() const { return m_sMBHasBeenSet; }
63 inline void SetSMB(const FsxProtocolSmb& value) { m_sMBHasBeenSet = true; m_sMB = value; }
64 inline void SetSMB(FsxProtocolSmb&& value) { m_sMBHasBeenSet = true; m_sMB = std::move(value); }
65 inline FsxProtocol& WithSMB(const FsxProtocolSmb& value) { SetSMB(value); return *this;}
66 inline FsxProtocol& WithSMB(FsxProtocolSmb&& value) { SetSMB(std::move(value)); return *this;}
68 private:
69
70 FsxProtocolNfs m_nFS;
71 bool m_nFSHasBeenSet = false;
72
73 FsxProtocolSmb m_sMB;
74 bool m_sMBHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DataSync
79} // namespace Aws
FsxProtocol & WithNFS(const FsxProtocolNfs &value)
Definition FsxProtocol.h:52
FsxProtocol & WithSMB(const FsxProtocolSmb &value)
Definition FsxProtocol.h:65
void SetNFS(const FsxProtocolNfs &value)
Definition FsxProtocol.h:50
void SetSMB(FsxProtocolSmb &&value)
Definition FsxProtocol.h:64
const FsxProtocolNfs & GetNFS() const
Definition FsxProtocol.h:48
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const FsxProtocolSmb & GetSMB() const
Definition FsxProtocol.h:61
void SetNFS(FsxProtocolNfs &&value)
Definition FsxProtocol.h:51
FsxProtocol & WithSMB(FsxProtocolSmb &&value)
Definition FsxProtocol.h:66
AWS_DATASYNC_API FsxProtocol(Aws::Utils::Json::JsonView jsonValue)
FsxProtocol & WithNFS(FsxProtocolNfs &&value)
Definition FsxProtocol.h:53
void SetSMB(const FsxProtocolSmb &value)
Definition FsxProtocol.h:63
AWS_DATASYNC_API FsxProtocol & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue