AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeLocationNfsResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/NfsMountOptions.h>
11#include <aws/datasync/model/OnPremConfig.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataSync {
25namespace Model {
32 public:
33 AWS_DATASYNC_API DescribeLocationNfsResult() = default;
36
38
41 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
42 template <typename LocationArnT = Aws::String>
43 void SetLocationArn(LocationArnT&& value) {
44 m_locationArnHasBeenSet = true;
45 m_locationArn = std::forward<LocationArnT>(value);
46 }
47 template <typename LocationArnT = Aws::String>
49 SetLocationArn(std::forward<LocationArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
59 template <typename LocationUriT = Aws::String>
60 void SetLocationUri(LocationUriT&& value) {
61 m_locationUriHasBeenSet = true;
62 m_locationUri = std::forward<LocationUriT>(value);
63 }
64 template <typename LocationUriT = Aws::String>
66 SetLocationUri(std::forward<LocationUriT>(value));
67 return *this;
68 }
70
72
73 inline const OnPremConfig& GetOnPremConfig() const { return m_onPremConfig; }
74 template <typename OnPremConfigT = OnPremConfig>
75 void SetOnPremConfig(OnPremConfigT&& value) {
76 m_onPremConfigHasBeenSet = true;
77 m_onPremConfig = std::forward<OnPremConfigT>(value);
78 }
79 template <typename OnPremConfigT = OnPremConfig>
81 SetOnPremConfig(std::forward<OnPremConfigT>(value));
82 return *this;
83 }
85
87
90 inline const NfsMountOptions& GetMountOptions() const { return m_mountOptions; }
91 template <typename MountOptionsT = NfsMountOptions>
92 void SetMountOptions(MountOptionsT&& value) {
93 m_mountOptionsHasBeenSet = true;
94 m_mountOptions = std::forward<MountOptionsT>(value);
95 }
96 template <typename MountOptionsT = NfsMountOptions>
98 SetMountOptions(std::forward<MountOptionsT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
108 template <typename CreationTimeT = Aws::Utils::DateTime>
109 void SetCreationTime(CreationTimeT&& value) {
110 m_creationTimeHasBeenSet = true;
111 m_creationTime = std::forward<CreationTimeT>(value);
112 }
113 template <typename CreationTimeT = Aws::Utils::DateTime>
115 SetCreationTime(std::forward<CreationTimeT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_locationArn;
136
137 Aws::String m_locationUri;
138
139 OnPremConfig m_onPremConfig;
140
141 NfsMountOptions m_mountOptions;
142
143 Aws::Utils::DateTime m_creationTime{};
144
145 Aws::String m_requestId;
146 bool m_locationArnHasBeenSet = false;
147 bool m_locationUriHasBeenSet = false;
148 bool m_onPremConfigHasBeenSet = false;
149 bool m_mountOptionsHasBeenSet = false;
150 bool m_creationTimeHasBeenSet = false;
151 bool m_requestIdHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace DataSync
156} // namespace Aws
AWS_DATASYNC_API DescribeLocationNfsResult()=default
AWS_DATASYNC_API DescribeLocationNfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationNfsResult & WithLocationUri(LocationUriT &&value)
DescribeLocationNfsResult & WithOnPremConfig(OnPremConfigT &&value)
DescribeLocationNfsResult & WithRequestId(RequestIdT &&value)
DescribeLocationNfsResult & WithMountOptions(MountOptionsT &&value)
DescribeLocationNfsResult & WithLocationArn(LocationArnT &&value)
AWS_DATASYNC_API DescribeLocationNfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationNfsResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue