163 lines
5.3 KiB
C
163 lines
5.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace MediaConvert
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* Provides messages from the service about jobs that you have already successfully
|
|||
|
|
* submitted.<p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobMessages">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_MEDIACONVERT_API JobMessages
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
JobMessages();
|
|||
|
|
JobMessages(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
JobMessages& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Aws::String>& GetInfo() const{ return m_info; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline void SetInfo(const Aws::Vector<Aws::String>& value) { m_infoHasBeenSet = true; m_info = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline void SetInfo(Aws::Vector<Aws::String>&& value) { m_infoHasBeenSet = true; m_info = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& WithInfo(const Aws::Vector<Aws::String>& value) { SetInfo(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& WithInfo(Aws::Vector<Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& AddInfo(const Aws::String& value) { m_infoHasBeenSet = true; m_info.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& AddInfo(Aws::String&& value) { m_infoHasBeenSet = true; m_info.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that are informational only and don't indicate a problem with
|
|||
|
|
* your job.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& AddInfo(const char* value) { m_infoHasBeenSet = true; m_info.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Aws::String>& GetWarning() const{ return m_warning; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline void SetWarning(const Aws::Vector<Aws::String>& value) { m_warningHasBeenSet = true; m_warning = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline void SetWarning(Aws::Vector<Aws::String>&& value) { m_warningHasBeenSet = true; m_warning = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& WithWarning(const Aws::Vector<Aws::String>& value) { SetWarning(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& WithWarning(Aws::Vector<Aws::String>&& value) { SetWarning(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& AddWarning(const Aws::String& value) { m_warningHasBeenSet = true; m_warning.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& AddWarning(Aws::String&& value) { m_warningHasBeenSet = true; m_warning.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* List of messages that warn about conditions that might cause your job not to run
|
|||
|
|
* or to fail.
|
|||
|
|
*/
|
|||
|
|
inline JobMessages& AddWarning(const char* value) { m_warningHasBeenSet = true; m_warning.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<Aws::String> m_info;
|
|||
|
|
bool m_infoHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Vector<Aws::String> m_warning;
|
|||
|
|
bool m_warningHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace MediaConvert
|
|||
|
|
} // namespace Aws
|