AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeLocationSmbResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/model/SmbMountOptions.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/datasync/model/SmbAuthenticationType.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataSync
28{
29namespace Model
30{
37 {
38 public:
39 AWS_DATASYNC_API DescribeLocationSmbResult() = default;
42
43
45
48 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
49 template<typename LocationArnT = Aws::String>
50 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
51 template<typename LocationArnT = Aws::String>
52 DescribeLocationSmbResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
60 template<typename LocationUriT = Aws::String>
61 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
62 template<typename LocationUriT = Aws::String>
63 DescribeLocationSmbResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
65
67
71 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
72 template<typename AgentArnsT = Aws::Vector<Aws::String>>
73 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::forward<AgentArnsT>(value); }
74 template<typename AgentArnsT = Aws::Vector<Aws::String>>
75 DescribeLocationSmbResult& WithAgentArns(AgentArnsT&& value) { SetAgentArns(std::forward<AgentArnsT>(value)); return *this;}
76 template<typename AgentArnsT = Aws::String>
77 DescribeLocationSmbResult& AddAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns.emplace_back(std::forward<AgentArnsT>(value)); return *this; }
79
81
86 inline const Aws::String& GetUser() const { return m_user; }
87 template<typename UserT = Aws::String>
88 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
89 template<typename UserT = Aws::String>
90 DescribeLocationSmbResult& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
92
94
99 inline const Aws::String& GetDomain() const { return m_domain; }
100 template<typename DomainT = Aws::String>
101 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
102 template<typename DomainT = Aws::String>
103 DescribeLocationSmbResult& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
105
107
111 inline const SmbMountOptions& GetMountOptions() const { return m_mountOptions; }
112 template<typename MountOptionsT = SmbMountOptions>
113 void SetMountOptions(MountOptionsT&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::forward<MountOptionsT>(value); }
114 template<typename MountOptionsT = SmbMountOptions>
115 DescribeLocationSmbResult& WithMountOptions(MountOptionsT&& value) { SetMountOptions(std::forward<MountOptionsT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
123 template<typename CreationTimeT = Aws::Utils::DateTime>
124 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
125 template<typename CreationTimeT = Aws::Utils::DateTime>
126 DescribeLocationSmbResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
128
130
135 inline const Aws::Vector<Aws::String>& GetDnsIpAddresses() const { return m_dnsIpAddresses; }
136 template<typename DnsIpAddressesT = Aws::Vector<Aws::String>>
137 void SetDnsIpAddresses(DnsIpAddressesT&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses = std::forward<DnsIpAddressesT>(value); }
138 template<typename DnsIpAddressesT = Aws::Vector<Aws::String>>
139 DescribeLocationSmbResult& WithDnsIpAddresses(DnsIpAddressesT&& value) { SetDnsIpAddresses(std::forward<DnsIpAddressesT>(value)); return *this;}
140 template<typename DnsIpAddressesT = Aws::String>
141 DescribeLocationSmbResult& AddDnsIpAddresses(DnsIpAddressesT&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.emplace_back(std::forward<DnsIpAddressesT>(value)); return *this; }
143
145
149 inline const Aws::String& GetKerberosPrincipal() const { return m_kerberosPrincipal; }
150 template<typename KerberosPrincipalT = Aws::String>
151 void SetKerberosPrincipal(KerberosPrincipalT&& value) { m_kerberosPrincipalHasBeenSet = true; m_kerberosPrincipal = std::forward<KerberosPrincipalT>(value); }
152 template<typename KerberosPrincipalT = Aws::String>
153 DescribeLocationSmbResult& WithKerberosPrincipal(KerberosPrincipalT&& value) { SetKerberosPrincipal(std::forward<KerberosPrincipalT>(value)); return *this;}
155
157
161 inline SmbAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
162 inline void SetAuthenticationType(SmbAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template<typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
171 template<typename RequestIdT = Aws::String>
172 DescribeLocationSmbResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
174 private:
175
176 Aws::String m_locationArn;
177 bool m_locationArnHasBeenSet = false;
178
179 Aws::String m_locationUri;
180 bool m_locationUriHasBeenSet = false;
181
182 Aws::Vector<Aws::String> m_agentArns;
183 bool m_agentArnsHasBeenSet = false;
184
185 Aws::String m_user;
186 bool m_userHasBeenSet = false;
187
188 Aws::String m_domain;
189 bool m_domainHasBeenSet = false;
190
191 SmbMountOptions m_mountOptions;
192 bool m_mountOptionsHasBeenSet = false;
193
194 Aws::Utils::DateTime m_creationTime{};
195 bool m_creationTimeHasBeenSet = false;
196
197 Aws::Vector<Aws::String> m_dnsIpAddresses;
198 bool m_dnsIpAddressesHasBeenSet = false;
199
200 Aws::String m_kerberosPrincipal;
201 bool m_kerberosPrincipalHasBeenSet = false;
202
204 bool m_authenticationTypeHasBeenSet = false;
205
206 Aws::String m_requestId;
207 bool m_requestIdHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace DataSync
212} // namespace Aws
DescribeLocationSmbResult & WithLocationArn(LocationArnT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationSmbResult & WithDomain(DomainT &&value)
DescribeLocationSmbResult & WithUser(UserT &&value)
DescribeLocationSmbResult & WithLocationUri(LocationUriT &&value)
AWS_DATASYNC_API DescribeLocationSmbResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationSmbResult & AddAgentArns(AgentArnsT &&value)
DescribeLocationSmbResult & WithAuthenticationType(SmbAuthenticationType value)
DescribeLocationSmbResult & WithCreationTime(CreationTimeT &&value)
DescribeLocationSmbResult & WithDnsIpAddresses(DnsIpAddressesT &&value)
DescribeLocationSmbResult & WithKerberosPrincipal(KerberosPrincipalT &&value)
AWS_DATASYNC_API DescribeLocationSmbResult()=default
DescribeLocationSmbResult & WithMountOptions(MountOptionsT &&value)
AWS_DATASYNC_API DescribeLocationSmbResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationSmbResult & WithAgentArns(AgentArnsT &&value)
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
DescribeLocationSmbResult & WithRequestId(RequestIdT &&value)
DescribeLocationSmbResult & AddDnsIpAddresses(DnsIpAddressesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue