AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManifestConfig.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/ManifestAction.h>
9#include <aws/datasync/model/ManifestFormat.h>
10#include <aws/datasync/model/SourceManifestConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataSync
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_DATASYNC_API ManifestConfig();
40 AWS_DATASYNC_API ManifestConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ManifestAction& GetAction() const{ return m_action; }
50 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
51 inline void SetAction(const ManifestAction& value) { m_actionHasBeenSet = true; m_action = value; }
52 inline void SetAction(ManifestAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
53 inline ManifestConfig& WithAction(const ManifestAction& value) { SetAction(value); return *this;}
54 inline ManifestConfig& WithAction(ManifestAction&& value) { SetAction(std::move(value)); return *this;}
56
58
63 inline const ManifestFormat& GetFormat() const{ return m_format; }
64 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
65 inline void SetFormat(const ManifestFormat& value) { m_formatHasBeenSet = true; m_format = value; }
66 inline void SetFormat(ManifestFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
67 inline ManifestConfig& WithFormat(const ManifestFormat& value) { SetFormat(value); return *this;}
68 inline ManifestConfig& WithFormat(ManifestFormat&& value) { SetFormat(std::move(value)); return *this;}
70
72
82 inline const SourceManifestConfig& GetSource() const{ return m_source; }
83 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
84 inline void SetSource(const SourceManifestConfig& value) { m_sourceHasBeenSet = true; m_source = value; }
85 inline void SetSource(SourceManifestConfig&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
86 inline ManifestConfig& WithSource(const SourceManifestConfig& value) { SetSource(value); return *this;}
87 inline ManifestConfig& WithSource(SourceManifestConfig&& value) { SetSource(std::move(value)); return *this;}
89 private:
90
91 ManifestAction m_action;
92 bool m_actionHasBeenSet = false;
93
94 ManifestFormat m_format;
95 bool m_formatHasBeenSet = false;
96
97 SourceManifestConfig m_source;
98 bool m_sourceHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace DataSync
103} // namespace Aws
const ManifestAction & GetAction() const
ManifestConfig & WithSource(SourceManifestConfig &&value)
const SourceManifestConfig & GetSource() const
AWS_DATASYNC_API ManifestConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(ManifestFormat &&value)
ManifestConfig & WithFormat(ManifestFormat &&value)
ManifestConfig & WithAction(ManifestAction &&value)
void SetSource(SourceManifestConfig &&value)
void SetAction(const ManifestAction &value)
const ManifestFormat & GetFormat() const
void SetSource(const SourceManifestConfig &value)
void SetFormat(const ManifestFormat &value)
AWS_DATASYNC_API ManifestConfig(Aws::Utils::Json::JsonView jsonValue)
ManifestConfig & WithSource(const SourceManifestConfig &value)
ManifestConfig & WithFormat(const ManifestFormat &value)
void SetAction(ManifestAction &&value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
ManifestConfig & WithAction(const ManifestAction &value)
Aws::Utils::Json::JsonValue JsonValue