AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
76 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
77 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
78 inline CompletionReport& WithPath(const Aws::String& value) { SetPath(value); return *this;}
79 inline CompletionReport& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
80 inline CompletionReport& WithPath(const char* value) { SetPath(value); return *this;}
82
84
92 inline const ReportFormat& GetFormat() const{ return m_format; }
93 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
94 inline void SetFormat(const ReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
95 inline void SetFormat(ReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
96 inline CompletionReport& WithFormat(const ReportFormat& value) { SetFormat(value); return *this;}
97 inline CompletionReport& WithFormat(ReportFormat&& value) { SetFormat(std::move(value)); return *this;}
99
101
108 inline const ReportScope& GetScope() const{ return m_scope; }
109 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
110 inline void SetScope(const ReportScope& value) { m_scopeHasBeenSet = true; m_scope = value; }
111 inline void SetScope(ReportScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
112 inline CompletionReport& WithScope(const ReportScope& value) { SetScope(value); return *this;}
113 inline CompletionReport& WithScope(ReportScope&& value) { SetScope(std::move(value)); return *this;}
115 private:
116
117 bool m_enabled;
118 bool m_enabledHasBeenSet = false;
119
120 Aws::String m_path;
121 bool m_pathHasBeenSet = false;
122
123 ReportFormat m_format;
124 bool m_formatHasBeenSet = false;
125
126 ReportScope m_scope;
127 bool m_scopeHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace FSx
132} // namespace Aws
void SetFormat(ReportFormat &&value)
void SetScope(ReportScope &&value)
CompletionReport & WithScope(ReportScope &&value)
void SetFormat(const ReportFormat &value)
AWS_FSX_API CompletionReport(Aws::Utils::Json::JsonView jsonValue)
CompletionReport & WithPath(Aws::String &&value)
void SetPath(Aws::String &&value)
CompletionReport & WithScope(const ReportScope &value)
const ReportFormat & GetFormat() const
CompletionReport & WithFormat(ReportFormat &&value)
void SetPath(const Aws::String &value)
CompletionReport & WithPath(const char *value)
void SetScope(const ReportScope &value)
void SetPath(const char *value)
const ReportScope & GetScope() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CompletionReport & WithEnabled(bool value)
CompletionReport & WithFormat(const ReportFormat &value)
AWS_FSX_API CompletionReport & operator=(Aws::Utils::Json::JsonView jsonValue)
CompletionReport & WithPath(const Aws::String &value)
const Aws::String & GetPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue