AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 DescribeLocationEfsResult& 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 DescribeLocationEfsResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
64
66
67 inline const Ec2Config& GetEc2Config() const { return m_ec2Config; }
68 template<typename Ec2ConfigT = Ec2Config>
69 void SetEc2Config(Ec2ConfigT&& value) { m_ec2ConfigHasBeenSet = true; m_ec2Config = std::forward<Ec2ConfigT>(value); }
70 template<typename Ec2ConfigT = Ec2Config>
71 DescribeLocationEfsResult& WithEc2Config(Ec2ConfigT&& value) { SetEc2Config(std::forward<Ec2ConfigT>(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
81 template<typename CreationTimeT = Aws::Utils::DateTime>
82 DescribeLocationEfsResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
84
86
92 inline const Aws::String& GetAccessPointArn() const { return m_accessPointArn; }
93 template<typename AccessPointArnT = Aws::String>
94 void SetAccessPointArn(AccessPointArnT&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::forward<AccessPointArnT>(value); }
95 template<typename AccessPointArnT = Aws::String>
96 DescribeLocationEfsResult& WithAccessPointArn(AccessPointArnT&& value) { SetAccessPointArn(std::forward<AccessPointArnT>(value)); return *this;}
98
100
106 inline const Aws::String& GetFileSystemAccessRoleArn() const { return m_fileSystemAccessRoleArn; }
107 template<typename FileSystemAccessRoleArnT = Aws::String>
108 void SetFileSystemAccessRoleArn(FileSystemAccessRoleArnT&& value) { m_fileSystemAccessRoleArnHasBeenSet = true; m_fileSystemAccessRoleArn = std::forward<FileSystemAccessRoleArnT>(value); }
109 template<typename FileSystemAccessRoleArnT = Aws::String>
110 DescribeLocationEfsResult& WithFileSystemAccessRoleArn(FileSystemAccessRoleArnT&& value) { SetFileSystemAccessRoleArn(std::forward<FileSystemAccessRoleArnT>(value)); return *this;}
112
114
118 inline EfsInTransitEncryption GetInTransitEncryption() const { return m_inTransitEncryption; }
119 inline void SetInTransitEncryption(EfsInTransitEncryption value) { m_inTransitEncryptionHasBeenSet = true; m_inTransitEncryption = value; }
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 DescribeLocationEfsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_locationArn;
134 bool m_locationArnHasBeenSet = false;
135
136 Aws::String m_locationUri;
137 bool m_locationUriHasBeenSet = false;
138
139 Ec2Config m_ec2Config;
140 bool m_ec2ConfigHasBeenSet = false;
141
142 Aws::Utils::DateTime m_creationTime{};
143 bool m_creationTimeHasBeenSet = false;
144
145 Aws::String m_accessPointArn;
146 bool m_accessPointArnHasBeenSet = false;
147
148 Aws::String m_fileSystemAccessRoleArn;
149 bool m_fileSystemAccessRoleArnHasBeenSet = false;
150
152 bool m_inTransitEncryptionHasBeenSet = false;
153
154 Aws::String m_requestId;
155 bool m_requestIdHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace DataSync
160} // namespace Aws
DescribeLocationEfsResult & WithAccessPointArn(AccessPointArnT &&value)
DescribeLocationEfsResult & WithCreationTime(CreationTimeT &&value)
void SetFileSystemAccessRoleArn(FileSystemAccessRoleArnT &&value)
DescribeLocationEfsResult & WithEc2Config(Ec2ConfigT &&value)
AWS_DATASYNC_API DescribeLocationEfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationEfsResult & WithFileSystemAccessRoleArn(FileSystemAccessRoleArnT &&value)
DescribeLocationEfsResult & WithLocationArn(LocationArnT &&value)
DescribeLocationEfsResult & WithInTransitEncryption(EfsInTransitEncryption value)
DescribeLocationEfsResult & WithRequestId(RequestIdT &&value)
AWS_DATASYNC_API DescribeLocationEfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInTransitEncryption(EfsInTransitEncryption value)
DescribeLocationEfsResult & WithLocationUri(LocationUriT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_DATASYNC_API DescribeLocationEfsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue