AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateGatewayInformationRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/storagegateway/model/GatewayCapacity.h>
11#include <utility>
12
13namespace Aws
14{
15namespace StorageGateway
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_STORAGEGATEWAY_API UpdateGatewayInformationRequest() = default;
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 "UpdateGatewayInformation"; }
32
33 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
34
35 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
40 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
41 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
42 template<typename GatewayARNT = Aws::String>
43 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
44 template<typename GatewayARNT = Aws::String>
45 UpdateGatewayInformationRequest& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
47
49
50 inline const Aws::String& GetGatewayName() const { return m_gatewayName; }
51 inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
52 template<typename GatewayNameT = Aws::String>
53 void SetGatewayName(GatewayNameT&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::forward<GatewayNameT>(value); }
54 template<typename GatewayNameT = Aws::String>
55 UpdateGatewayInformationRequest& WithGatewayName(GatewayNameT&& value) { SetGatewayName(std::forward<GatewayNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetGatewayTimezone() const { return m_gatewayTimezone; }
63 inline bool GatewayTimezoneHasBeenSet() const { return m_gatewayTimezoneHasBeenSet; }
64 template<typename GatewayTimezoneT = Aws::String>
65 void SetGatewayTimezone(GatewayTimezoneT&& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = std::forward<GatewayTimezoneT>(value); }
66 template<typename GatewayTimezoneT = Aws::String>
67 UpdateGatewayInformationRequest& WithGatewayTimezone(GatewayTimezoneT&& value) { SetGatewayTimezone(std::forward<GatewayTimezoneT>(value)); return *this;}
69
71
78 inline const Aws::String& GetCloudWatchLogGroupARN() const { return m_cloudWatchLogGroupARN; }
79 inline bool CloudWatchLogGroupARNHasBeenSet() const { return m_cloudWatchLogGroupARNHasBeenSet; }
80 template<typename CloudWatchLogGroupARNT = Aws::String>
81 void SetCloudWatchLogGroupARN(CloudWatchLogGroupARNT&& value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN = std::forward<CloudWatchLogGroupARNT>(value); }
82 template<typename CloudWatchLogGroupARNT = Aws::String>
83 UpdateGatewayInformationRequest& WithCloudWatchLogGroupARN(CloudWatchLogGroupARNT&& value) { SetCloudWatchLogGroupARN(std::forward<CloudWatchLogGroupARNT>(value)); return *this;}
85
87
94 inline GatewayCapacity GetGatewayCapacity() const { return m_gatewayCapacity; }
95 inline bool GatewayCapacityHasBeenSet() const { return m_gatewayCapacityHasBeenSet; }
96 inline void SetGatewayCapacity(GatewayCapacity value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = value; }
99 private:
100
101 Aws::String m_gatewayARN;
102 bool m_gatewayARNHasBeenSet = false;
103
104 Aws::String m_gatewayName;
105 bool m_gatewayNameHasBeenSet = false;
106
107 Aws::String m_gatewayTimezone;
108 bool m_gatewayTimezoneHasBeenSet = false;
109
110 Aws::String m_cloudWatchLogGroupARN;
111 bool m_cloudWatchLogGroupARNHasBeenSet = false;
112
113 GatewayCapacity m_gatewayCapacity{GatewayCapacity::NOT_SET};
114 bool m_gatewayCapacityHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace StorageGateway
119} // namespace Aws
UpdateGatewayInformationRequest & WithGatewayTimezone(GatewayTimezoneT &&value)
UpdateGatewayInformationRequest & WithGatewayCapacity(GatewayCapacity value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API UpdateGatewayInformationRequest()=default
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(CloudWatchLogGroupARNT &&value)
UpdateGatewayInformationRequest & WithGatewayName(GatewayNameT &&value)
UpdateGatewayInformationRequest & WithGatewayARN(GatewayARNT &&value)
AWS_STORAGEGATEWAY_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