112 lines
3.2 KiB
C
112 lines
3.2 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/dataexchange/DataExchange_EXPORTS.h>
|
|||
|
|
#include <aws/dataexchange/DataExchangeRequest.h>
|
|||
|
|
#include <aws/dataexchange/model/RequestDetails.h>
|
|||
|
|
#include <aws/dataexchange/model/Type.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace DataExchange
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The request body for CreateJob.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJobRequest">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DATAEXCHANGE_API CreateJobRequest : public DataExchangeRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateJobRequest();
|
|||
|
|
|
|||
|
|
// 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 "CreateJob"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The details for the CreateJob request.</p>
|
|||
|
|
*/
|
|||
|
|
inline const RequestDetails& GetDetails() const{ return m_details; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The details for the CreateJob request.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The details for the CreateJob request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDetails(const RequestDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The details for the CreateJob request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDetails(RequestDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The details for the CreateJob request.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateJobRequest& WithDetails(const RequestDetails& value) { SetDetails(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The details for the CreateJob request.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateJobRequest& WithDetails(RequestDetails&& value) { SetDetails(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of job to be created.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Type& GetType() const{ return m_type; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of job to be created.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of job to be created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of job to be created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of job to be created.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateJobRequest& WithType(const Type& value) { SetType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of job to be created.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateJobRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
RequestDetails m_details;
|
|||
|
|
bool m_detailsHasBeenSet;
|
|||
|
|
|
|||
|
|
Type m_type;
|
|||
|
|
bool m_typeHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DataExchange
|
|||
|
|
} // namespace Aws
|