AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
43 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
44 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
45 inline UpdateGatewayInformationRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
46 inline UpdateGatewayInformationRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
47 inline UpdateGatewayInformationRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
49
51
52 inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
53 inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
54 inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; }
55 inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); }
56 inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); }
57 inline UpdateGatewayInformationRequest& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
58 inline UpdateGatewayInformationRequest& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
59 inline UpdateGatewayInformationRequest& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
61
63
66 inline const Aws::String& GetGatewayTimezone() const{ return m_gatewayTimezone; }
67 inline bool GatewayTimezoneHasBeenSet() const { return m_gatewayTimezoneHasBeenSet; }
68 inline void SetGatewayTimezone(const Aws::String& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = value; }
69 inline void SetGatewayTimezone(Aws::String&& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = std::move(value); }
70 inline void SetGatewayTimezone(const char* value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone.assign(value); }
72 inline UpdateGatewayInformationRequest& WithGatewayTimezone(Aws::String&& value) { SetGatewayTimezone(std::move(value)); return *this;}
73 inline UpdateGatewayInformationRequest& WithGatewayTimezone(const char* value) { SetGatewayTimezone(value); return *this;}
75
77
84 inline const Aws::String& GetCloudWatchLogGroupARN() const{ return m_cloudWatchLogGroupARN; }
85 inline bool CloudWatchLogGroupARNHasBeenSet() const { return m_cloudWatchLogGroupARNHasBeenSet; }
86 inline void SetCloudWatchLogGroupARN(const Aws::String& value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN = value; }
87 inline void SetCloudWatchLogGroupARN(Aws::String&& value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN = std::move(value); }
88 inline void SetCloudWatchLogGroupARN(const char* value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN.assign(value); }
93
95
102 inline const GatewayCapacity& GetGatewayCapacity() const{ return m_gatewayCapacity; }
103 inline bool GatewayCapacityHasBeenSet() const { return m_gatewayCapacityHasBeenSet; }
104 inline void SetGatewayCapacity(const GatewayCapacity& value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = value; }
105 inline void SetGatewayCapacity(GatewayCapacity&& value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = std::move(value); }
109 private:
110
111 Aws::String m_gatewayARN;
112 bool m_gatewayARNHasBeenSet = false;
113
114 Aws::String m_gatewayName;
115 bool m_gatewayNameHasBeenSet = false;
116
117 Aws::String m_gatewayTimezone;
118 bool m_gatewayTimezoneHasBeenSet = false;
119
120 Aws::String m_cloudWatchLogGroupARN;
121 bool m_cloudWatchLogGroupARNHasBeenSet = false;
122
123 GatewayCapacity m_gatewayCapacity;
124 bool m_gatewayCapacityHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace StorageGateway
129} // namespace Aws
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(const char *value)
UpdateGatewayInformationRequest & WithGatewayARN(const char *value)
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(const Aws::String &value)
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(Aws::String &&value)
UpdateGatewayInformationRequest & WithGatewayARN(const Aws::String &value)
UpdateGatewayInformationRequest & WithGatewayCapacity(GatewayCapacity &&value)
UpdateGatewayInformationRequest & WithGatewayARN(Aws::String &&value)
UpdateGatewayInformationRequest & WithGatewayTimezone(const char *value)
UpdateGatewayInformationRequest & WithGatewayName(const char *value)
UpdateGatewayInformationRequest & WithGatewayName(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateGatewayInformationRequest & WithGatewayCapacity(const GatewayCapacity &value)
UpdateGatewayInformationRequest & WithGatewayTimezone(Aws::String &&value)
UpdateGatewayInformationRequest & WithGatewayName(const Aws::String &value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
UpdateGatewayInformationRequest & WithGatewayTimezone(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String