AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/awstransfer/model/WorkflowDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Transfer
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TRANSFER_API WorkflowDetails();
38 AWS_TRANSFER_API WorkflowDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const Aws::Vector<WorkflowDetail>& GetOnUpload() const{ return m_onUpload; }
54 inline bool OnUploadHasBeenSet() const { return m_onUploadHasBeenSet; }
55 inline void SetOnUpload(const Aws::Vector<WorkflowDetail>& value) { m_onUploadHasBeenSet = true; m_onUpload = value; }
56 inline void SetOnUpload(Aws::Vector<WorkflowDetail>&& value) { m_onUploadHasBeenSet = true; m_onUpload = std::move(value); }
57 inline WorkflowDetails& WithOnUpload(const Aws::Vector<WorkflowDetail>& value) { SetOnUpload(value); return *this;}
58 inline WorkflowDetails& WithOnUpload(Aws::Vector<WorkflowDetail>&& value) { SetOnUpload(std::move(value)); return *this;}
59 inline WorkflowDetails& AddOnUpload(const WorkflowDetail& value) { m_onUploadHasBeenSet = true; m_onUpload.push_back(value); return *this; }
60 inline WorkflowDetails& AddOnUpload(WorkflowDetail&& value) { m_onUploadHasBeenSet = true; m_onUpload.push_back(std::move(value)); return *this; }
62
64
71 inline const Aws::Vector<WorkflowDetail>& GetOnPartialUpload() const{ return m_onPartialUpload; }
72 inline bool OnPartialUploadHasBeenSet() const { return m_onPartialUploadHasBeenSet; }
73 inline void SetOnPartialUpload(const Aws::Vector<WorkflowDetail>& value) { m_onPartialUploadHasBeenSet = true; m_onPartialUpload = value; }
74 inline void SetOnPartialUpload(Aws::Vector<WorkflowDetail>&& value) { m_onPartialUploadHasBeenSet = true; m_onPartialUpload = std::move(value); }
76 inline WorkflowDetails& WithOnPartialUpload(Aws::Vector<WorkflowDetail>&& value) { SetOnPartialUpload(std::move(value)); return *this;}
77 inline WorkflowDetails& AddOnPartialUpload(const WorkflowDetail& value) { m_onPartialUploadHasBeenSet = true; m_onPartialUpload.push_back(value); return *this; }
78 inline WorkflowDetails& AddOnPartialUpload(WorkflowDetail&& value) { m_onPartialUploadHasBeenSet = true; m_onPartialUpload.push_back(std::move(value)); return *this; }
80 private:
81
83 bool m_onUploadHasBeenSet = false;
84
85 Aws::Vector<WorkflowDetail> m_onPartialUpload;
86 bool m_onPartialUploadHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Transfer
91} // namespace Aws
void SetOnUpload(const Aws::Vector< WorkflowDetail > &value)
WorkflowDetails & WithOnPartialUpload(Aws::Vector< WorkflowDetail > &&value)
WorkflowDetails & AddOnUpload(const WorkflowDetail &value)
WorkflowDetails & WithOnUpload(Aws::Vector< WorkflowDetail > &&value)
WorkflowDetails & AddOnPartialUpload(WorkflowDetail &&value)
AWS_TRANSFER_API WorkflowDetails(Aws::Utils::Json::JsonView jsonValue)
void SetOnUpload(Aws::Vector< WorkflowDetail > &&value)
const Aws::Vector< WorkflowDetail > & GetOnPartialUpload() const
void SetOnPartialUpload(Aws::Vector< WorkflowDetail > &&value)
WorkflowDetails & AddOnUpload(WorkflowDetail &&value)
WorkflowDetails & WithOnUpload(const Aws::Vector< WorkflowDetail > &value)
WorkflowDetails & AddOnPartialUpload(const WorkflowDetail &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API WorkflowDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOnPartialUpload(const Aws::Vector< WorkflowDetail > &value)
WorkflowDetails & WithOnPartialUpload(const Aws::Vector< WorkflowDetail > &value)
const Aws::Vector< WorkflowDetail > & GetOnUpload() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue