AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
FileSystemEndpoints.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/FileSystemEndpoint.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FSx {
20namespace Model {
21
30 public:
31 AWS_FSX_API FileSystemEndpoints() = default;
35
37
41 inline const FileSystemEndpoint& GetIntercluster() const { return m_intercluster; }
42 inline bool InterclusterHasBeenSet() const { return m_interclusterHasBeenSet; }
43 template <typename InterclusterT = FileSystemEndpoint>
44 void SetIntercluster(InterclusterT&& value) {
45 m_interclusterHasBeenSet = true;
46 m_intercluster = std::forward<InterclusterT>(value);
47 }
48 template <typename InterclusterT = FileSystemEndpoint>
49 FileSystemEndpoints& WithIntercluster(InterclusterT&& value) {
50 SetIntercluster(std::forward<InterclusterT>(value));
51 return *this;
52 }
54
56
60 inline const FileSystemEndpoint& GetManagement() const { return m_management; }
61 inline bool ManagementHasBeenSet() const { return m_managementHasBeenSet; }
62 template <typename ManagementT = FileSystemEndpoint>
63 void SetManagement(ManagementT&& value) {
64 m_managementHasBeenSet = true;
65 m_management = std::forward<ManagementT>(value);
66 }
67 template <typename ManagementT = FileSystemEndpoint>
68 FileSystemEndpoints& WithManagement(ManagementT&& value) {
69 SetManagement(std::forward<ManagementT>(value));
70 return *this;
71 }
73 private:
74 FileSystemEndpoint m_intercluster;
75
76 FileSystemEndpoint m_management;
77 bool m_interclusterHasBeenSet = false;
78 bool m_managementHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace FSx
83} // namespace Aws
void SetManagement(ManagementT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntercluster(InterclusterT &&value)
AWS_FSX_API FileSystemEndpoints(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API FileSystemEndpoints()=default
AWS_FSX_API FileSystemEndpoints & operator=(Aws::Utils::Json::JsonView jsonValue)
const FileSystemEndpoint & GetIntercluster() const
FileSystemEndpoints & WithIntercluster(InterclusterT &&value)
FileSystemEndpoints & WithManagement(ManagementT &&value)
const FileSystemEndpoint & GetManagement() const
Aws::Utils::Json::JsonValue JsonValue