AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
InvalidInputException.h
1
6#pragma once
7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/InvalidInputExceptionReason.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 Organizations
23{
24namespace Model
25{
26
77 {
78 public:
79 AWS_ORGANIZATIONS_API InvalidInputException() = default;
80 AWS_ORGANIZATIONS_API InvalidInputException(Aws::Utils::Json::JsonView jsonValue);
82 AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
83
84
86
87 inline const Aws::String& GetMessage() const { return m_message; }
88 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
89 template<typename MessageT = Aws::String>
90 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
91 template<typename MessageT = Aws::String>
92 InvalidInputException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
94
96
97 inline InvalidInputExceptionReason GetReason() const { return m_reason; }
98 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
99 inline void SetReason(InvalidInputExceptionReason value) { m_reasonHasBeenSet = true; m_reason = value; }
102 private:
103
104 Aws::String m_message;
105 bool m_messageHasBeenSet = false;
106
108 bool m_reasonHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Organizations
113} // namespace Aws
AWS_ORGANIZATIONS_API InvalidInputException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API InvalidInputException(Aws::Utils::Json::JsonView jsonValue)
InvalidInputException & WithReason(InvalidInputExceptionReason value)
AWS_ORGANIZATIONS_API InvalidInputException()=default
InvalidInputException & WithMessage(MessageT &&value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(InvalidInputExceptionReason value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue