AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
52 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
53 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
54 inline GetJobOutputRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
55 inline GetJobOutputRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
56 inline GetJobOutputRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
58
60
63 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
64 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
65 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
66 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
67 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
68 inline GetJobOutputRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
69 inline GetJobOutputRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
70 inline GetJobOutputRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
72
74
77 inline const Aws::String& GetJobId() const{ return m_jobId; }
78 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
79 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
80 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
81 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
82 inline GetJobOutputRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
83 inline GetJobOutputRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
84 inline GetJobOutputRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
86
88
112 inline const Aws::String& GetRange() const{ return m_range; }
113 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
114 inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
115 inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
116 inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
117 inline GetJobOutputRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
118 inline GetJobOutputRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;}
119 inline GetJobOutputRequest& WithRange(const char* value) { SetRange(value); return *this;}
121 private:
122
123 Aws::String m_accountId;
124 bool m_accountIdHasBeenSet = false;
125
126 Aws::String m_vaultName;
127 bool m_vaultNameHasBeenSet = false;
128
129 Aws::String m_jobId;
130 bool m_jobIdHasBeenSet = false;
131
132 Aws::String m_range;
133 bool m_rangeHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glacier
138} // namespace Aws
void SetRange(const Aws::String &value)
void SetVaultName(const Aws::String &value)
void SetAccountId(const Aws::String &value)
GetJobOutputRequest & WithVaultName(const Aws::String &value)
GetJobOutputRequest & WithRange(const Aws::String &value)
GetJobOutputRequest & WithJobId(Aws::String &&value)
GetJobOutputRequest & WithRange(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetJobOutputRequest & WithVaultName(const char *value)
GetJobOutputRequest & WithJobId(const char *value)
GetJobOutputRequest & WithAccountId(const Aws::String &value)
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLACIER_API Aws::String SerializePayload() const override
GetJobOutputRequest & WithAccountId(const char *value)
GetJobOutputRequest & WithRange(const char *value)
GetJobOutputRequest & WithAccountId(Aws::String &&value)
GetJobOutputRequest & WithJobId(const Aws::String &value)
void SetJobId(const Aws::String &value)
GetJobOutputRequest & WithVaultName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String