AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ValidationExceptionField.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Continuum {
20namespace Model {
21
23 public:
24 AWS_CONTINUUM_API ValidationExceptionField() = default;
27 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
28
30
31 inline const Aws::String& GetPath() const { return m_path; }
32 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
33 template <typename PathT = Aws::String>
34 void SetPath(PathT&& value) {
35 m_pathHasBeenSet = true;
36 m_path = std::forward<PathT>(value);
37 }
38 template <typename PathT = Aws::String>
40 SetPath(std::forward<PathT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetMessage() const { return m_message; }
48 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
49 template <typename MessageT = Aws::String>
50 void SetMessage(MessageT&& value) {
51 m_messageHasBeenSet = true;
52 m_message = std::forward<MessageT>(value);
53 }
54 template <typename MessageT = Aws::String>
56 SetMessage(std::forward<MessageT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_path;
62
63 Aws::String m_message;
64 bool m_pathHasBeenSet = false;
65 bool m_messageHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace Continuum
70} // namespace Aws
AWS_CONTINUUM_API ValidationExceptionField & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationExceptionField & WithMessage(MessageT &&value)
AWS_CONTINUUM_API ValidationExceptionField()=default
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationExceptionField & WithPath(PathT &&value)
AWS_CONTINUUM_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue