AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
JobLogs.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Snowball {
20namespace Model {
21
42class JobLogs {
43 public:
44 AWS_SNOWBALL_API JobLogs() = default;
45 AWS_SNOWBALL_API JobLogs(Aws::Utils::Json::JsonView jsonValue);
46 AWS_SNOWBALL_API JobLogs& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
54 inline const Aws::String& GetJobCompletionReportURI() const { return m_jobCompletionReportURI; }
55 inline bool JobCompletionReportURIHasBeenSet() const { return m_jobCompletionReportURIHasBeenSet; }
56 template <typename JobCompletionReportURIT = Aws::String>
57 void SetJobCompletionReportURI(JobCompletionReportURIT&& value) {
58 m_jobCompletionReportURIHasBeenSet = true;
59 m_jobCompletionReportURI = std::forward<JobCompletionReportURIT>(value);
60 }
61 template <typename JobCompletionReportURIT = Aws::String>
62 JobLogs& WithJobCompletionReportURI(JobCompletionReportURIT&& value) {
63 SetJobCompletionReportURI(std::forward<JobCompletionReportURIT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetJobSuccessLogURI() const { return m_jobSuccessLogURI; }
74 inline bool JobSuccessLogURIHasBeenSet() const { return m_jobSuccessLogURIHasBeenSet; }
75 template <typename JobSuccessLogURIT = Aws::String>
76 void SetJobSuccessLogURI(JobSuccessLogURIT&& value) {
77 m_jobSuccessLogURIHasBeenSet = true;
78 m_jobSuccessLogURI = std::forward<JobSuccessLogURIT>(value);
79 }
80 template <typename JobSuccessLogURIT = Aws::String>
81 JobLogs& WithJobSuccessLogURI(JobSuccessLogURIT&& value) {
82 SetJobSuccessLogURI(std::forward<JobSuccessLogURIT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetJobFailureLogURI() const { return m_jobFailureLogURI; }
93 inline bool JobFailureLogURIHasBeenSet() const { return m_jobFailureLogURIHasBeenSet; }
94 template <typename JobFailureLogURIT = Aws::String>
95 void SetJobFailureLogURI(JobFailureLogURIT&& value) {
96 m_jobFailureLogURIHasBeenSet = true;
97 m_jobFailureLogURI = std::forward<JobFailureLogURIT>(value);
98 }
99 template <typename JobFailureLogURIT = Aws::String>
100 JobLogs& WithJobFailureLogURI(JobFailureLogURIT&& value) {
101 SetJobFailureLogURI(std::forward<JobFailureLogURIT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_jobCompletionReportURI;
107 bool m_jobCompletionReportURIHasBeenSet = false;
108
109 Aws::String m_jobSuccessLogURI;
110 bool m_jobSuccessLogURIHasBeenSet = false;
111
112 Aws::String m_jobFailureLogURI;
113 bool m_jobFailureLogURIHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Snowball
118} // namespace Aws
AWS_SNOWBALL_API JobLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWBALL_API JobLogs()=default
bool JobSuccessLogURIHasBeenSet() const
Definition JobLogs.h:74
const Aws::String & GetJobSuccessLogURI() const
Definition JobLogs.h:73
void SetJobSuccessLogURI(JobSuccessLogURIT &&value)
Definition JobLogs.h:76
JobLogs & WithJobFailureLogURI(JobFailureLogURIT &&value)
Definition JobLogs.h:100
AWS_SNOWBALL_API JobLogs(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobFailureLogURI() const
Definition JobLogs.h:92
JobLogs & WithJobCompletionReportURI(JobCompletionReportURIT &&value)
Definition JobLogs.h:62
JobLogs & WithJobSuccessLogURI(JobSuccessLogURIT &&value)
Definition JobLogs.h:81
bool JobFailureLogURIHasBeenSet() const
Definition JobLogs.h:93
void SetJobCompletionReportURI(JobCompletionReportURIT &&value)
Definition JobLogs.h:57
const Aws::String & GetJobCompletionReportURI() const
Definition JobLogs.h:54
void SetJobFailureLogURI(JobFailureLogURIT &&value)
Definition JobLogs.h:95
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
bool JobCompletionReportURIHasBeenSet() const
Definition JobLogs.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue