AWS SDK for C++  1.9.158
AWS SDK for C++
JobMessages.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaConvert
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::Vector<Aws::String>& GetInfo() const{ return m_info; }
47 
52  inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
53 
58  inline void SetInfo(const Aws::Vector<Aws::String>& value) { m_infoHasBeenSet = true; m_info = value; }
59 
64  inline void SetInfo(Aws::Vector<Aws::String>&& value) { m_infoHasBeenSet = true; m_info = std::move(value); }
65 
70  inline JobMessages& WithInfo(const Aws::Vector<Aws::String>& value) { SetInfo(value); return *this;}
71 
76  inline JobMessages& WithInfo(Aws::Vector<Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
77 
82  inline JobMessages& AddInfo(const Aws::String& value) { m_infoHasBeenSet = true; m_info.push_back(value); return *this; }
83 
88  inline JobMessages& AddInfo(Aws::String&& value) { m_infoHasBeenSet = true; m_info.push_back(std::move(value)); return *this; }
89 
94  inline JobMessages& AddInfo(const char* value) { m_infoHasBeenSet = true; m_info.push_back(value); return *this; }
95 
96 
101  inline const Aws::Vector<Aws::String>& GetWarning() const{ return m_warning; }
102 
107  inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
108 
113  inline void SetWarning(const Aws::Vector<Aws::String>& value) { m_warningHasBeenSet = true; m_warning = value; }
114 
119  inline void SetWarning(Aws::Vector<Aws::String>&& value) { m_warningHasBeenSet = true; m_warning = std::move(value); }
120 
125  inline JobMessages& WithWarning(const Aws::Vector<Aws::String>& value) { SetWarning(value); return *this;}
126 
131  inline JobMessages& WithWarning(Aws::Vector<Aws::String>&& value) { SetWarning(std::move(value)); return *this;}
132 
137  inline JobMessages& AddWarning(const Aws::String& value) { m_warningHasBeenSet = true; m_warning.push_back(value); return *this; }
138 
143  inline JobMessages& AddWarning(Aws::String&& value) { m_warningHasBeenSet = true; m_warning.push_back(std::move(value)); return *this; }
144 
149  inline JobMessages& AddWarning(const char* value) { m_warningHasBeenSet = true; m_warning.push_back(value); return *this; }
150 
151  private:
152 
154  bool m_infoHasBeenSet;
155 
156  Aws::Vector<Aws::String> m_warning;
157  bool m_warningHasBeenSet;
158  };
159 
160 } // namespace Model
161 } // namespace MediaConvert
162 } // namespace Aws
Aws::MediaConvert::Model::JobMessages::AddInfo
JobMessages & AddInfo(const char *value)
Definition: JobMessages.h:94
Aws::MediaConvert::Model::JobMessages::AddInfo
JobMessages & AddInfo(Aws::String &&value)
Definition: JobMessages.h:88
Aws::MediaConvert::Model::JobMessages::WithWarning
JobMessages & WithWarning(const Aws::Vector< Aws::String > &value)
Definition: JobMessages.h:125
Aws::MediaConvert::Model::JobMessages::SetWarning
void SetWarning(const Aws::Vector< Aws::String > &value)
Definition: JobMessages.h:113
Aws::MediaConvert::Model::JobMessages::AddWarning
JobMessages & AddWarning(const char *value)
Definition: JobMessages.h:149
Aws::MediaConvert::Model::JobMessages::WarningHasBeenSet
bool WarningHasBeenSet() const
Definition: JobMessages.h:107
Aws::MediaConvert::Model::JobMessages::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::JobMessages::InfoHasBeenSet
bool InfoHasBeenSet() const
Definition: JobMessages.h:52
Aws::MediaConvert::Model::JobMessages
Definition: JobMessages.h:34
Aws::MediaConvert::Model::JobMessages::operator=
JobMessages & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::JobMessages::GetWarning
const Aws::Vector< Aws::String > & GetWarning() const
Definition: JobMessages.h:101
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConvert::Model::JobMessages::SetInfo
void SetInfo(const Aws::Vector< Aws::String > &value)
Definition: JobMessages.h:58
AWSVector.h
Aws::MediaConvert::Model::JobMessages::AddWarning
JobMessages & AddWarning(const Aws::String &value)
Definition: JobMessages.h:137
Aws::MediaConvert::Model::JobMessages::JobMessages
JobMessages(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::JobMessages::GetInfo
const Aws::Vector< Aws::String > & GetInfo() const
Definition: JobMessages.h:46
Aws::MediaConvert::Model::JobMessages::WithWarning
JobMessages & WithWarning(Aws::Vector< Aws::String > &&value)
Definition: JobMessages.h:131
Aws::MediaConvert::Model::JobMessages::JobMessages
JobMessages()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::JobMessages::AddInfo
JobMessages & AddInfo(const Aws::String &value)
Definition: JobMessages.h:82
Aws::MediaConvert::Model::JobMessages::WithInfo
JobMessages & WithInfo(const Aws::Vector< Aws::String > &value)
Definition: JobMessages.h:70
Aws::MediaConvert::Model::JobMessages::AddWarning
JobMessages & AddWarning(Aws::String &&value)
Definition: JobMessages.h:143
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::JobMessages::SetWarning
void SetWarning(Aws::Vector< Aws::String > &&value)
Definition: JobMessages.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::JobMessages::WithInfo
JobMessages & WithInfo(Aws::Vector< Aws::String > &&value)
Definition: JobMessages.h:76
Aws::MediaConvert::Model::JobMessages::SetInfo
void SetInfo(Aws::Vector< Aws::String > &&value)
Definition: JobMessages.h:64