AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
JobLogs.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Snowball
22{
23namespace Model
24{
25
46 class JobLogs
47 {
48 public:
49 AWS_SNOWBALL_API JobLogs() = default;
50 AWS_SNOWBALL_API JobLogs(Aws::Utils::Json::JsonView jsonValue);
51 AWS_SNOWBALL_API JobLogs& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
60 inline const Aws::String& GetJobCompletionReportURI() const { return m_jobCompletionReportURI; }
61 inline bool JobCompletionReportURIHasBeenSet() const { return m_jobCompletionReportURIHasBeenSet; }
62 template<typename JobCompletionReportURIT = Aws::String>
63 void SetJobCompletionReportURI(JobCompletionReportURIT&& value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI = std::forward<JobCompletionReportURIT>(value); }
64 template<typename JobCompletionReportURIT = Aws::String>
65 JobLogs& WithJobCompletionReportURI(JobCompletionReportURIT&& value) { SetJobCompletionReportURI(std::forward<JobCompletionReportURIT>(value)); return *this;}
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) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI = std::forward<JobSuccessLogURIT>(value); }
77 template<typename JobSuccessLogURIT = Aws::String>
78 JobLogs& WithJobSuccessLogURI(JobSuccessLogURIT&& value) { SetJobSuccessLogURI(std::forward<JobSuccessLogURIT>(value)); return *this;}
80
82
86 inline const Aws::String& GetJobFailureLogURI() const { return m_jobFailureLogURI; }
87 inline bool JobFailureLogURIHasBeenSet() const { return m_jobFailureLogURIHasBeenSet; }
88 template<typename JobFailureLogURIT = Aws::String>
89 void SetJobFailureLogURI(JobFailureLogURIT&& value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI = std::forward<JobFailureLogURIT>(value); }
90 template<typename JobFailureLogURIT = Aws::String>
91 JobLogs& WithJobFailureLogURI(JobFailureLogURIT&& value) { SetJobFailureLogURI(std::forward<JobFailureLogURIT>(value)); return *this;}
93 private:
94
95 Aws::String m_jobCompletionReportURI;
96 bool m_jobCompletionReportURIHasBeenSet = false;
97
98 Aws::String m_jobSuccessLogURI;
99 bool m_jobSuccessLogURIHasBeenSet = false;
100
101 Aws::String m_jobFailureLogURI;
102 bool m_jobFailureLogURIHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Snowball
107} // 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:91
AWS_SNOWBALL_API JobLogs(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobFailureLogURI() const
Definition JobLogs.h:86
JobLogs & WithJobCompletionReportURI(JobCompletionReportURIT &&value)
Definition JobLogs.h:65
JobLogs & WithJobSuccessLogURI(JobSuccessLogURIT &&value)
Definition JobLogs.h:78
bool JobFailureLogURIHasBeenSet() const
Definition JobLogs.h:87
void SetJobCompletionReportURI(JobCompletionReportURIT &&value)
Definition JobLogs.h:63
const Aws::String & GetJobCompletionReportURI() const
Definition JobLogs.h:60
void SetJobFailureLogURI(JobFailureLogURIT &&value)
Definition JobLogs.h:89
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
bool JobCompletionReportURIHasBeenSet() const
Definition JobLogs.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue