/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace S3Control { namespace Model { /** */ class UpdateJobPriorityRequest : public S3ControlRequest { public: AWS_S3CONTROL_API UpdateJobPriorityRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateJobPriority"; } AWS_S3CONTROL_API Aws::String SerializePayload() const override; AWS_S3CONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. */ AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override; /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline UpdateJobPriorityRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline UpdateJobPriorityRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID associated with the S3 Batch Operations * job.

*/ inline UpdateJobPriorityRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The ID for the job whose priority you want to update.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The ID for the job whose priority you want to update.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The ID for the job whose priority you want to update.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The ID for the job whose priority you want to update.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The ID for the job whose priority you want to update.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The ID for the job whose priority you want to update.

*/ inline UpdateJobPriorityRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The ID for the job whose priority you want to update.

*/ inline UpdateJobPriorityRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The ID for the job whose priority you want to update.

*/ inline UpdateJobPriorityRequest& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The priority you want to assign to this job.

*/ inline int GetPriority() const{ return m_priority; } /** *

The priority you want to assign to this job.

*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *

The priority you want to assign to this job.

*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *

The priority you want to assign to this job.

*/ inline UpdateJobPriorityRequest& WithPriority(int value) { SetPriority(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws