AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeLocationNfsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/NfsMountOptions.h>
12#include <aws/datasync/model/OnPremConfig.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataSync {
26namespace Model {
33 public:
34 AWS_DATASYNC_API DescribeLocationNfsResult() = default;
37
39
42 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
43 template <typename LocationArnT = Aws::String>
44 void SetLocationArn(LocationArnT&& value) {
45 m_locationArnHasBeenSet = true;
46 m_locationArn = std::forward<LocationArnT>(value);
47 }
48 template <typename LocationArnT = Aws::String>
50 SetLocationArn(std::forward<LocationArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
60 template <typename LocationUriT = Aws::String>
61 void SetLocationUri(LocationUriT&& value) {
62 m_locationUriHasBeenSet = true;
63 m_locationUri = std::forward<LocationUriT>(value);
64 }
65 template <typename LocationUriT = Aws::String>
67 SetLocationUri(std::forward<LocationUriT>(value));
68 return *this;
69 }
71
73
74 inline const OnPremConfig& GetOnPremConfig() const { return m_onPremConfig; }
75 template <typename OnPremConfigT = OnPremConfig>
76 void SetOnPremConfig(OnPremConfigT&& value) {
77 m_onPremConfigHasBeenSet = true;
78 m_onPremConfig = std::forward<OnPremConfigT>(value);
79 }
80 template <typename OnPremConfigT = OnPremConfig>
82 SetOnPremConfig(std::forward<OnPremConfigT>(value));
83 return *this;
84 }
86
88
91 inline const NfsMountOptions& GetMountOptions() const { return m_mountOptions; }
92 template <typename MountOptionsT = NfsMountOptions>
93 void SetMountOptions(MountOptionsT&& value) {
94 m_mountOptionsHasBeenSet = true;
95 m_mountOptions = std::forward<MountOptionsT>(value);
96 }
97 template <typename MountOptionsT = NfsMountOptions>
99 SetMountOptions(std::forward<MountOptionsT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
109 template <typename CreationTimeT = Aws::Utils::DateTime>
110 void SetCreationTime(CreationTimeT&& value) {
111 m_creationTimeHasBeenSet = true;
112 m_creationTime = std::forward<CreationTimeT>(value);
113 }
114 template <typename CreationTimeT = Aws::Utils::DateTime>
116 SetCreationTime(std::forward<CreationTimeT>(value));
117 return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template <typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) {
126 m_requestIdHasBeenSet = true;
127 m_requestId = std::forward<RequestIdT>(value);
128 }
129 template <typename RequestIdT = Aws::String>
131 SetRequestId(std::forward<RequestIdT>(value));
132 return *this;
133 }
135 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
136
137 private:
138 Aws::String m_locationArn;
139
140 Aws::String m_locationUri;
141
142 OnPremConfig m_onPremConfig;
143
144 NfsMountOptions m_mountOptions;
145
146 Aws::Utils::DateTime m_creationTime{};
147
148 Aws::String m_requestId;
149 Aws::Http::HttpResponseCode m_HttpResponseCode;
150 bool m_locationArnHasBeenSet = false;
151 bool m_locationUriHasBeenSet = false;
152 bool m_onPremConfigHasBeenSet = false;
153 bool m_mountOptionsHasBeenSet = false;
154 bool m_creationTimeHasBeenSet = false;
155 bool m_requestIdHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace DataSync
160} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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