AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace S3Control {
15namespace Model {
16
20 public:
21 AWS_S3CONTROL_API DescribeJobRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeJob"; }
28
29 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
30
32
36 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
37
39
43 inline const Aws::String& GetAccountId() const { return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 template <typename AccountIdT = Aws::String>
46 void SetAccountId(AccountIdT&& value) {
47 m_accountIdHasBeenSet = true;
48 m_accountId = std::forward<AccountIdT>(value);
49 }
50 template <typename AccountIdT = Aws::String>
51 DescribeJobRequest& WithAccountId(AccountIdT&& value) {
52 SetAccountId(std::forward<AccountIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetJobId() const { return m_jobId; }
62 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
63 template <typename JobIdT = Aws::String>
64 void SetJobId(JobIdT&& value) {
65 m_jobIdHasBeenSet = true;
66 m_jobId = std::forward<JobIdT>(value);
67 }
68 template <typename JobIdT = Aws::String>
69 DescribeJobRequest& WithJobId(JobIdT&& value) {
70 SetJobId(std::forward<JobIdT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_accountId;
76
77 Aws::String m_jobId;
78 bool m_accountIdHasBeenSet = false;
79 bool m_jobIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace S3Control
84} // namespace Aws
DescribeJobRequest & WithAccountId(AccountIdT &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API DescribeJobRequest()=default
AWS_S3CONTROL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
DescribeJobRequest & WithJobId(JobIdT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String