AWS SDK for C++  0.14.3
AWS SDK for C++
JobLogs.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Snowball
29 {
30 namespace Model
31 {
32 
52  {
53  public:
54  JobLogs();
55  JobLogs(const Aws::Utils::Json::JsonValue& jsonValue);
56  JobLogs& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
57  Aws::Utils::Json::JsonValue Jsonize() const;
58 
63  inline const Aws::String& GetJobCompletionReportURI() const{ return m_jobCompletionReportURI; }
64 
69  inline void SetJobCompletionReportURI(const Aws::String& value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI = value; }
70 
75  inline void SetJobCompletionReportURI(Aws::String&& value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI = value; }
76 
81  inline void SetJobCompletionReportURI(const char* value) { m_jobCompletionReportURIHasBeenSet = true; m_jobCompletionReportURI.assign(value); }
82 
87  inline JobLogs& WithJobCompletionReportURI(const Aws::String& value) { SetJobCompletionReportURI(value); return *this;}
88 
93  inline JobLogs& WithJobCompletionReportURI(Aws::String&& value) { SetJobCompletionReportURI(value); return *this;}
94 
99  inline JobLogs& WithJobCompletionReportURI(const char* value) { SetJobCompletionReportURI(value); return *this;}
100 
105  inline const Aws::String& GetJobSuccessLogURI() const{ return m_jobSuccessLogURI; }
106 
111  inline void SetJobSuccessLogURI(const Aws::String& value) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI = value; }
112 
117  inline void SetJobSuccessLogURI(Aws::String&& value) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI = value; }
118 
123  inline void SetJobSuccessLogURI(const char* value) { m_jobSuccessLogURIHasBeenSet = true; m_jobSuccessLogURI.assign(value); }
124 
129  inline JobLogs& WithJobSuccessLogURI(const Aws::String& value) { SetJobSuccessLogURI(value); return *this;}
130 
135  inline JobLogs& WithJobSuccessLogURI(Aws::String&& value) { SetJobSuccessLogURI(value); return *this;}
136 
141  inline JobLogs& WithJobSuccessLogURI(const char* value) { SetJobSuccessLogURI(value); return *this;}
142 
147  inline const Aws::String& GetJobFailureLogURI() const{ return m_jobFailureLogURI; }
148 
153  inline void SetJobFailureLogURI(const Aws::String& value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI = value; }
154 
159  inline void SetJobFailureLogURI(Aws::String&& value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI = value; }
160 
165  inline void SetJobFailureLogURI(const char* value) { m_jobFailureLogURIHasBeenSet = true; m_jobFailureLogURI.assign(value); }
166 
171  inline JobLogs& WithJobFailureLogURI(const Aws::String& value) { SetJobFailureLogURI(value); return *this;}
172 
177  inline JobLogs& WithJobFailureLogURI(Aws::String&& value) { SetJobFailureLogURI(value); return *this;}
178 
183  inline JobLogs& WithJobFailureLogURI(const char* value) { SetJobFailureLogURI(value); return *this;}
184 
185  private:
186  Aws::String m_jobCompletionReportURI;
187  bool m_jobCompletionReportURIHasBeenSet;
188  Aws::String m_jobSuccessLogURI;
189  bool m_jobSuccessLogURIHasBeenSet;
190  Aws::String m_jobFailureLogURI;
191  bool m_jobFailureLogURIHasBeenSet;
192  };
193 
194 } // namespace Model
195 } // namespace Snowball
196 } // namespace Aws
void SetJobSuccessLogURI(Aws::String &&value)
Definition: JobLogs.h:117
JobLogs & WithJobSuccessLogURI(const char *value)
Definition: JobLogs.h:141
void SetJobCompletionReportURI(const char *value)
Definition: JobLogs.h:81
void SetJobFailureLogURI(const Aws::String &value)
Definition: JobLogs.h:153
const Aws::String & GetJobFailureLogURI() const
Definition: JobLogs.h:147
JobLogs & WithJobFailureLogURI(const Aws::String &value)
Definition: JobLogs.h:171
void SetJobFailureLogURI(Aws::String &&value)
Definition: JobLogs.h:159
JobLogs & WithJobFailureLogURI(const char *value)
Definition: JobLogs.h:183
JobLogs & WithJobSuccessLogURI(const Aws::String &value)
Definition: JobLogs.h:129
JobLogs & WithJobCompletionReportURI(const Aws::String &value)
Definition: JobLogs.h:87
JobLogs & WithJobFailureLogURI(Aws::String &&value)
Definition: JobLogs.h:177
#define AWS_SNOWBALL_API
JobLogs & WithJobSuccessLogURI(Aws::String &&value)
Definition: JobLogs.h:135
void SetJobSuccessLogURI(const Aws::String &value)
Definition: JobLogs.h:111
void SetJobCompletionReportURI(const Aws::String &value)
Definition: JobLogs.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetJobFailureLogURI(const char *value)
Definition: JobLogs.h:165
const Aws::String & GetJobSuccessLogURI() const
Definition: JobLogs.h:105
JobLogs & WithJobCompletionReportURI(const char *value)
Definition: JobLogs.h:99
const Aws::String & GetJobCompletionReportURI() const
Definition: JobLogs.h:63
void SetJobCompletionReportURI(Aws::String &&value)
Definition: JobLogs.h:75
void SetJobSuccessLogURI(const char *value)
Definition: JobLogs.h:123
JobLogs & WithJobCompletionReportURI(Aws::String &&value)
Definition: JobLogs.h:93
JSON (JavaScript Object Notation).