AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CompletionReport.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/ReportFormat.h>
10#include <aws/fsx/model/ReportScope.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 FSx
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_FSX_API CompletionReport() = default;
45
46
48
56 inline bool GetEnabled() const { return m_enabled; }
57 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
58 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
59 inline CompletionReport& WithEnabled(bool value) { SetEnabled(value); return *this;}
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) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
77 template<typename PathT = Aws::String>
78 CompletionReport& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
80
82
90 inline ReportFormat GetFormat() const { return m_format; }
91 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
92 inline void SetFormat(ReportFormat value) { m_formatHasBeenSet = true; m_format = value; }
93 inline CompletionReport& WithFormat(ReportFormat value) { SetFormat(value); return *this;}
95
97
104 inline ReportScope GetScope() const { return m_scope; }
105 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
106 inline void SetScope(ReportScope value) { m_scopeHasBeenSet = true; m_scope = value; }
107 inline CompletionReport& WithScope(ReportScope value) { SetScope(value); return *this;}
109 private:
110
111 bool m_enabled{false};
112 bool m_enabledHasBeenSet = false;
113
114 Aws::String m_path;
115 bool m_pathHasBeenSet = false;
116
118 bool m_formatHasBeenSet = false;
119
121 bool m_scopeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace FSx
126} // 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