AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateJobRequest.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/dataexchange/model/RequestDetails.h>
10#include <aws/dataexchange/model/Type.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataExchange
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAEXCHANGE_API CreateJobRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateJob"; }
32
33 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const RequestDetails& GetDetails() const{ return m_details; }
41 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
42 inline void SetDetails(const RequestDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
43 inline void SetDetails(RequestDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
44 inline CreateJobRequest& WithDetails(const RequestDetails& value) { SetDetails(value); return *this;}
45 inline CreateJobRequest& WithDetails(RequestDetails&& value) { SetDetails(std::move(value)); return *this;}
47
49
52 inline const Type& GetType() const{ return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
55 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
56 inline CreateJobRequest& WithType(const Type& value) { SetType(value); return *this;}
57 inline CreateJobRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;}
59 private:
60
61 RequestDetails m_details;
62 bool m_detailsHasBeenSet = false;
63
64 Type m_type;
65 bool m_typeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace DataExchange
70} // namespace Aws
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
CreateJobRequest & WithType(const Type &value)
CreateJobRequest & WithType(Type &&value)
CreateJobRequest & WithDetails(RequestDetails &&value)
void SetDetails(const RequestDetails &value)
CreateJobRequest & WithDetails(const RequestDetails &value)
virtual const char * GetServiceRequestName() const override
void SetDetails(RequestDetails &&value)
const RequestDetails & GetDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String