AWS SDK for C++  1.9.104
AWS SDK for C++
GetJobOutputRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glacier
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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::String SerializePayload() const override;
37 
39 
40 
48  inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 
57  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
58 
66  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
67 
75  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
76 
84  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
85 
93  inline GetJobOutputRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
94 
102  inline GetJobOutputRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
103 
111  inline GetJobOutputRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
112 
113 
117  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
118 
122  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
123 
127  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
128 
132  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
133 
137  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
138 
142  inline GetJobOutputRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
143 
147  inline GetJobOutputRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
148 
152  inline GetJobOutputRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
153 
154 
158  inline const Aws::String& GetJobId() const{ return m_jobId; }
159 
163  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
164 
168  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
169 
173  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
174 
178  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
179 
183  inline GetJobOutputRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
184 
188  inline GetJobOutputRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
189 
193  inline GetJobOutputRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
194 
195 
220  inline const Aws::String& GetRange() const{ return m_range; }
221 
246  inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
247 
272  inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
273 
298  inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
299 
324  inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
325 
350  inline GetJobOutputRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
351 
376  inline GetJobOutputRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;}
377 
402  inline GetJobOutputRequest& WithRange(const char* value) { SetRange(value); return *this;}
403 
404  private:
405 
406  Aws::String m_accountId;
407  bool m_accountIdHasBeenSet;
408 
409  Aws::String m_vaultName;
410  bool m_vaultNameHasBeenSet;
411 
412  Aws::String m_jobId;
413  bool m_jobIdHasBeenSet;
414 
415  Aws::String m_range;
416  bool m_rangeHasBeenSet;
417  };
418 
419 } // namespace Model
420 } // namespace Glacier
421 } // namespace Aws
Aws::Glacier::Model::GetJobOutputRequest::SetRange
void SetRange(const Aws::String &value)
Definition: GetJobOutputRequest.h:272
Aws::Glacier::Model::GetJobOutputRequest::SetRange
void SetRange(const char *value)
Definition: GetJobOutputRequest.h:324
Aws::Glacier::Model::GetJobOutputRequest::WithJobId
GetJobOutputRequest & WithJobId(Aws::String &&value)
Definition: GetJobOutputRequest.h:188
Aws::Glacier::Model::GetJobOutputRequest
Definition: GetJobOutputRequest.h:26
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glacier::Model::GetJobOutputRequest::SetRange
void SetRange(Aws::String &&value)
Definition: GetJobOutputRequest.h:298
Aws::Glacier::Model::GetJobOutputRequest::WithVaultName
GetJobOutputRequest & WithVaultName(const char *value)
Definition: GetJobOutputRequest.h:152
Aws::Glacier::Model::GetJobOutputRequest::SetAccountId
void SetAccountId(const char *value)
Definition: GetJobOutputRequest.h:84
Aws::Glacier::Model::GetJobOutputRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetJobOutputRequest.h:168
Aws::Glacier::Model::GetJobOutputRequest::GetRange
const Aws::String & GetRange() const
Definition: GetJobOutputRequest.h:220
Aws::Glacier::Model::GetJobOutputRequest::WithJobId
GetJobOutputRequest & WithJobId(const Aws::String &value)
Definition: GetJobOutputRequest.h:183
Aws::Glacier::Model::GetJobOutputRequest::WithJobId
GetJobOutputRequest & WithJobId(const char *value)
Definition: GetJobOutputRequest.h:193
Aws::Glacier::Model::GetJobOutputRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: GetJobOutputRequest.h:117
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::GetJobOutputRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::GetJobOutputRequest::WithVaultName
GetJobOutputRequest & WithVaultName(Aws::String &&value)
Definition: GetJobOutputRequest.h:147
Aws::Glacier::Model::GetJobOutputRequest::WithRange
GetJobOutputRequest & WithRange(const Aws::String &value)
Definition: GetJobOutputRequest.h:350
Aws::Glacier::Model::GetJobOutputRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: GetJobOutputRequest.h:132
Aws::Glacier::Model::GetJobOutputRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: GetJobOutputRequest.h:66
Aws::Glacier::Model::GetJobOutputRequest::WithAccountId
GetJobOutputRequest & WithAccountId(const char *value)
Definition: GetJobOutputRequest.h:111
AWSString.h
Aws::Glacier::Model::GetJobOutputRequest::WithRange
GetJobOutputRequest & WithRange(const char *value)
Definition: GetJobOutputRequest.h:402
Aws::Glacier::Model::GetJobOutputRequest::WithVaultName
GetJobOutputRequest & WithVaultName(const Aws::String &value)
Definition: GetJobOutputRequest.h:142
GlacierRequest.h
Aws::Glacier::Model::GetJobOutputRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: GetJobOutputRequest.h:127
Aws::Glacier::Model::GetJobOutputRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetJobOutputRequest.h:34
Aws::Glacier::Model::GetJobOutputRequest::SetVaultName
void SetVaultName(const char *value)
Definition: GetJobOutputRequest.h:137
Aws::Glacier::Model::GetJobOutputRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetJobOutputRequest.h:163
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::GetJobOutputRequest::WithAccountId
GetJobOutputRequest & WithAccountId(Aws::String &&value)
Definition: GetJobOutputRequest.h:102
Aws::Glacier::Model::GetJobOutputRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::GetJobOutputRequest::WithAccountId
GetJobOutputRequest & WithAccountId(const Aws::String &value)
Definition: GetJobOutputRequest.h:93
Aws::Glacier::Model::GetJobOutputRequest::GetJobOutputRequest
GetJobOutputRequest()
Aws::Glacier::Model::GetJobOutputRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetJobOutputRequest.h:158
Aws::Glacier::Model::GetJobOutputRequest::WithRange
GetJobOutputRequest & WithRange(Aws::String &&value)
Definition: GetJobOutputRequest.h:376
Aws::Glacier::Model::GetJobOutputRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetJobOutputRequest.h:173
Aws::Glacier::Model::GetJobOutputRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: GetJobOutputRequest.h:57
Aws::Glacier::Model::GetJobOutputRequest::RangeHasBeenSet
bool RangeHasBeenSet() const
Definition: GetJobOutputRequest.h:246
Aws::Glacier::Model::GetJobOutputRequest::SetJobId
void SetJobId(const char *value)
Definition: GetJobOutputRequest.h:178
Aws::Glacier::Model::GetJobOutputRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: GetJobOutputRequest.h:48
Aws::Glacier::Model::GetJobOutputRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: GetJobOutputRequest.h:75
Aws::Glacier::Model::GetJobOutputRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: GetJobOutputRequest.h:122
Glacier_EXPORTS.h