AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
48 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
49 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
50 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
51 inline DescribeLocationNfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
52 inline DescribeLocationNfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
53 inline DescribeLocationNfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
55
57
60 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
61 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
62 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
63 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
64 inline DescribeLocationNfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
65 inline DescribeLocationNfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
66 inline DescribeLocationNfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
68
70
71 inline const OnPremConfig& GetOnPremConfig() const{ return m_onPremConfig; }
72 inline void SetOnPremConfig(const OnPremConfig& value) { m_onPremConfig = value; }
73 inline void SetOnPremConfig(OnPremConfig&& value) { m_onPremConfig = std::move(value); }
74 inline DescribeLocationNfsResult& WithOnPremConfig(const OnPremConfig& value) { SetOnPremConfig(value); return *this;}
75 inline DescribeLocationNfsResult& WithOnPremConfig(OnPremConfig&& value) { SetOnPremConfig(std::move(value)); return *this;}
77
79
82 inline const NfsMountOptions& GetMountOptions() const{ return m_mountOptions; }
83 inline void SetMountOptions(const NfsMountOptions& value) { m_mountOptions = value; }
84 inline void SetMountOptions(NfsMountOptions&& value) { m_mountOptions = std::move(value); }
85 inline DescribeLocationNfsResult& WithMountOptions(const NfsMountOptions& value) { SetMountOptions(value); return *this;}
86 inline DescribeLocationNfsResult& WithMountOptions(NfsMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
94 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
95 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
97 inline DescribeLocationNfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline DescribeLocationNfsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline DescribeLocationNfsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline DescribeLocationNfsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_locationArn;
113
114 Aws::String m_locationUri;
115
116 OnPremConfig m_onPremConfig;
117
118 NfsMountOptions m_mountOptions;
119
120 Aws::Utils::DateTime m_creationTime;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace DataSync
127} // namespace Aws
DescribeLocationNfsResult & WithMountOptions(const NfsMountOptions &value)
DescribeLocationNfsResult & WithLocationUri(const Aws::String &value)
DescribeLocationNfsResult & WithRequestId(Aws::String &&value)
DescribeLocationNfsResult & WithRequestId(const char *value)
DescribeLocationNfsResult & WithOnPremConfig(OnPremConfig &&value)
DescribeLocationNfsResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationNfsResult & WithLocationArn(const Aws::String &value)
DescribeLocationNfsResult & WithLocationArn(Aws::String &&value)
AWS_DATASYNC_API DescribeLocationNfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationNfsResult & WithMountOptions(NfsMountOptions &&value)
DescribeLocationNfsResult & WithLocationUri(Aws::String &&value)
DescribeLocationNfsResult & WithLocationUri(const char *value)
DescribeLocationNfsResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_DATASYNC_API DescribeLocationNfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationNfsResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationNfsResult & WithOnPremConfig(const OnPremConfig &value)
DescribeLocationNfsResult & WithLocationArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue