AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CompletionReport.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9#include <aws/fsx/model/ReportFormat.h>
10#include <aws/fsx/model/ReportScope.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FSx {
22namespace Model {
23
35 public:
36 AWS_FSX_API CompletionReport() = default;
40
42
50 inline bool GetEnabled() const { return m_enabled; }
51 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
52 inline void SetEnabled(bool value) {
53 m_enabledHasBeenSet = true;
54 m_enabled = value;
55 }
56 inline CompletionReport& WithEnabled(bool value) {
57 SetEnabled(value);
58 return *this;
59 }
61
63
73 inline const Aws::String& GetPath() const { return m_path; }
74 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
75 template <typename PathT = Aws::String>
76 void SetPath(PathT&& value) {
77 m_pathHasBeenSet = true;
78 m_path = std::forward<PathT>(value);
79 }
80 template <typename PathT = Aws::String>
81 CompletionReport& WithPath(PathT&& value) {
82 SetPath(std::forward<PathT>(value));
83 return *this;
84 }
86
88
96 inline ReportFormat GetFormat() const { return m_format; }
97 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
98 inline void SetFormat(ReportFormat value) {
99 m_formatHasBeenSet = true;
100 m_format = value;
101 }
103 SetFormat(value);
104 return *this;
105 }
107
109
116 inline ReportScope GetScope() const { return m_scope; }
117 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
118 inline void SetScope(ReportScope value) {
119 m_scopeHasBeenSet = true;
120 m_scope = value;
121 }
123 SetScope(value);
124 return *this;
125 }
127 private:
128 bool m_enabled{false};
129
130 Aws::String m_path;
131
133
135 bool m_enabledHasBeenSet = false;
136 bool m_pathHasBeenSet = false;
137 bool m_formatHasBeenSet = false;
138 bool m_scopeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace FSx
143} // namespace Aws
void SetFormat(ReportFormat value)
AWS_FSX_API CompletionReport(Aws::Utils::Json::JsonView jsonValue)
CompletionReport & WithPath(PathT &&value)
CompletionReport & WithScope(ReportScope value)
CompletionReport & WithFormat(ReportFormat value)
AWS_FSX_API CompletionReport()=default
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CompletionReport & WithEnabled(bool value)
AWS_FSX_API CompletionReport & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue