AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateSMBSecurityStrategyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateSMBSecurityStrategy"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
38 
39  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
40 
41 
42  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
43 
44 
45  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
46 
47 
48  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
49 
50 
51  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
52 
53 
54  inline UpdateSMBSecurityStrategyRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
55 
56 
57  inline UpdateSMBSecurityStrategyRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
58 
59 
60  inline UpdateSMBSecurityStrategyRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
61 
62 
76  inline const SMBSecurityStrategy& GetSMBSecurityStrategy() const{ return m_sMBSecurityStrategy; }
77 
91  inline bool SMBSecurityStrategyHasBeenSet() const { return m_sMBSecurityStrategyHasBeenSet; }
92 
106  inline void SetSMBSecurityStrategy(const SMBSecurityStrategy& value) { m_sMBSecurityStrategyHasBeenSet = true; m_sMBSecurityStrategy = value; }
107 
121  inline void SetSMBSecurityStrategy(SMBSecurityStrategy&& value) { m_sMBSecurityStrategyHasBeenSet = true; m_sMBSecurityStrategy = std::move(value); }
122 
136  inline UpdateSMBSecurityStrategyRequest& WithSMBSecurityStrategy(const SMBSecurityStrategy& value) { SetSMBSecurityStrategy(value); return *this;}
137 
151  inline UpdateSMBSecurityStrategyRequest& WithSMBSecurityStrategy(SMBSecurityStrategy&& value) { SetSMBSecurityStrategy(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_gatewayARN;
156  bool m_gatewayARNHasBeenSet;
157 
158  SMBSecurityStrategy m_sMBSecurityStrategy;
159  bool m_sMBSecurityStrategyHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace StorageGateway
164 } // namespace Aws
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::UpdateSMBSecurityStrategyRequest
UpdateSMBSecurityStrategyRequest()
Aws::StorageGateway::Model::SMBSecurityStrategy
SMBSecurityStrategy
Definition: SMBSecurityStrategy.h:17
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SetSMBSecurityStrategy
void SetSMBSecurityStrategy(SMBSecurityStrategy &&value)
Definition: UpdateSMBSecurityStrategyRequest.h:121
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SMBSecurityStrategyHasBeenSet
bool SMBSecurityStrategyHasBeenSet() const
Definition: UpdateSMBSecurityStrategyRequest.h:91
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::WithGatewayARN
UpdateSMBSecurityStrategyRequest & WithGatewayARN(const char *value)
Definition: UpdateSMBSecurityStrategyRequest.h:60
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SetSMBSecurityStrategy
void SetSMBSecurityStrategy(const SMBSecurityStrategy &value)
Definition: UpdateSMBSecurityStrategyRequest.h:106
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::WithGatewayARN
UpdateSMBSecurityStrategyRequest & WithGatewayARN(const Aws::String &value)
Definition: UpdateSMBSecurityStrategyRequest.h:54
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateSMBSecurityStrategyRequest.h:39
SMBSecurityStrategy.h
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::WithSMBSecurityStrategy
UpdateSMBSecurityStrategyRequest & WithSMBSecurityStrategy(SMBSecurityStrategy &&value)
Definition: UpdateSMBSecurityStrategyRequest.h:151
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateSMBSecurityStrategyRequest.h:48
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateSMBSecurityStrategyRequest.h:31
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::GetSMBSecurityStrategy
const SMBSecurityStrategy & GetSMBSecurityStrategy() const
Definition: UpdateSMBSecurityStrategyRequest.h:76
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: UpdateSMBSecurityStrategyRequest.h:42
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::WithSMBSecurityStrategy
UpdateSMBSecurityStrategyRequest & WithSMBSecurityStrategy(const SMBSecurityStrategy &value)
Definition: UpdateSMBSecurityStrategyRequest.h:136
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateSMBSecurityStrategyRequest.h:51
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest
Definition: UpdateSMBSecurityStrategyRequest.h:23
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateSMBSecurityStrategyRequest.h:45
Aws::StorageGateway::Model::UpdateSMBSecurityStrategyRequest::WithGatewayARN
UpdateSMBSecurityStrategyRequest & WithGatewayARN(Aws::String &&value)
Definition: UpdateSMBSecurityStrategyRequest.h:57
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97