AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TaskReportConfig.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/ObjectVersionIds.h>
9#include <aws/datasync/model/ReportDestination.h>
10#include <aws/datasync/model/ReportLevel.h>
11#include <aws/datasync/model/ReportOutputType.h>
12#include <aws/datasync/model/ReportOverrides.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataSync {
24namespace Model {
25
36 public:
37 AWS_DATASYNC_API TaskReportConfig() = default;
38 AWS_DATASYNC_API TaskReportConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
49 inline const ReportDestination& GetDestination() const { return m_destination; }
50 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
51 template <typename DestinationT = ReportDestination>
52 void SetDestination(DestinationT&& value) {
53 m_destinationHasBeenSet = true;
54 m_destination = std::forward<DestinationT>(value);
55 }
56 template <typename DestinationT = ReportDestination>
57 TaskReportConfig& WithDestination(DestinationT&& value) {
58 SetDestination(std::forward<DestinationT>(value));
59 return *this;
60 }
62
64
72 inline ReportOutputType GetOutputType() const { return m_outputType; }
73 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
74 inline void SetOutputType(ReportOutputType value) {
75 m_outputTypeHasBeenSet = true;
76 m_outputType = value;
77 }
79 SetOutputType(value);
80 return *this;
81 }
83
85
93 inline ReportLevel GetReportLevel() const { return m_reportLevel; }
94 inline bool ReportLevelHasBeenSet() const { return m_reportLevelHasBeenSet; }
95 inline void SetReportLevel(ReportLevel value) {
96 m_reportLevelHasBeenSet = true;
97 m_reportLevel = value;
98 }
100 SetReportLevel(value);
101 return *this;
102 }
104
106
113 inline ObjectVersionIds GetObjectVersionIds() const { return m_objectVersionIds; }
114 inline bool ObjectVersionIdsHasBeenSet() const { return m_objectVersionIdsHasBeenSet; }
116 m_objectVersionIdsHasBeenSet = true;
117 m_objectVersionIds = value;
118 }
120 SetObjectVersionIds(value);
121 return *this;
122 }
124
126
132 inline const ReportOverrides& GetOverrides() const { return m_overrides; }
133 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
134 template <typename OverridesT = ReportOverrides>
135 void SetOverrides(OverridesT&& value) {
136 m_overridesHasBeenSet = true;
137 m_overrides = std::forward<OverridesT>(value);
138 }
139 template <typename OverridesT = ReportOverrides>
140 TaskReportConfig& WithOverrides(OverridesT&& value) {
141 SetOverrides(std::forward<OverridesT>(value));
142 return *this;
143 }
145 private:
146 ReportDestination m_destination;
147
149
150 ReportLevel m_reportLevel{ReportLevel::NOT_SET};
151
153
154 ReportOverrides m_overrides;
155 bool m_destinationHasBeenSet = false;
156 bool m_outputTypeHasBeenSet = false;
157 bool m_reportLevelHasBeenSet = false;
158 bool m_objectVersionIdsHasBeenSet = false;
159 bool m_overridesHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace DataSync
164} // namespace Aws
AWS_DATASYNC_API TaskReportConfig(Aws::Utils::Json::JsonView jsonValue)
TaskReportConfig & WithReportLevel(ReportLevel value)
TaskReportConfig & WithOverrides(OverridesT &&value)
ObjectVersionIds GetObjectVersionIds() const
const ReportDestination & GetDestination() const
AWS_DATASYNC_API TaskReportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectVersionIds(ObjectVersionIds value)
TaskReportConfig & WithOutputType(ReportOutputType value)
TaskReportConfig & WithDestination(DestinationT &&value)
AWS_DATASYNC_API TaskReportConfig()=default
void SetOutputType(ReportOutputType value)
const ReportOverrides & GetOverrides() const
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestination(DestinationT &&value)
TaskReportConfig & WithObjectVersionIds(ObjectVersionIds value)
Aws::Utils::Json::JsonValue JsonValue