AWS SDK for C++  1.9.1
AWS SDK for C++
DescribeJobRequest.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 "DescribeJob"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
46  inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 
55  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
56 
64  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
65 
73  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
74 
82  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
83 
91  inline DescribeJobRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
92 
100  inline DescribeJobRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
101 
109  inline DescribeJobRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
110 
111 
115  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
116 
120  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
121 
125  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
126 
130  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
131 
135  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
136 
140  inline DescribeJobRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
141 
145  inline DescribeJobRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
146 
150  inline DescribeJobRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
151 
152 
156  inline const Aws::String& GetJobId() const{ return m_jobId; }
157 
161  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
162 
166  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
167 
171  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
172 
176  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
177 
181  inline DescribeJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
182 
186  inline DescribeJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
187 
191  inline DescribeJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
192 
193  private:
194 
195  Aws::String m_accountId;
196  bool m_accountIdHasBeenSet;
197 
198  Aws::String m_vaultName;
199  bool m_vaultNameHasBeenSet;
200 
201  Aws::String m_jobId;
202  bool m_jobIdHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace Glacier
207 } // namespace Aws
Aws::Glacier::Model::DescribeJobRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: DescribeJobRequest.h:166
Aws::Glacier::Model::DescribeJobRequest::WithAccountId
DescribeJobRequest & WithAccountId(const Aws::String &value)
Definition: DescribeJobRequest.h:91
Aws::Glacier::Model::DescribeJobRequest::WithJobId
DescribeJobRequest & WithJobId(Aws::String &&value)
Definition: DescribeJobRequest.h:186
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::DescribeJobRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: DescribeJobRequest.h:125
Aws::Glacier::Model::DescribeJobRequest::WithAccountId
DescribeJobRequest & WithAccountId(const char *value)
Definition: DescribeJobRequest.h:109
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::DescribeJobRequest::DescribeJobRequest
DescribeJobRequest()
Aws::Glacier::Model::DescribeJobRequest::WithJobId
DescribeJobRequest & WithJobId(const Aws::String &value)
Definition: DescribeJobRequest.h:181
Aws::Glacier::Model::DescribeJobRequest::SetVaultName
void SetVaultName(const char *value)
Definition: DescribeJobRequest.h:135
Aws::Glacier::Model::DescribeJobRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: DescribeJobRequest.h:130
Aws::Glacier::Model::DescribeJobRequest::WithVaultName
DescribeJobRequest & WithVaultName(const char *value)
Definition: DescribeJobRequest.h:150
Aws::Glacier::Model::DescribeJobRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: DescribeJobRequest.h:120
Aws::Glacier::Model::DescribeJobRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: DescribeJobRequest.h:115
Aws::Glacier::Model::DescribeJobRequest::WithJobId
DescribeJobRequest & WithJobId(const char *value)
Definition: DescribeJobRequest.h:191
AWSString.h
Aws::Glacier::Model::DescribeJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::DescribeJobRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: DescribeJobRequest.h:46
Aws::Glacier::Model::DescribeJobRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: DescribeJobRequest.h:161
GlacierRequest.h
Aws::Glacier::Model::DescribeJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeJobRequest.h:34
Aws::Glacier::Model::DescribeJobRequest::WithVaultName
DescribeJobRequest & WithVaultName(const Aws::String &value)
Definition: DescribeJobRequest.h:140
Aws::Glacier::Model::DescribeJobRequest::SetJobId
void SetJobId(const char *value)
Definition: DescribeJobRequest.h:176
Aws::Glacier::Model::DescribeJobRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: DescribeJobRequest.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::DescribeJobRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: DescribeJobRequest.h:64
Aws::Glacier::Model::DescribeJobRequest::SetAccountId
void SetAccountId(const char *value)
Definition: DescribeJobRequest.h:82
Aws::Glacier::Model::DescribeJobRequest::WithAccountId
DescribeJobRequest & WithAccountId(Aws::String &&value)
Definition: DescribeJobRequest.h:100
Aws::Glacier::Model::DescribeJobRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: DescribeJobRequest.h:171
Aws::Glacier::Model::DescribeJobRequest::WithVaultName
DescribeJobRequest & WithVaultName(Aws::String &&value)
Definition: DescribeJobRequest.h:145
Aws::Glacier::Model::DescribeJobRequest::GetJobId
const Aws::String & GetJobId() const
Definition: DescribeJobRequest.h:156
Aws::Glacier::Model::DescribeJobRequest
Definition: DescribeJobRequest.h:26
Aws::Glacier::Model::DescribeJobRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: DescribeJobRequest.h:73
Glacier_EXPORTS.h