AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <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 DescribeLocationSmbResult();
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 DescribeLocationSmbResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
52 inline DescribeLocationSmbResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
53 inline DescribeLocationSmbResult& 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 DescribeLocationSmbResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
65 inline DescribeLocationSmbResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
66 inline DescribeLocationSmbResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
75 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
76 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
78 inline DescribeLocationSmbResult& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
79 inline DescribeLocationSmbResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
80 inline DescribeLocationSmbResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
81 inline DescribeLocationSmbResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
83
85
89 inline const Aws::String& GetUser() const{ return m_user; }
90 inline void SetUser(const Aws::String& value) { m_user = value; }
91 inline void SetUser(Aws::String&& value) { m_user = std::move(value); }
92 inline void SetUser(const char* value) { m_user.assign(value); }
93 inline DescribeLocationSmbResult& WithUser(const Aws::String& value) { SetUser(value); return *this;}
94 inline DescribeLocationSmbResult& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
95 inline DescribeLocationSmbResult& WithUser(const char* value) { SetUser(value); return *this;}
97
99
103 inline const Aws::String& GetDomain() const{ return m_domain; }
104 inline void SetDomain(const Aws::String& value) { m_domain = value; }
105 inline void SetDomain(Aws::String&& value) { m_domain = std::move(value); }
106 inline void SetDomain(const char* value) { m_domain.assign(value); }
107 inline DescribeLocationSmbResult& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
108 inline DescribeLocationSmbResult& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
109 inline DescribeLocationSmbResult& WithDomain(const char* value) { SetDomain(value); return *this;}
111
113
116 inline const SmbMountOptions& GetMountOptions() const{ return m_mountOptions; }
117 inline void SetMountOptions(const SmbMountOptions& value) { m_mountOptions = value; }
118 inline void SetMountOptions(SmbMountOptions&& value) { m_mountOptions = std::move(value); }
119 inline DescribeLocationSmbResult& WithMountOptions(const SmbMountOptions& value) { SetMountOptions(value); return *this;}
120 inline DescribeLocationSmbResult& WithMountOptions(SmbMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
128 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
129 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
131 inline DescribeLocationSmbResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
133
135
136 inline const Aws::String& GetRequestId() const{ return m_requestId; }
137 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
138 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
140 inline DescribeLocationSmbResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
141 inline DescribeLocationSmbResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
142 inline DescribeLocationSmbResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
144 private:
145
146 Aws::String m_locationArn;
147
148 Aws::String m_locationUri;
149
150 Aws::Vector<Aws::String> m_agentArns;
151
152 Aws::String m_user;
153
154 Aws::String m_domain;
155
156 SmbMountOptions m_mountOptions;
157
158 Aws::Utils::DateTime m_creationTime;
159
160 Aws::String m_requestId;
161 };
162
163} // namespace Model
164} // namespace DataSync
165} // namespace Aws
DescribeLocationSmbResult & WithLocationArn(const Aws::String &value)
DescribeLocationSmbResult & WithLocationArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationSmbResult & AddAgentArns(const char *value)
DescribeLocationSmbResult & AddAgentArns(const Aws::String &value)
DescribeLocationSmbResult & WithMountOptions(SmbMountOptions &&value)
DescribeLocationSmbResult & WithDomain(Aws::String &&value)
DescribeLocationSmbResult & WithRequestId(const char *value)
AWS_DATASYNC_API DescribeLocationSmbResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationSmbResult & WithUser(const char *value)
DescribeLocationSmbResult & WithDomain(const char *value)
DescribeLocationSmbResult & WithLocationUri(Aws::String &&value)
DescribeLocationSmbResult & WithUser(Aws::String &&value)
DescribeLocationSmbResult & WithRequestId(Aws::String &&value)
DescribeLocationSmbResult & WithAgentArns(Aws::Vector< Aws::String > &&value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
DescribeLocationSmbResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationSmbResult & WithAgentArns(const Aws::Vector< Aws::String > &value)
DescribeLocationSmbResult & WithLocationArn(const char *value)
DescribeLocationSmbResult & WithRequestId(const Aws::String &value)
DescribeLocationSmbResult & WithDomain(const Aws::String &value)
DescribeLocationSmbResult & WithMountOptions(const SmbMountOptions &value)
AWS_DATASYNC_API DescribeLocationSmbResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationSmbResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationSmbResult & WithLocationUri(const Aws::String &value)
DescribeLocationSmbResult & AddAgentArns(Aws::String &&value)
DescribeLocationSmbResult & WithUser(const Aws::String &value)
DescribeLocationSmbResult & WithLocationUri(const char *value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
void SetCreationTime(const Aws::Utils::DateTime &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