AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetJobOutputRequest.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Glacier
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_GLACIER_API GetJobOutputRequest() = default;
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 "GetJobOutput"; }
35
36 AWS_GLACIER_API Aws::String SerializePayload() const override;
37
39
40
42
49 inline const Aws::String& GetAccountId() const { return m_accountId; }
50 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
51 template<typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
53 template<typename AccountIdT = Aws::String>
54 GetJobOutputRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetVaultName() const { return m_vaultName; }
62 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
63 template<typename VaultNameT = Aws::String>
64 void SetVaultName(VaultNameT&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::forward<VaultNameT>(value); }
65 template<typename VaultNameT = Aws::String>
66 GetJobOutputRequest& WithVaultName(VaultNameT&& value) { SetVaultName(std::forward<VaultNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetJobId() const { return m_jobId; }
74 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
75 template<typename JobIdT = Aws::String>
76 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
77 template<typename JobIdT = Aws::String>
78 GetJobOutputRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
80
82
106 inline const Aws::String& GetRange() const { return m_range; }
107 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
108 template<typename RangeT = Aws::String>
109 void SetRange(RangeT&& value) { m_rangeHasBeenSet = true; m_range = std::forward<RangeT>(value); }
110 template<typename RangeT = Aws::String>
111 GetJobOutputRequest& WithRange(RangeT&& value) { SetRange(std::forward<RangeT>(value)); return *this;}
113 private:
114
115 Aws::String m_accountId;
116 bool m_accountIdHasBeenSet = false;
117
118 Aws::String m_vaultName;
119 bool m_vaultNameHasBeenSet = false;
120
121 Aws::String m_jobId;
122 bool m_jobIdHasBeenSet = false;
123
124 Aws::String m_range;
125 bool m_rangeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Glacier
130} // namespace Aws
GetJobOutputRequest & WithVaultName(VaultNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLACIER_API GetJobOutputRequest()=default
AWS_GLACIER_API Aws::String SerializePayload() const override
GetJobOutputRequest & WithAccountId(AccountIdT &&value)
GetJobOutputRequest & WithRange(RangeT &&value)
GetJobOutputRequest & WithJobId(JobIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String