AWS SDK for C++  1.9.108
AWS SDK for C++
SetLocalConsolePasswordRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "SetLocalConsolePassword"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
40 
41  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
42 
43 
44  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
45 
46 
47  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
48 
49 
50  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
51 
52 
53  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
54 
55 
56  inline SetLocalConsolePasswordRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
57 
58 
59  inline SetLocalConsolePasswordRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
60 
61 
62  inline SetLocalConsolePasswordRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
63 
64 
68  inline const Aws::String& GetLocalConsolePassword() const{ return m_localConsolePassword; }
69 
73  inline bool LocalConsolePasswordHasBeenSet() const { return m_localConsolePasswordHasBeenSet; }
74 
78  inline void SetLocalConsolePassword(const Aws::String& value) { m_localConsolePasswordHasBeenSet = true; m_localConsolePassword = value; }
79 
83  inline void SetLocalConsolePassword(Aws::String&& value) { m_localConsolePasswordHasBeenSet = true; m_localConsolePassword = std::move(value); }
84 
88  inline void SetLocalConsolePassword(const char* value) { m_localConsolePasswordHasBeenSet = true; m_localConsolePassword.assign(value); }
89 
93  inline SetLocalConsolePasswordRequest& WithLocalConsolePassword(const Aws::String& value) { SetLocalConsolePassword(value); return *this;}
94 
98  inline SetLocalConsolePasswordRequest& WithLocalConsolePassword(Aws::String&& value) { SetLocalConsolePassword(std::move(value)); return *this;}
99 
103  inline SetLocalConsolePasswordRequest& WithLocalConsolePassword(const char* value) { SetLocalConsolePassword(value); return *this;}
104 
105  private:
106 
107  Aws::String m_gatewayARN;
108  bool m_gatewayARNHasBeenSet;
109 
110  Aws::String m_localConsolePassword;
111  bool m_localConsolePasswordHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace StorageGateway
116 } // namespace Aws
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetLocalConsolePassword
void SetLocalConsolePassword(const char *value)
Definition: SetLocalConsolePasswordRequest.h:88
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::GetLocalConsolePassword
const Aws::String & GetLocalConsolePassword() const
Definition: SetLocalConsolePasswordRequest.h:68
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: SetLocalConsolePasswordRequest.h:50
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::WithGatewayARN
SetLocalConsolePasswordRequest & WithGatewayARN(Aws::String &&value)
Definition: SetLocalConsolePasswordRequest.h:59
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest
Definition: SetLocalConsolePasswordRequest.h:25
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetLocalConsolePasswordRequest
SetLocalConsolePasswordRequest()
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::WithLocalConsolePassword
SetLocalConsolePasswordRequest & WithLocalConsolePassword(const char *value)
Definition: SetLocalConsolePasswordRequest.h:103
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: SetLocalConsolePasswordRequest.h:53
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetLocalConsolePassword
void SetLocalConsolePassword(const Aws::String &value)
Definition: SetLocalConsolePasswordRequest.h:78
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::WithLocalConsolePassword
SetLocalConsolePasswordRequest & WithLocalConsolePassword(Aws::String &&value)
Definition: SetLocalConsolePasswordRequest.h:98
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::WithGatewayARN
SetLocalConsolePasswordRequest & WithGatewayARN(const char *value)
Definition: SetLocalConsolePasswordRequest.h:62
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::LocalConsolePasswordHasBeenSet
bool LocalConsolePasswordHasBeenSet() const
Definition: SetLocalConsolePasswordRequest.h:73
AWSString.h
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetLocalConsolePasswordRequest.h:33
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: SetLocalConsolePasswordRequest.h:47
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: SetLocalConsolePasswordRequest.h:41
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
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::WithGatewayARN
SetLocalConsolePasswordRequest & WithGatewayARN(const Aws::String &value)
Definition: SetLocalConsolePasswordRequest.h:56
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::WithLocalConsolePassword
SetLocalConsolePasswordRequest & WithLocalConsolePassword(const Aws::String &value)
Definition: SetLocalConsolePasswordRequest.h:93
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: SetLocalConsolePasswordRequest.h:44
Aws::StorageGateway::Model::SetLocalConsolePasswordRequest::SetLocalConsolePassword
void SetLocalConsolePassword(Aws::String &&value)
Definition: SetLocalConsolePasswordRequest.h:83