/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/healthlake/HealthLake_EXPORTS.h> #include <aws/healthlake/HealthLakeRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/healthlake/model/OutputDataConfig.h> #include <utility> #include <aws/core/utils/UUID.h> namespace Aws { namespace HealthLake { namespace Model { /** */ class StartFHIRExportJobRequest : public HealthLakeRequest { public: AWS_HEALTHLAKE_API StartFHIRExportJobRequest(); // 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 "StartFHIRExportJob"; } AWS_HEALTHLAKE_API Aws::String SerializePayload() const override; AWS_HEALTHLAKE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * <p>The user generated name for an export job.</p> */ inline const Aws::String& GetJobName() const{ return m_jobName; } /** * <p>The user generated name for an export job.</p> */ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** * <p>The user generated name for an export job.</p> */ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** * <p>The user generated name for an export job.</p> */ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** * <p>The user generated name for an export job.</p> */ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** * <p>The user generated name for an export job.</p> */ inline StartFHIRExportJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** * <p>The user generated name for an export job.</p> */ inline StartFHIRExportJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** * <p>The user generated name for an export job.</p> */ inline StartFHIRExportJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;} /** * <p>The output data configuration that was supplied when the export job was * created.</p> */ inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } /** * <p>The output data configuration that was supplied when the export job was * created.</p> */ inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } /** * <p>The output data configuration that was supplied when the export job was * created.</p> */ inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } /** * <p>The output data configuration that was supplied when the export job was * created.</p> */ inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } /** * <p>The output data configuration that was supplied when the export job was * created.</p> */ inline StartFHIRExportJobRequest& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** * <p>The output data configuration that was supplied when the export job was * created.</p> */ inline StartFHIRExportJobRequest& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline const Aws::String& GetDatastoreId() const{ return m_datastoreId; } /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; } /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; } /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); } /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); } /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline StartFHIRExportJobRequest& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline StartFHIRExportJobRequest& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;} /** * <p>The AWS generated ID for the data store from which files are being exported * for an export job.</p> */ inline StartFHIRExportJobRequest& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;} /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline StartFHIRExportJobRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline StartFHIRExportJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** * <p>The Amazon Resource Name used during the initiation of the job.</p> */ inline StartFHIRExportJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline StartFHIRExportJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline StartFHIRExportJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** * <p>An optional user provided token used for ensuring idempotency.</p> */ inline StartFHIRExportJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; OutputDataConfig m_outputDataConfig; bool m_outputDataConfigHasBeenSet = false; Aws::String m_datastoreId; bool m_datastoreIdHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace HealthLake } // namespace Aws