AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartGatewayRequest.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 <utility>
11
12namespace Aws
13{
14namespace StorageGateway
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_STORAGEGATEWAY_API StartGatewayRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartGateway"; }
35
36 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
43 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
44 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
45 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
46 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
47 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
48 inline StartGatewayRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
49 inline StartGatewayRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
50 inline StartGatewayRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
52 private:
53
54 Aws::String m_gatewayARN;
55 bool m_gatewayARNHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace StorageGateway
60} // namespace Aws
StartGatewayRequest & WithGatewayARN(const char *value)
StartGatewayRequest & WithGatewayARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartGatewayRequest & WithGatewayARN(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String