AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyValidationException.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/PropertyValidationExceptionProperty.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECT_API PropertyValidationException();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetMessage() const{ return m_message; }
45 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
47 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
48 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
49 inline PropertyValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
50 inline PropertyValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
51 inline PropertyValidationException& WithMessage(const char* value) { SetMessage(value); return *this;}
53
55
56 inline const Aws::Vector<PropertyValidationExceptionProperty>& GetPropertyList() const{ return m_propertyList; }
57 inline bool PropertyListHasBeenSet() const { return m_propertyListHasBeenSet; }
58 inline void SetPropertyList(const Aws::Vector<PropertyValidationExceptionProperty>& value) { m_propertyListHasBeenSet = true; m_propertyList = value; }
59 inline void SetPropertyList(Aws::Vector<PropertyValidationExceptionProperty>&& value) { m_propertyListHasBeenSet = true; m_propertyList = std::move(value); }
62 inline PropertyValidationException& AddPropertyList(const PropertyValidationExceptionProperty& value) { m_propertyListHasBeenSet = true; m_propertyList.push_back(value); return *this; }
63 inline PropertyValidationException& AddPropertyList(PropertyValidationExceptionProperty&& value) { m_propertyListHasBeenSet = true; m_propertyList.push_back(std::move(value)); return *this; }
65 private:
66
67 Aws::String m_message;
68 bool m_messageHasBeenSet = false;
69
71 bool m_propertyListHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Connect
76} // namespace Aws
PropertyValidationException & AddPropertyList(const PropertyValidationExceptionProperty &value)
PropertyValidationException & WithPropertyList(const Aws::Vector< PropertyValidationExceptionProperty > &value)
void SetPropertyList(Aws::Vector< PropertyValidationExceptionProperty > &&value)
PropertyValidationException & WithMessage(Aws::String &&value)
AWS_CONNECT_API PropertyValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyList(const Aws::Vector< PropertyValidationExceptionProperty > &value)
PropertyValidationException & WithMessage(const Aws::String &value)
PropertyValidationException & AddPropertyList(PropertyValidationExceptionProperty &&value)
PropertyValidationException & WithPropertyList(Aws::Vector< PropertyValidationExceptionProperty > &&value)
AWS_CONNECT_API PropertyValidationException(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< PropertyValidationExceptionProperty > & GetPropertyList() const
PropertyValidationException & WithMessage(const char *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