AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssignTapePoolRequest.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
22 {
23 public:
24 AWS_STORAGEGATEWAY_API AssignTapePoolRequest() = 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 "AssignTapePool"; }
31
32 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
33
34 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetTapeARN() const { return m_tapeARN; }
43 inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
44 template<typename TapeARNT = Aws::String>
45 void SetTapeARN(TapeARNT&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::forward<TapeARNT>(value); }
46 template<typename TapeARNT = Aws::String>
47 AssignTapePoolRequest& WithTapeARN(TapeARNT&& value) { SetTapeARN(std::forward<TapeARNT>(value)); return *this;}
49
51
58 inline const Aws::String& GetPoolId() const { return m_poolId; }
59 inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; }
60 template<typename PoolIdT = Aws::String>
61 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet = true; m_poolId = std::forward<PoolIdT>(value); }
62 template<typename PoolIdT = Aws::String>
63 AssignTapePoolRequest& WithPoolId(PoolIdT&& value) { SetPoolId(std::forward<PoolIdT>(value)); return *this;}
65
67
76 inline bool GetBypassGovernanceRetention() const { return m_bypassGovernanceRetention; }
77 inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; }
78 inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; }
81 private:
82
83 Aws::String m_tapeARN;
84 bool m_tapeARNHasBeenSet = false;
85
86 Aws::String m_poolId;
87 bool m_poolIdHasBeenSet = false;
88
89 bool m_bypassGovernanceRetention{false};
90 bool m_bypassGovernanceRetentionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace StorageGateway
95} // namespace Aws
virtual const char * GetServiceRequestName() const override
AssignTapePoolRequest & WithBypassGovernanceRetention(bool value)
AssignTapePoolRequest & WithTapeARN(TapeARNT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AssignTapePoolRequest & WithPoolId(PoolIdT &&value)
AWS_STORAGEGATEWAY_API AssignTapePoolRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String