AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobCompletionReportURI(const Aws::String& value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI = value; }
63 inline void SetJobCompletionReportURI(Aws::String&& value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI = std::move(value); }
64 inline void SetJobCompletionReportURI(const char* value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI.assign(value); }
65 inline JobLogs& WithJobCompletionReportURI(const Aws::String& value) { SetJobCompletionReportURI(value); return *this;}
66 inline JobLogs& WithJobCompletionReportURI(Aws::String&& value) { SetJobCompletionReportURI(std::move(value)); return *this;}
67 inline JobLogs& WithJobCompletionReportURI(const char* value) { SetJobCompletionReportURI(value); return *this;}
69
71
75 inline const Aws::String& GetJobSuccessLogURI() const{ return m_jobSuccessLogURI; }
76 inline bool JobSuccessLogURIHasBeenSet() const { return m_jobSuccessLogURIHasBeenSet; }
77 inline void SetJobSuccessLogURI(const Aws::String& value) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI = value; }
78 inline void SetJobSuccessLogURI(Aws::String&& value) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI = std::move(value); }
79 inline void SetJobSuccessLogURI(const char* value) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI.assign(value); }
80 inline JobLogs& WithJobSuccessLogURI(const Aws::String& value) { SetJobSuccessLogURI(value); return *this;}
81 inline JobLogs& WithJobSuccessLogURI(Aws::String&& value) { SetJobSuccessLogURI(std::move(value)); return *this;}
82 inline JobLogs& WithJobSuccessLogURI(const char* value) { SetJobSuccessLogURI(value); return *this;}
84
86
90 inline const Aws::String& GetJobFailureLogURI() const{ return m_jobFailureLogURI; }
91 inline bool JobFailureLogURIHasBeenSet() const { return m_jobFailureLogURIHasBeenSet; }
92 inline void SetJobFailureLogURI(const Aws::String& value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI = value; }
93 inline void SetJobFailureLogURI(Aws::String&& value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI = std::move(value); }
94 inline void SetJobFailureLogURI(const char* value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI.assign(value); }
95 inline JobLogs& WithJobFailureLogURI(const Aws::String& value) { SetJobFailureLogURI(value); return *this;}
96 inline JobLogs& WithJobFailureLogURI(Aws::String&& value) { SetJobFailureLogURI(std::move(value)); return *this;}
97 inline JobLogs& WithJobFailureLogURI(const char* value) { SetJobFailureLogURI(value); return *this;}
99 private:
100
101 Aws::String m_jobCompletionReportURI;
102 bool m_jobCompletionReportURIHasBeenSet = false;
103
104 Aws::String m_jobSuccessLogURI;
105 bool m_jobSuccessLogURIHasBeenSet = false;
106
107 Aws::String m_jobFailureLogURI;
108 bool m_jobFailureLogURIHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Snowball
113} // namespace Aws
AWS_SNOWBALL_API JobLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobSuccessLogURI(const char *value)
Definition JobLogs.h:79
void SetJobCompletionReportURI(Aws::String &&value)
Definition JobLogs.h:63
void SetJobSuccessLogURI(Aws::String &&value)
Definition JobLogs.h:78
JobLogs & WithJobCompletionReportURI(const Aws::String &value)
Definition JobLogs.h:65
JobLogs & WithJobSuccessLogURI(Aws::String &&value)
Definition JobLogs.h:81
JobLogs & WithJobSuccessLogURI(const Aws::String &value)
Definition JobLogs.h:80
JobLogs & WithJobSuccessLogURI(const char *value)
Definition JobLogs.h:82
bool JobSuccessLogURIHasBeenSet() const
Definition JobLogs.h:76
const Aws::String & GetJobSuccessLogURI() const
Definition JobLogs.h:75
JobLogs & WithJobCompletionReportURI(Aws::String &&value)
Definition JobLogs.h:66
void SetJobCompletionReportURI(const Aws::String &value)
Definition JobLogs.h:62
AWS_SNOWBALL_API JobLogs()
void SetJobSuccessLogURI(const Aws::String &value)
Definition JobLogs.h:77
AWS_SNOWBALL_API JobLogs(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobFailureLogURI() const
Definition JobLogs.h:90
JobLogs & WithJobFailureLogURI(Aws::String &&value)
Definition JobLogs.h:96
JobLogs & WithJobCompletionReportURI(const char *value)
Definition JobLogs.h:67
void SetJobFailureLogURI(Aws::String &&value)
Definition JobLogs.h:93
void SetJobCompletionReportURI(const char *value)
Definition JobLogs.h:64
void SetJobFailureLogURI(const Aws::String &value)
Definition JobLogs.h:92
JobLogs & WithJobFailureLogURI(const char *value)
Definition JobLogs.h:97
bool JobFailureLogURIHasBeenSet() const
Definition JobLogs.h:91
JobLogs & WithJobFailureLogURI(const Aws::String &value)
Definition JobLogs.h:95
const Aws::String & GetJobCompletionReportURI() const
Definition JobLogs.h:60
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobFailureLogURI(const char *value)
Definition JobLogs.h:94
bool JobCompletionReportURIHasBeenSet() const
Definition JobLogs.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue