AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ServiceQuotaExceededExceptionReason.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API ServiceQuotaExceededException() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetMessage() const { return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 template<typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
47 template<typename MessageT = Aws::String>
48 ServiceQuotaExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
50
52
53 inline const ServiceQuotaExceededExceptionReason& GetReason() const { return m_reason; }
54 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
55 template<typename ReasonT = ServiceQuotaExceededExceptionReason>
56 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
57 template<typename ReasonT = ServiceQuotaExceededExceptionReason>
58 ServiceQuotaExceededException& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
60 private:
61
62 Aws::String m_message;
63 bool m_messageHasBeenSet = false;
64
66 bool m_reasonHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Connect
71} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithReason(ReasonT &&value)
AWS_CONNECT_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceQuotaExceededExceptionReason & GetReason() const
AWS_CONNECT_API ServiceQuotaExceededException()=default
AWS_CONNECT_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue