AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TaskReportConfig.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/ReportDestination.h>
9#include <aws/datasync/model/ReportOutputType.h>
10#include <aws/datasync/model/ReportLevel.h>
11#include <aws/datasync/model/ObjectVersionIds.h>
12#include <aws/datasync/model/ReportOverrides.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataSync
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_DATASYNC_API TaskReportConfig() = default;
43 AWS_DATASYNC_API TaskReportConfig(Aws::Utils::Json::JsonView jsonValue);
45 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const ReportDestination& GetDestination() const { return m_destination; }
56 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
57 template<typename DestinationT = ReportDestination>
58 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
59 template<typename DestinationT = ReportDestination>
60 TaskReportConfig& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
62
64
72 inline ReportOutputType GetOutputType() const { return m_outputType; }
73 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
74 inline void SetOutputType(ReportOutputType value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
75 inline TaskReportConfig& WithOutputType(ReportOutputType value) { SetOutputType(value); return *this;}
77
79
87 inline ReportLevel GetReportLevel() const { return m_reportLevel; }
88 inline bool ReportLevelHasBeenSet() const { return m_reportLevelHasBeenSet; }
89 inline void SetReportLevel(ReportLevel value) { m_reportLevelHasBeenSet = true; m_reportLevel = value; }
90 inline TaskReportConfig& WithReportLevel(ReportLevel value) { SetReportLevel(value); return *this;}
92
94
101 inline ObjectVersionIds GetObjectVersionIds() const { return m_objectVersionIds; }
102 inline bool ObjectVersionIdsHasBeenSet() const { return m_objectVersionIdsHasBeenSet; }
103 inline void SetObjectVersionIds(ObjectVersionIds value) { m_objectVersionIdsHasBeenSet = true; m_objectVersionIds = value; }
106
108
114 inline const ReportOverrides& GetOverrides() const { return m_overrides; }
115 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
116 template<typename OverridesT = ReportOverrides>
117 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet = true; m_overrides = std::forward<OverridesT>(value); }
118 template<typename OverridesT = ReportOverrides>
119 TaskReportConfig& WithOverrides(OverridesT&& value) { SetOverrides(std::forward<OverridesT>(value)); return *this;}
121 private:
122
123 ReportDestination m_destination;
124 bool m_destinationHasBeenSet = false;
125
127 bool m_outputTypeHasBeenSet = false;
128
129 ReportLevel m_reportLevel{ReportLevel::NOT_SET};
130 bool m_reportLevelHasBeenSet = false;
131
133 bool m_objectVersionIdsHasBeenSet = false;
134
135 ReportOverrides m_overrides;
136 bool m_overridesHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace DataSync
141} // 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