AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDestination(const ReportDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
58 inline void SetDestination(ReportDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
59 inline TaskReportConfig& WithDestination(const ReportDestination& value) { SetDestination(value); return *this;}
60 inline TaskReportConfig& WithDestination(ReportDestination&& value) { SetDestination(std::move(value)); return *this;}
62
64
72 inline const ReportOutputType& GetOutputType() const{ return m_outputType; }
73 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
74 inline void SetOutputType(const ReportOutputType& value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
75 inline void SetOutputType(ReportOutputType&& value) { m_outputTypeHasBeenSet = true; m_outputType = std::move(value); }
76 inline TaskReportConfig& WithOutputType(const ReportOutputType& value) { SetOutputType(value); return *this;}
77 inline TaskReportConfig& WithOutputType(ReportOutputType&& value) { SetOutputType(std::move(value)); return *this;}
79
81
89 inline const ReportLevel& GetReportLevel() const{ return m_reportLevel; }
90 inline bool ReportLevelHasBeenSet() const { return m_reportLevelHasBeenSet; }
91 inline void SetReportLevel(const ReportLevel& value) { m_reportLevelHasBeenSet = true; m_reportLevel = value; }
92 inline void SetReportLevel(ReportLevel&& value) { m_reportLevelHasBeenSet = true; m_reportLevel = std::move(value); }
93 inline TaskReportConfig& WithReportLevel(const ReportLevel& value) { SetReportLevel(value); return *this;}
94 inline TaskReportConfig& WithReportLevel(ReportLevel&& value) { SetReportLevel(std::move(value)); return *this;}
96
98
105 inline const ObjectVersionIds& GetObjectVersionIds() const{ return m_objectVersionIds; }
106 inline bool ObjectVersionIdsHasBeenSet() const { return m_objectVersionIdsHasBeenSet; }
107 inline void SetObjectVersionIds(const ObjectVersionIds& value) { m_objectVersionIdsHasBeenSet = true; m_objectVersionIds = value; }
108 inline void SetObjectVersionIds(ObjectVersionIds&& value) { m_objectVersionIdsHasBeenSet = true; m_objectVersionIds = std::move(value); }
109 inline TaskReportConfig& WithObjectVersionIds(const ObjectVersionIds& value) { SetObjectVersionIds(value); return *this;}
110 inline TaskReportConfig& WithObjectVersionIds(ObjectVersionIds&& value) { SetObjectVersionIds(std::move(value)); return *this;}
112
114
120 inline const ReportOverrides& GetOverrides() const{ return m_overrides; }
121 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
122 inline void SetOverrides(const ReportOverrides& value) { m_overridesHasBeenSet = true; m_overrides = value; }
123 inline void SetOverrides(ReportOverrides&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
124 inline TaskReportConfig& WithOverrides(const ReportOverrides& value) { SetOverrides(value); return *this;}
125 inline TaskReportConfig& WithOverrides(ReportOverrides&& value) { SetOverrides(std::move(value)); return *this;}
127 private:
128
129 ReportDestination m_destination;
130 bool m_destinationHasBeenSet = false;
131
132 ReportOutputType m_outputType;
133 bool m_outputTypeHasBeenSet = false;
134
135 ReportLevel m_reportLevel;
136 bool m_reportLevelHasBeenSet = false;
137
138 ObjectVersionIds m_objectVersionIds;
139 bool m_objectVersionIdsHasBeenSet = false;
140
141 ReportOverrides m_overrides;
142 bool m_overridesHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace DataSync
147} // namespace Aws
void SetDestination(ReportDestination &&value)
AWS_DATASYNC_API TaskReportConfig(Aws::Utils::Json::JsonView jsonValue)
TaskReportConfig & WithReportLevel(ReportLevel &&value)
const ReportOutputType & GetOutputType() const
TaskReportConfig & WithOutputType(const ReportOutputType &value)
const ReportDestination & GetDestination() const
TaskReportConfig & WithDestination(ReportDestination &&value)
void SetOverrides(const ReportOverrides &value)
TaskReportConfig & WithOverrides(const ReportOverrides &value)
AWS_DATASYNC_API TaskReportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputType(const ReportOutputType &value)
TaskReportConfig & WithDestination(const ReportDestination &value)
const ReportLevel & GetReportLevel() const
void SetObjectVersionIds(ObjectVersionIds &&value)
TaskReportConfig & WithObjectVersionIds(ObjectVersionIds &&value)
void SetReportLevel(ReportLevel &&value)
void SetReportLevel(const ReportLevel &value)
void SetObjectVersionIds(const ObjectVersionIds &value)
const ObjectVersionIds & GetObjectVersionIds() const
void SetDestination(const ReportDestination &value)
const ReportOverrides & GetOverrides() const
TaskReportConfig & WithReportLevel(const ReportLevel &value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
TaskReportConfig & WithOverrides(ReportOverrides &&value)
void SetOverrides(ReportOverrides &&value)
TaskReportConfig & WithOutputType(ReportOutputType &&value)
TaskReportConfig & WithObjectVersionIds(const ObjectVersionIds &value)
void SetOutputType(ReportOutputType &&value)
Aws::Utils::Json::JsonValue JsonValue