AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateSMBFileShareVisibilityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateSMBFileShareVisibility"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
37 
38  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 
40 
41  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
42 
43 
44  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
45 
46 
47  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
48 
49 
50  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
51 
52 
53  inline UpdateSMBFileShareVisibilityRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
54 
55 
56  inline UpdateSMBFileShareVisibilityRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
57 
58 
59  inline UpdateSMBFileShareVisibilityRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
60 
61 
65  inline bool GetFileSharesVisible() const{ return m_fileSharesVisible; }
66 
70  inline bool FileSharesVisibleHasBeenSet() const { return m_fileSharesVisibleHasBeenSet; }
71 
75  inline void SetFileSharesVisible(bool value) { m_fileSharesVisibleHasBeenSet = true; m_fileSharesVisible = value; }
76 
80  inline UpdateSMBFileShareVisibilityRequest& WithFileSharesVisible(bool value) { SetFileSharesVisible(value); return *this;}
81 
82  private:
83 
84  Aws::String m_gatewayARN;
85  bool m_gatewayARNHasBeenSet;
86 
87  bool m_fileSharesVisible;
88  bool m_fileSharesVisibleHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace StorageGateway
93 } // namespace Aws
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest
Definition: UpdateSMBFileShareVisibilityRequest.h:22
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateSMBFileShareVisibilityRequest.h:44
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::GetFileSharesVisible
bool GetFileSharesVisible() const
Definition: UpdateSMBFileShareVisibilityRequest.h:65
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::FileSharesVisibleHasBeenSet
bool FileSharesVisibleHasBeenSet() const
Definition: UpdateSMBFileShareVisibilityRequest.h:70
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: UpdateSMBFileShareVisibilityRequest.h:41
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::WithGatewayARN
UpdateSMBFileShareVisibilityRequest & WithGatewayARN(Aws::String &&value)
Definition: UpdateSMBFileShareVisibilityRequest.h:56
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::UpdateSMBFileShareVisibilityRequest
UpdateSMBFileShareVisibilityRequest()
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateSMBFileShareVisibilityRequest.h:47
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateSMBFileShareVisibilityRequest.h:38
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::WithFileSharesVisible
UpdateSMBFileShareVisibilityRequest & WithFileSharesVisible(bool value)
Definition: UpdateSMBFileShareVisibilityRequest.h:80
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::WithGatewayARN
UpdateSMBFileShareVisibilityRequest & WithGatewayARN(const Aws::String &value)
Definition: UpdateSMBFileShareVisibilityRequest.h:53
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateSMBFileShareVisibilityRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateSMBFileShareVisibilityRequest.h:30
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::WithGatewayARN
UpdateSMBFileShareVisibilityRequest & WithGatewayARN(const char *value)
Definition: UpdateSMBFileShareVisibilityRequest.h:59
Aws::StorageGateway::Model::UpdateSMBFileShareVisibilityRequest::SetFileSharesVisible
void SetFileSharesVisible(bool value)
Definition: UpdateSMBFileShareVisibilityRequest.h:75