AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
63 {
64 public:
68 AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
69
70
72
73 inline const Aws::String& GetMessage() const{ return m_message; }
74 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
75 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
76 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
77 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
78 inline HandshakeConstraintViolationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
79 inline HandshakeConstraintViolationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
80 inline HandshakeConstraintViolationException& WithMessage(const char* value) { SetMessage(value); return *this;}
82
84
85 inline const HandshakeConstraintViolationExceptionReason& GetReason() const{ return m_reason; }
86 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
87 inline void SetReason(const HandshakeConstraintViolationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
88 inline void SetReason(HandshakeConstraintViolationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
92 private:
93
94 Aws::String m_message;
95 bool m_messageHasBeenSet = false;
96
98 bool m_reasonHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Organizations
103} // namespace Aws
AWS_ORGANIZATIONS_API HandshakeConstraintViolationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
HandshakeConstraintViolationException & WithMessage(const Aws::String &value)
HandshakeConstraintViolationException & WithMessage(const char *value)
HandshakeConstraintViolationException & WithReason(const HandshakeConstraintViolationExceptionReason &value)
AWS_ORGANIZATIONS_API HandshakeConstraintViolationException(Aws::Utils::Json::JsonView jsonValue)
HandshakeConstraintViolationException & WithMessage(Aws::String &&value)
void SetReason(const HandshakeConstraintViolationExceptionReason &value)
const HandshakeConstraintViolationExceptionReason & GetReason() const
void SetReason(HandshakeConstraintViolationExceptionReason &&value)
HandshakeConstraintViolationException & WithReason(HandshakeConstraintViolationExceptionReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue