AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
HandshakeConstraintViolationException.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/HandshakeConstraintViolationExceptionReason.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
61 {
62 public:
63 AWS_ORGANIZATIONS_API HandshakeConstraintViolationException() = default;
66 AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
67
68
70
71 inline const Aws::String& GetMessage() const { return m_message; }
72 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
73 template<typename MessageT = Aws::String>
74 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
75 template<typename MessageT = Aws::String>
76 HandshakeConstraintViolationException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
78
80
81 inline HandshakeConstraintViolationExceptionReason GetReason() const { return m_reason; }
82 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
83 inline void SetReason(HandshakeConstraintViolationExceptionReason value) { m_reasonHasBeenSet = true; m_reason = value; }
86 private:
87
88 Aws::String m_message;
89 bool m_messageHasBeenSet = false;
90
92 bool m_reasonHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Organizations
97} // namespace Aws
AWS_ORGANIZATIONS_API HandshakeConstraintViolationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
HandshakeConstraintViolationException & WithReason(HandshakeConstraintViolationExceptionReason value)
AWS_ORGANIZATIONS_API HandshakeConstraintViolationException(Aws::Utils::Json::JsonView jsonValue)
HandshakeConstraintViolationException & WithMessage(MessageT &&value)
AWS_ORGANIZATIONS_API HandshakeConstraintViolationException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue