AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeLocationSmbResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace DataSync
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
46  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
47 
51  inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
52 
56  inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
57 
61  inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
62 
66  inline DescribeLocationSmbResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
67 
71  inline DescribeLocationSmbResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
72 
76  inline DescribeLocationSmbResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
77 
78 
82  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
83 
87  inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
88 
92  inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
93 
97  inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
98 
102  inline DescribeLocationSmbResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
103 
107  inline DescribeLocationSmbResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
108 
112  inline DescribeLocationSmbResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
113 
114 
119  inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
120 
125  inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
126 
131  inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
132 
137  inline DescribeLocationSmbResult& WithAgentArns(const Aws::Vector<Aws::String>& value) { SetAgentArns(value); return *this;}
138 
143  inline DescribeLocationSmbResult& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
144 
149  inline DescribeLocationSmbResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
150 
155  inline DescribeLocationSmbResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
156 
161  inline DescribeLocationSmbResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
162 
163 
168  inline const Aws::String& GetUser() const{ return m_user; }
169 
174  inline void SetUser(const Aws::String& value) { m_user = value; }
175 
180  inline void SetUser(Aws::String&& value) { m_user = std::move(value); }
181 
186  inline void SetUser(const char* value) { m_user.assign(value); }
187 
192  inline DescribeLocationSmbResult& WithUser(const Aws::String& value) { SetUser(value); return *this;}
193 
198  inline DescribeLocationSmbResult& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
199 
204  inline DescribeLocationSmbResult& WithUser(const char* value) { SetUser(value); return *this;}
205 
206 
210  inline const Aws::String& GetDomain() const{ return m_domain; }
211 
215  inline void SetDomain(const Aws::String& value) { m_domain = value; }
216 
220  inline void SetDomain(Aws::String&& value) { m_domain = std::move(value); }
221 
225  inline void SetDomain(const char* value) { m_domain.assign(value); }
226 
230  inline DescribeLocationSmbResult& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
231 
235  inline DescribeLocationSmbResult& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
236 
240  inline DescribeLocationSmbResult& WithDomain(const char* value) { SetDomain(value); return *this;}
241 
242 
247  inline const SmbMountOptions& GetMountOptions() const{ return m_mountOptions; }
248 
253  inline void SetMountOptions(const SmbMountOptions& value) { m_mountOptions = value; }
254 
259  inline void SetMountOptions(SmbMountOptions&& value) { m_mountOptions = std::move(value); }
260 
265  inline DescribeLocationSmbResult& WithMountOptions(const SmbMountOptions& value) { SetMountOptions(value); return *this;}
266 
271  inline DescribeLocationSmbResult& WithMountOptions(SmbMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
272 
273 
277  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
278 
282  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
283 
287  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
288 
292  inline DescribeLocationSmbResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
293 
297  inline DescribeLocationSmbResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
298 
299  private:
300 
301  Aws::String m_locationArn;
302 
303  Aws::String m_locationUri;
304 
305  Aws::Vector<Aws::String> m_agentArns;
306 
307  Aws::String m_user;
308 
309  Aws::String m_domain;
310 
311  SmbMountOptions m_mountOptions;
312 
313  Aws::Utils::DateTime m_creationTime;
314  };
315 
316 } // namespace Model
317 } // namespace DataSync
318 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DataSync::Model::DescribeLocationSmbResult::WithLocationArn
DescribeLocationSmbResult & WithLocationArn(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:71
Aws::DataSync::Model::DescribeLocationSmbResult::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:92
Aws::DataSync::Model::DescribeLocationSmbResult::WithAgentArns
DescribeLocationSmbResult & WithAgentArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocationSmbResult.h:137
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataSync::Model::DescribeLocationSmbResult::SetUser
void SetUser(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:180
Aws::DataSync::Model::DescribeLocationSmbResult::WithDomain
DescribeLocationSmbResult & WithDomain(const char *value)
Definition: DescribeLocationSmbResult.h:240
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::DescribeLocationSmbResult::SetUser
void SetUser(const char *value)
Definition: DescribeLocationSmbResult.h:186
Aws::DataSync::Model::DescribeLocationSmbResult::GetUser
const Aws::String & GetUser() const
Definition: DescribeLocationSmbResult.h:168
SmbMountOptions.h
Aws::DataSync::Model::DescribeLocationSmbResult::WithLocationUri
DescribeLocationSmbResult & WithLocationUri(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:102
DateTime.h
Aws::DataSync::Model::DescribeLocationSmbResult::SetLocationUri
void SetLocationUri(const char *value)
Definition: DescribeLocationSmbResult.h:97
Aws::DataSync::Model::DescribeLocationSmbResult::SetDomain
void SetDomain(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:220
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataSync::Model::DescribeLocationSmbResult::WithAgentArns
DescribeLocationSmbResult & WithAgentArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocationSmbResult.h:143
Aws::DataSync::Model::DescribeLocationSmbResult::SetLocationArn
void SetLocationArn(const char *value)
Definition: DescribeLocationSmbResult.h:61
Aws::DataSync::Model::DescribeLocationSmbResult::WithLocationUri
DescribeLocationSmbResult & WithLocationUri(const char *value)
Definition: DescribeLocationSmbResult.h:112
AWSVector.h
Aws::DataSync::Model::DescribeLocationSmbResult::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:87
Aws::DataSync::Model::DescribeLocationSmbResult::AddAgentArns
DescribeLocationSmbResult & AddAgentArns(const char *value)
Definition: DescribeLocationSmbResult.h:161
Aws::DataSync::Model::DescribeLocationSmbResult::WithUser
DescribeLocationSmbResult & WithUser(const char *value)
Definition: DescribeLocationSmbResult.h:204
Aws::DataSync::Model::DescribeLocationSmbResult::WithLocationArn
DescribeLocationSmbResult & WithLocationArn(const char *value)
Definition: DescribeLocationSmbResult.h:76
Aws::DataSync::Model::DescribeLocationSmbResult::WithMountOptions
DescribeLocationSmbResult & WithMountOptions(SmbMountOptions &&value)
Definition: DescribeLocationSmbResult.h:271
Aws::DataSync::Model::DescribeLocationSmbResult::WithLocationArn
DescribeLocationSmbResult & WithLocationArn(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:66
Aws::DataSync::Model::DescribeLocationSmbResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeLocationSmbResult.h:277
Aws::DataSync::Model::SmbMountOptions
Definition: SmbMountOptions.h:33
Aws::DataSync::Model::DescribeLocationSmbResult::SetUser
void SetUser(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:174
Aws::DataSync::Model::DescribeLocationSmbResult::WithUser
DescribeLocationSmbResult & WithUser(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:198
Aws::DataSync::Model::DescribeLocationSmbResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeLocationSmbResult.h:287
Aws::DataSync::Model::DescribeLocationSmbResult::WithUser
DescribeLocationSmbResult & WithUser(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:192
Aws::DataSync::Model::DescribeLocationSmbResult::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: DescribeLocationSmbResult.h:46
Aws::DataSync::Model::DescribeLocationSmbResult::GetMountOptions
const SmbMountOptions & GetMountOptions() const
Definition: DescribeLocationSmbResult.h:247
Aws::DataSync::Model::DescribeLocationSmbResult::WithMountOptions
DescribeLocationSmbResult & WithMountOptions(const SmbMountOptions &value)
Definition: DescribeLocationSmbResult.h:265
Aws::DataSync::Model::DescribeLocationSmbResult::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: DescribeLocationSmbResult.h:82
AWSString.h
Aws::DataSync::Model::DescribeLocationSmbResult::GetDomain
const Aws::String & GetDomain() const
Definition: DescribeLocationSmbResult.h:210
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeLocationSmbResult::GetAgentArns
const Aws::Vector< Aws::String > & GetAgentArns() const
Definition: DescribeLocationSmbResult.h:119
Aws::DataSync::Model::DescribeLocationSmbResult::WithCreationTime
DescribeLocationSmbResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeLocationSmbResult.h:292
Aws::DataSync::Model::DescribeLocationSmbResult::WithDomain
DescribeLocationSmbResult & WithDomain(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:230
Aws::DataSync::Model::DescribeLocationSmbResult::DescribeLocationSmbResult
DescribeLocationSmbResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::DescribeLocationSmbResult::SetMountOptions
void SetMountOptions(const SmbMountOptions &value)
Definition: DescribeLocationSmbResult.h:253
Aws::DataSync::Model::DescribeLocationSmbResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeLocationSmbResult.h:282
Aws::DataSync::Model::DescribeLocationSmbResult::WithDomain
DescribeLocationSmbResult & WithDomain(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:235
Aws::DataSync::Model::DescribeLocationSmbResult::SetDomain
void SetDomain(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:215
Aws::DataSync::Model::DescribeLocationSmbResult
Definition: DescribeLocationSmbResult.h:36
Aws::DataSync::Model::DescribeLocationSmbResult::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:56
Aws::DataSync::Model::DescribeLocationSmbResult::SetDomain
void SetDomain(const char *value)
Definition: DescribeLocationSmbResult.h:225
Aws::DataSync::Model::DescribeLocationSmbResult::SetMountOptions
void SetMountOptions(SmbMountOptions &&value)
Definition: DescribeLocationSmbResult.h:259
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::DescribeLocationSmbResult::DescribeLocationSmbResult
DescribeLocationSmbResult()
Aws::DataSync::Model::DescribeLocationSmbResult::WithLocationUri
DescribeLocationSmbResult & WithLocationUri(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:107
Aws::DataSync::Model::DescribeLocationSmbResult::SetAgentArns
void SetAgentArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocationSmbResult.h:131
Aws::DataSync::Model::DescribeLocationSmbResult::AddAgentArns
DescribeLocationSmbResult & AddAgentArns(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::DescribeLocationSmbResult::AddAgentArns
DescribeLocationSmbResult & AddAgentArns(Aws::String &&value)
Definition: DescribeLocationSmbResult.h:155
Aws::DataSync::Model::DescribeLocationSmbResult::SetAgentArns
void SetAgentArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocationSmbResult.h:125
Aws::DataSync::Model::DescribeLocationSmbResult::WithCreationTime
DescribeLocationSmbResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeLocationSmbResult.h:297
Aws::DataSync::Model::DescribeLocationSmbResult::operator=
DescribeLocationSmbResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::DescribeLocationSmbResult::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: DescribeLocationSmbResult.h:51