AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Messages.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIACONNECT_API Messages();
36 AWS_MEDIACONNECT_API Messages(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API Messages& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetErrors() const{ return m_errors; }
46 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
47 inline void SetErrors(const Aws::Vector<Aws::String>& value) { m_errorsHasBeenSet = true; m_errors = value; }
48 inline void SetErrors(Aws::Vector<Aws::String>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
49 inline Messages& WithErrors(const Aws::Vector<Aws::String>& value) { SetErrors(value); return *this;}
50 inline Messages& WithErrors(Aws::Vector<Aws::String>&& value) { SetErrors(std::move(value)); return *this;}
51 inline Messages& AddErrors(const Aws::String& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
52 inline Messages& AddErrors(Aws::String&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
53 inline Messages& AddErrors(const char* value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
55 private:
56
58 bool m_errorsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace MediaConnect
63} // namespace Aws
Messages & AddErrors(const Aws::String &value)
Definition Messages.h:51
Messages & WithErrors(const Aws::Vector< Aws::String > &value)
Definition Messages.h:49
AWS_MEDIACONNECT_API Messages()
AWS_MEDIACONNECT_API Messages(Aws::Utils::Json::JsonView jsonValue)
Messages & WithErrors(Aws::Vector< Aws::String > &&value)
Definition Messages.h:50
AWS_MEDIACONNECT_API Messages & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrors(Aws::Vector< Aws::String > &&value)
Definition Messages.h:48
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Messages & AddErrors(const char *value)
Definition Messages.h:53
void SetErrors(const Aws::Vector< Aws::String > &value)
Definition Messages.h:47
Messages & AddErrors(Aws::String &&value)
Definition Messages.h:52
const Aws::Vector< Aws::String > & GetErrors() const
Definition Messages.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue