AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyValidationExceptionProperty.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/PropertyValidationExceptionReason.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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPropertyPath() const{ return m_propertyPath; }
47 inline bool PropertyPathHasBeenSet() const { return m_propertyPathHasBeenSet; }
48 inline void SetPropertyPath(const Aws::String& value) { m_propertyPathHasBeenSet = true; m_propertyPath = value; }
49 inline void SetPropertyPath(Aws::String&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::move(value); }
50 inline void SetPropertyPath(const char* value) { m_propertyPathHasBeenSet = true; m_propertyPath.assign(value); }
52 inline PropertyValidationExceptionProperty& WithPropertyPath(Aws::String&& value) { SetPropertyPath(std::move(value)); return *this;}
53 inline PropertyValidationExceptionProperty& WithPropertyPath(const char* value) { SetPropertyPath(value); return *this;}
55
57
60 inline const PropertyValidationExceptionReason& GetReason() const{ return m_reason; }
61 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
62 inline void SetReason(const PropertyValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
63 inline void SetReason(PropertyValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
67
69
72 inline const Aws::String& GetMessage() const{ return m_message; }
73 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
74 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
75 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
76 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
77 inline PropertyValidationExceptionProperty& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
78 inline PropertyValidationExceptionProperty& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
79 inline PropertyValidationExceptionProperty& WithMessage(const char* value) { SetMessage(value); return *this;}
81 private:
82
83 Aws::String m_propertyPath;
84 bool m_propertyPathHasBeenSet = false;
85
87 bool m_reasonHasBeenSet = false;
88
89 Aws::String m_message;
90 bool m_messageHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
PropertyValidationExceptionProperty & WithMessage(const Aws::String &value)
PropertyValidationExceptionProperty & WithReason(const PropertyValidationExceptionReason &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API PropertyValidationExceptionProperty(Aws::Utils::Json::JsonView jsonValue)
PropertyValidationExceptionProperty & WithPropertyPath(const Aws::String &value)
PropertyValidationExceptionProperty & WithReason(PropertyValidationExceptionReason &&value)
PropertyValidationExceptionProperty & WithPropertyPath(Aws::String &&value)
AWS_CONNECT_API PropertyValidationExceptionProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyValidationExceptionProperty & WithPropertyPath(const char *value)
PropertyValidationExceptionProperty & WithMessage(const char *value)
PropertyValidationExceptionProperty & WithMessage(Aws::String &&value)
void SetReason(const PropertyValidationExceptionReason &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue