AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLocationEfsResult.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/Ec2Config.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/datasync/model/EfsInTransitEncryption.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 DescribeLocationEfsResult();
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 DescribeLocationEfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
52 inline DescribeLocationEfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
53 inline DescribeLocationEfsResult& 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 DescribeLocationEfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
65 inline DescribeLocationEfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
66 inline DescribeLocationEfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
68
70
71 inline const Ec2Config& GetEc2Config() const{ return m_ec2Config; }
72 inline void SetEc2Config(const Ec2Config& value) { m_ec2Config = value; }
73 inline void SetEc2Config(Ec2Config&& value) { m_ec2Config = std::move(value); }
74 inline DescribeLocationEfsResult& WithEc2Config(const Ec2Config& value) { SetEc2Config(value); return *this;}
75 inline DescribeLocationEfsResult& WithEc2Config(Ec2Config&& value) { SetEc2Config(std::move(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
83 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
84 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
86 inline DescribeLocationEfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
88
90
96 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
97 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArn = value; }
98 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArn = std::move(value); }
99 inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); }
100 inline DescribeLocationEfsResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
101 inline DescribeLocationEfsResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
102 inline DescribeLocationEfsResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
104
106
112 inline const Aws::String& GetFileSystemAccessRoleArn() const{ return m_fileSystemAccessRoleArn; }
113 inline void SetFileSystemAccessRoleArn(const Aws::String& value) { m_fileSystemAccessRoleArn = value; }
114 inline void SetFileSystemAccessRoleArn(Aws::String&& value) { m_fileSystemAccessRoleArn = std::move(value); }
115 inline void SetFileSystemAccessRoleArn(const char* value) { m_fileSystemAccessRoleArn.assign(value); }
118 inline DescribeLocationEfsResult& WithFileSystemAccessRoleArn(const char* value) { SetFileSystemAccessRoleArn(value); return *this;}
120
122
126 inline const EfsInTransitEncryption& GetInTransitEncryption() const{ return m_inTransitEncryption; }
127 inline void SetInTransitEncryption(const EfsInTransitEncryption& value) { m_inTransitEncryption = value; }
128 inline void SetInTransitEncryption(EfsInTransitEncryption&& value) { m_inTransitEncryption = std::move(value); }
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline DescribeLocationEfsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline DescribeLocationEfsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline DescribeLocationEfsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 Aws::String m_locationArn;
146
147 Aws::String m_locationUri;
148
149 Ec2Config m_ec2Config;
150
151 Aws::Utils::DateTime m_creationTime;
152
153 Aws::String m_accessPointArn;
154
155 Aws::String m_fileSystemAccessRoleArn;
156
157 EfsInTransitEncryption m_inTransitEncryption;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace DataSync
164} // namespace Aws
DescribeLocationEfsResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationEfsResult & WithRequestId(const Aws::String &value)
DescribeLocationEfsResult & WithLocationUri(const char *value)
DescribeLocationEfsResult & WithLocationUri(Aws::String &&value)
DescribeLocationEfsResult & WithAccessPointArn(const Aws::String &value)
AWS_DATASYNC_API DescribeLocationEfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationEfsResult & WithFileSystemAccessRoleArn(Aws::String &&value)
DescribeLocationEfsResult & WithLocationUri(const Aws::String &value)
DescribeLocationEfsResult & WithFileSystemAccessRoleArn(const char *value)
DescribeLocationEfsResult & WithRequestId(Aws::String &&value)
const EfsInTransitEncryption & GetInTransitEncryption() const
DescribeLocationEfsResult & WithFileSystemAccessRoleArn(const Aws::String &value)
DescribeLocationEfsResult & WithAccessPointArn(Aws::String &&value)
DescribeLocationEfsResult & WithInTransitEncryption(EfsInTransitEncryption &&value)
DescribeLocationEfsResult & WithAccessPointArn(const char *value)
void SetInTransitEncryption(const EfsInTransitEncryption &value)
DescribeLocationEfsResult & WithEc2Config(Ec2Config &&value)
DescribeLocationEfsResult & WithEc2Config(const Ec2Config &value)
AWS_DATASYNC_API DescribeLocationEfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationEfsResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationEfsResult & WithLocationArn(Aws::String &&value)
DescribeLocationEfsResult & WithLocationArn(const Aws::String &value)
DescribeLocationEfsResult & WithInTransitEncryption(const EfsInTransitEncryption &value)
DescribeLocationEfsResult & WithRequestId(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetInTransitEncryption(EfsInTransitEncryption &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeLocationEfsResult & WithLocationArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue