AWS SDK for C++  0.14.3
AWS SDK for C++
GetJobOutputRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Glacier
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
45  inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 
54  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 
63  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
64 
72  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
73 
81  inline GetJobOutputRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
82 
90  inline GetJobOutputRequest& WithAccountId(Aws::String&& value) { SetAccountId(value); return *this;}
91 
99  inline GetJobOutputRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
100 
104  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
105 
109  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
110 
114  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
115 
119  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
120 
124  inline GetJobOutputRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
125 
129  inline GetJobOutputRequest& WithVaultName(Aws::String&& value) { SetVaultName(value); return *this;}
130 
134  inline GetJobOutputRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
135 
139  inline const Aws::String& GetJobId() const{ return m_jobId; }
140 
144  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
145 
149  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
150 
154  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
155 
159  inline GetJobOutputRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
160 
164  inline GetJobOutputRequest& WithJobId(Aws::String&& value) { SetJobId(value); return *this;}
165 
169  inline GetJobOutputRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
170 
176  inline const Aws::String& GetRange() const{ return m_range; }
177 
183  inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
184 
190  inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = value; }
191 
197  inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
198 
204  inline GetJobOutputRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
205 
211  inline GetJobOutputRequest& WithRange(Aws::String&& value) { SetRange(value); return *this;}
212 
218  inline GetJobOutputRequest& WithRange(const char* value) { SetRange(value); return *this;}
219 
220  private:
221  Aws::String m_accountId;
222  bool m_accountIdHasBeenSet;
223  Aws::String m_vaultName;
224  bool m_vaultNameHasBeenSet;
225  Aws::String m_jobId;
226  bool m_jobIdHasBeenSet;
227  Aws::String m_range;
228  bool m_rangeHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace Glacier
233 } // namespace Aws
GetJobOutputRequest & WithAccountId(const char *value)
GetJobOutputRequest & WithAccountId(Aws::String &&value)
void SetVaultName(const Aws::String &value)
GetJobOutputRequest & WithRange(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
const Aws::String & GetAccountId() const
void SetJobId(const Aws::String &value)
GetJobOutputRequest & WithRange(Aws::String &&value)
void SetRange(const Aws::String &value)
GetJobOutputRequest & WithAccountId(const Aws::String &value)
GetJobOutputRequest & WithJobId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
const Aws::String & GetVaultName() const
GetJobOutputRequest & WithVaultName(const char *value)
#define AWS_GLACIER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetJobOutputRequest & WithRange(const char *value)
GetJobOutputRequest & WithVaultName(const Aws::String &value)
GetJobOutputRequest & WithVaultName(Aws::String &&value)
GetJobOutputRequest & WithJobId(const char *value)
GetJobOutputRequest & WithJobId(Aws::String &&value)
JSON (JavaScript Object Notation).