AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeLocationNfsResult.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/OnPremConfig.h>
10#include <aws/datasync/model/NfsMountOptions.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataSync
27{
28namespace Model
29{
36 {
37 public:
38 AWS_DATASYNC_API DescribeLocationNfsResult() = default;
41
42
44
47 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
48 template<typename LocationArnT = Aws::String>
49 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
50 template<typename LocationArnT = Aws::String>
51 DescribeLocationNfsResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
59 template<typename LocationUriT = Aws::String>
60 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
61 template<typename LocationUriT = Aws::String>
62 DescribeLocationNfsResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
64
66
67 inline const OnPremConfig& GetOnPremConfig() const { return m_onPremConfig; }
68 template<typename OnPremConfigT = OnPremConfig>
69 void SetOnPremConfig(OnPremConfigT&& value) { m_onPremConfigHasBeenSet = true; m_onPremConfig = std::forward<OnPremConfigT>(value); }
70 template<typename OnPremConfigT = OnPremConfig>
71 DescribeLocationNfsResult& WithOnPremConfig(OnPremConfigT&& value) { SetOnPremConfig(std::forward<OnPremConfigT>(value)); return *this;}
73
75
78 inline const NfsMountOptions& GetMountOptions() const { return m_mountOptions; }
79 template<typename MountOptionsT = NfsMountOptions>
80 void SetMountOptions(MountOptionsT&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::forward<MountOptionsT>(value); }
81 template<typename MountOptionsT = NfsMountOptions>
82 DescribeLocationNfsResult& WithMountOptions(MountOptionsT&& value) { SetMountOptions(std::forward<MountOptionsT>(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
90 template<typename CreationTimeT = Aws::Utils::DateTime>
91 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
92 template<typename CreationTimeT = Aws::Utils::DateTime>
93 DescribeLocationNfsResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template<typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
101 template<typename RequestIdT = Aws::String>
102 DescribeLocationNfsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
104 private:
105
106 Aws::String m_locationArn;
107 bool m_locationArnHasBeenSet = false;
108
109 Aws::String m_locationUri;
110 bool m_locationUriHasBeenSet = false;
111
112 OnPremConfig m_onPremConfig;
113 bool m_onPremConfigHasBeenSet = false;
114
115 NfsMountOptions m_mountOptions;
116 bool m_mountOptionsHasBeenSet = false;
117
118 Aws::Utils::DateTime m_creationTime{};
119 bool m_creationTimeHasBeenSet = false;
120
121 Aws::String m_requestId;
122 bool m_requestIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace DataSync
127} // 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)
const Aws::Utils::DateTime & GetCreationTime() const
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