AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateGatewayInformationRequest.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/backup-gateway/BackupGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace BackupGateway
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_BACKUPGATEWAY_API UpdateGatewayInformationRequest() = default;
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 "UpdateGatewayInformation"; }
31
32 AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override;
33
34 AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
42 inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
43 template<typename GatewayArnT = Aws::String>
44 void SetGatewayArn(GatewayArnT&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::forward<GatewayArnT>(value); }
45 template<typename GatewayArnT = Aws::String>
46 UpdateGatewayInformationRequest& WithGatewayArn(GatewayArnT&& value) { SetGatewayArn(std::forward<GatewayArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetGatewayDisplayName() const { return m_gatewayDisplayName; }
54 inline bool GatewayDisplayNameHasBeenSet() const { return m_gatewayDisplayNameHasBeenSet; }
55 template<typename GatewayDisplayNameT = Aws::String>
56 void SetGatewayDisplayName(GatewayDisplayNameT&& value) { m_gatewayDisplayNameHasBeenSet = true; m_gatewayDisplayName = std::forward<GatewayDisplayNameT>(value); }
57 template<typename GatewayDisplayNameT = Aws::String>
58 UpdateGatewayInformationRequest& WithGatewayDisplayName(GatewayDisplayNameT&& value) { SetGatewayDisplayName(std::forward<GatewayDisplayNameT>(value)); return *this;}
60 private:
61
62 Aws::String m_gatewayArn;
63 bool m_gatewayArnHasBeenSet = false;
64
65 Aws::String m_gatewayDisplayName;
66 bool m_gatewayDisplayNameHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace BackupGateway
71} // namespace Aws
UpdateGatewayInformationRequest & WithGatewayDisplayName(GatewayDisplayNameT &&value)
UpdateGatewayInformationRequest & WithGatewayArn(GatewayArnT &&value)
AWS_BACKUPGATEWAY_API UpdateGatewayInformationRequest()=default
AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String