AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SanitizationWarning.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mq/model/SanitizationWarningReason.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 MQ
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MQ_API SanitizationWarning();
40
41
43
46 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
47 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
48 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
49 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
50 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
51 inline SanitizationWarning& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
52 inline SanitizationWarning& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
53 inline SanitizationWarning& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
55
57
60 inline const Aws::String& GetElementName() const{ return m_elementName; }
61 inline bool ElementNameHasBeenSet() const { return m_elementNameHasBeenSet; }
62 inline void SetElementName(const Aws::String& value) { m_elementNameHasBeenSet = true; m_elementName = value; }
63 inline void SetElementName(Aws::String&& value) { m_elementNameHasBeenSet = true; m_elementName = std::move(value); }
64 inline void SetElementName(const char* value) { m_elementNameHasBeenSet = true; m_elementName.assign(value); }
65 inline SanitizationWarning& WithElementName(const Aws::String& value) { SetElementName(value); return *this;}
66 inline SanitizationWarning& WithElementName(Aws::String&& value) { SetElementName(std::move(value)); return *this;}
67 inline SanitizationWarning& WithElementName(const char* value) { SetElementName(value); return *this;}
69
71
75 inline const SanitizationWarningReason& GetReason() const{ return m_reason; }
76 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
77 inline void SetReason(const SanitizationWarningReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
78 inline void SetReason(SanitizationWarningReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
79 inline SanitizationWarning& WithReason(const SanitizationWarningReason& value) { SetReason(value); return *this;}
80 inline SanitizationWarning& WithReason(SanitizationWarningReason&& value) { SetReason(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_attributeName;
85 bool m_attributeNameHasBeenSet = false;
86
87 Aws::String m_elementName;
88 bool m_elementNameHasBeenSet = false;
89
91 bool m_reasonHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MQ
96} // namespace Aws
SanitizationWarning & WithAttributeName(const char *value)
const SanitizationWarningReason & GetReason() const
SanitizationWarning & WithElementName(Aws::String &&value)
void SetReason(const SanitizationWarningReason &value)
AWS_MQ_API SanitizationWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetElementName(Aws::String &&value)
SanitizationWarning & WithElementName(const Aws::String &value)
const Aws::String & GetAttributeName() const
SanitizationWarning & WithElementName(const char *value)
void SetAttributeName(const Aws::String &value)
SanitizationWarning & WithAttributeName(const Aws::String &value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
SanitizationWarning & WithReason(const SanitizationWarningReason &value)
SanitizationWarning & WithAttributeName(Aws::String &&value)
void SetAttributeName(Aws::String &&value)
void SetElementName(const Aws::String &value)
const Aws::String & GetElementName() const
AWS_MQ_API SanitizationWarning(Aws::Utils::Json::JsonView jsonValue)
SanitizationWarning & WithReason(SanitizationWarningReason &&value)
void SetReason(SanitizationWarningReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue