AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeSMBSettingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace StorageGateway
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
37 
38  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 
40 
41  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
42 
43 
44  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
45 
46 
47  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
48 
49 
50  inline DescribeSMBSettingsResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
51 
52 
53  inline DescribeSMBSettingsResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
54 
55 
56  inline DescribeSMBSettingsResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
57 
58 
62  inline const Aws::String& GetDomainName() const{ return m_domainName; }
63 
67  inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
68 
72  inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
73 
77  inline void SetDomainName(const char* value) { m_domainName.assign(value); }
78 
82  inline DescribeSMBSettingsResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
83 
87  inline DescribeSMBSettingsResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
88 
92  inline DescribeSMBSettingsResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
93 
94 
110  inline const ActiveDirectoryStatus& GetActiveDirectoryStatus() const{ return m_activeDirectoryStatus; }
111 
127  inline void SetActiveDirectoryStatus(const ActiveDirectoryStatus& value) { m_activeDirectoryStatus = value; }
128 
144  inline void SetActiveDirectoryStatus(ActiveDirectoryStatus&& value) { m_activeDirectoryStatus = std::move(value); }
145 
161  inline DescribeSMBSettingsResult& WithActiveDirectoryStatus(const ActiveDirectoryStatus& value) { SetActiveDirectoryStatus(value); return *this;}
162 
178  inline DescribeSMBSettingsResult& WithActiveDirectoryStatus(ActiveDirectoryStatus&& value) { SetActiveDirectoryStatus(std::move(value)); return *this;}
179 
180 
187  inline bool GetSMBGuestPasswordSet() const{ return m_sMBGuestPasswordSet; }
188 
195  inline void SetSMBGuestPasswordSet(bool value) { m_sMBGuestPasswordSet = value; }
196 
203  inline DescribeSMBSettingsResult& WithSMBGuestPasswordSet(bool value) { SetSMBGuestPasswordSet(value); return *this;}
204 
205 
221  inline const SMBSecurityStrategy& GetSMBSecurityStrategy() const{ return m_sMBSecurityStrategy; }
222 
238  inline void SetSMBSecurityStrategy(const SMBSecurityStrategy& value) { m_sMBSecurityStrategy = value; }
239 
255  inline void SetSMBSecurityStrategy(SMBSecurityStrategy&& value) { m_sMBSecurityStrategy = std::move(value); }
256 
272  inline DescribeSMBSettingsResult& WithSMBSecurityStrategy(const SMBSecurityStrategy& value) { SetSMBSecurityStrategy(value); return *this;}
273 
289  inline DescribeSMBSettingsResult& WithSMBSecurityStrategy(SMBSecurityStrategy&& value) { SetSMBSecurityStrategy(std::move(value)); return *this;}
290 
291 
296  inline bool GetFileSharesVisible() const{ return m_fileSharesVisible; }
297 
302  inline void SetFileSharesVisible(bool value) { m_fileSharesVisible = value; }
303 
308  inline DescribeSMBSettingsResult& WithFileSharesVisible(bool value) { SetFileSharesVisible(value); return *this;}
309 
310  private:
311 
312  Aws::String m_gatewayARN;
313 
314  Aws::String m_domainName;
315 
316  ActiveDirectoryStatus m_activeDirectoryStatus;
317 
318  bool m_sMBGuestPasswordSet;
319 
320  SMBSecurityStrategy m_sMBSecurityStrategy;
321 
322  bool m_fileSharesVisible;
323  };
324 
325 } // namespace Model
326 } // namespace StorageGateway
327 } // namespace Aws
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetActiveDirectoryStatus
void SetActiveDirectoryStatus(const ActiveDirectoryStatus &value)
Definition: DescribeSMBSettingsResult.h:127
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithDomainName
DescribeSMBSettingsResult & WithDomainName(const Aws::String &value)
Definition: DescribeSMBSettingsResult.h:82
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeSMBSettingsResult::GetActiveDirectoryStatus
const ActiveDirectoryStatus & GetActiveDirectoryStatus() const
Definition: DescribeSMBSettingsResult.h:110
Aws::StorageGateway::Model::SMBSecurityStrategy
SMBSecurityStrategy
Definition: SMBSecurityStrategy.h:17
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetSMBSecurityStrategy
void SetSMBSecurityStrategy(const SMBSecurityStrategy &value)
Definition: DescribeSMBSettingsResult.h:238
Aws::StorageGateway::Model::DescribeSMBSettingsResult::GetFileSharesVisible
bool GetFileSharesVisible() const
Definition: DescribeSMBSettingsResult.h:296
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithFileSharesVisible
DescribeSMBSettingsResult & WithFileSharesVisible(bool value)
Definition: DescribeSMBSettingsResult.h:308
Aws::StorageGateway::Model::DescribeSMBSettingsResult::GetSMBGuestPasswordSet
bool GetSMBGuestPasswordSet() const
Definition: DescribeSMBSettingsResult.h:187
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeSMBSettingsResult.h:41
Aws::StorageGateway::Model::DescribeSMBSettingsResult::GetSMBSecurityStrategy
const SMBSecurityStrategy & GetSMBSecurityStrategy() const
Definition: DescribeSMBSettingsResult.h:221
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetSMBSecurityStrategy
void SetSMBSecurityStrategy(SMBSecurityStrategy &&value)
Definition: DescribeSMBSettingsResult.h:255
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithGatewayARN
DescribeSMBSettingsResult & WithGatewayARN(const char *value)
Definition: DescribeSMBSettingsResult.h:56
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetSMBGuestPasswordSet
void SetSMBGuestPasswordSet(bool value)
Definition: DescribeSMBSettingsResult.h:195
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithDomainName
DescribeSMBSettingsResult & WithDomainName(Aws::String &&value)
Definition: DescribeSMBSettingsResult.h:87
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetFileSharesVisible
void SetFileSharesVisible(bool value)
Definition: DescribeSMBSettingsResult.h:302
SMBSecurityStrategy.h
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DescribeSMBSettingsResult.h:72
Aws::StorageGateway::Model::DescribeSMBSettingsResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeSMBSettingsResult.h:38
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithSMBSecurityStrategy
DescribeSMBSettingsResult & WithSMBSecurityStrategy(SMBSecurityStrategy &&value)
Definition: DescribeSMBSettingsResult.h:289
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithActiveDirectoryStatus
DescribeSMBSettingsResult & WithActiveDirectoryStatus(const ActiveDirectoryStatus &value)
Definition: DescribeSMBSettingsResult.h:161
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithGatewayARN
DescribeSMBSettingsResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeSMBSettingsResult.h:50
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithActiveDirectoryStatus
DescribeSMBSettingsResult & WithActiveDirectoryStatus(ActiveDirectoryStatus &&value)
Definition: DescribeSMBSettingsResult.h:178
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeSMBSettingsResult::operator=
DescribeSMBSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithDomainName
DescribeSMBSettingsResult & WithDomainName(const char *value)
Definition: DescribeSMBSettingsResult.h:92
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeSMBSettingsResult.h:47
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DescribeSMBSettingsResult.h:67
Aws::StorageGateway::Model::DescribeSMBSettingsResult
Definition: DescribeSMBSettingsResult.h:30
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeSMBSettingsResult.h:44
Aws::StorageGateway::Model::DescribeSMBSettingsResult::DescribeSMBSettingsResult
DescribeSMBSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ActiveDirectoryStatus
ActiveDirectoryStatus
Definition: ActiveDirectoryStatus.h:17
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithSMBGuestPasswordSet
DescribeSMBSettingsResult & WithSMBGuestPasswordSet(bool value)
Definition: DescribeSMBSettingsResult.h:203
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetActiveDirectoryStatus
void SetActiveDirectoryStatus(ActiveDirectoryStatus &&value)
Definition: DescribeSMBSettingsResult.h:144
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithGatewayARN
DescribeSMBSettingsResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeSMBSettingsResult.h:53
Aws::StorageGateway::Model::DescribeSMBSettingsResult::SetDomainName
void SetDomainName(const char *value)
Definition: DescribeSMBSettingsResult.h:77
ActiveDirectoryStatus.h
Aws::StorageGateway::Model::DescribeSMBSettingsResult::DescribeSMBSettingsResult
DescribeSMBSettingsResult()
Aws::StorageGateway::Model::DescribeSMBSettingsResult::WithSMBSecurityStrategy
DescribeSMBSettingsResult & WithSMBSecurityStrategy(const SMBSecurityStrategy &value)
Definition: DescribeSMBSettingsResult.h:272
Aws::StorageGateway::Model::DescribeSMBSettingsResult::GetDomainName
const Aws::String & GetDomainName() const
Definition: DescribeSMBSettingsResult.h:62