AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidationWarning.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 DataPipeline
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_DATAPIPELINE_API ValidationWarning();
38 AWS_DATAPIPELINE_API ValidationWarning(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAPIPELINE_API ValidationWarning& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline ValidationWarning& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline ValidationWarning& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline ValidationWarning& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
62 inline bool WarningsHasBeenSet() const { return m_warningsHasBeenSet; }
63 inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warningsHasBeenSet = true; m_warnings = value; }
64 inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warningsHasBeenSet = true; m_warnings = std::move(value); }
65 inline ValidationWarning& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
66 inline ValidationWarning& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
67 inline ValidationWarning& AddWarnings(const Aws::String& value) { m_warningsHasBeenSet = true; m_warnings.push_back(value); return *this; }
68 inline ValidationWarning& AddWarnings(Aws::String&& value) { m_warningsHasBeenSet = true; m_warnings.push_back(std::move(value)); return *this; }
69 inline ValidationWarning& AddWarnings(const char* value) { m_warningsHasBeenSet = true; m_warnings.push_back(value); return *this; }
71 private:
72
73 Aws::String m_id;
74 bool m_idHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_warnings;
77 bool m_warningsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DataPipeline
82} // namespace Aws
void SetWarnings(Aws::Vector< Aws::String > &&value)
ValidationWarning & AddWarnings(const char *value)
const Aws::Vector< Aws::String > & GetWarnings() const
ValidationWarning & WithWarnings(const Aws::Vector< Aws::String > &value)
ValidationWarning & WithWarnings(Aws::Vector< Aws::String > &&value)
ValidationWarning & AddWarnings(const Aws::String &value)
ValidationWarning & WithId(const char *value)
AWS_DATAPIPELINE_API ValidationWarning(Aws::Utils::Json::JsonView jsonValue)
ValidationWarning & AddWarnings(Aws::String &&value)
void SetWarnings(const Aws::Vector< Aws::String > &value)
AWS_DATAPIPELINE_API ValidationWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationWarning & WithId(const Aws::String &value)
ValidationWarning & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue