AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DetailsT = RequestDetails>
43 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
44 template<typename DetailsT = RequestDetails>
45 CreateJobRequest& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
47
49
52 inline Type GetType() const { return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
55 inline CreateJobRequest& WithType(Type value) { SetType(value); return *this;}
57 private:
58
59 RequestDetails m_details;
60 bool m_detailsHasBeenSet = false;
61
62 Type m_type{Type::NOT_SET};
63 bool m_typeHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace DataExchange
68} // namespace Aws
CreateJobRequest & WithDetails(DetailsT &&value)
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
CreateJobRequest & WithType(Type value)
virtual const char * GetServiceRequestName() const override
AWS_DATAEXCHANGE_API CreateJobRequest()=default
const RequestDetails & GetDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String