AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceLimitExceeded.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/ServiceLimit.h>
9#include <aws/core/utils/memory/stl/AWSString.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 FSx
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_FSX_API ServiceLimitExceeded() = default;
41
42
44
47 inline ServiceLimit GetLimit() const { return m_limit; }
48 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
49 inline void SetLimit(ServiceLimit value) { m_limitHasBeenSet = true; m_limit = value; }
50 inline ServiceLimitExceeded& WithLimit(ServiceLimit value) { SetLimit(value); return *this;}
52
54
55 inline const Aws::String& GetMessage() const { return m_message; }
56 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
57 template<typename MessageT = Aws::String>
58 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
59 template<typename MessageT = Aws::String>
60 ServiceLimitExceeded& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
62 private:
63
65 bool m_limitHasBeenSet = false;
66
67 Aws::String m_message;
68 bool m_messageHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace FSx
73} // namespace Aws
AWS_FSX_API ServiceLimitExceeded & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceeded & WithLimit(ServiceLimit value)
AWS_FSX_API ServiceLimitExceeded(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API ServiceLimitExceeded()=default
ServiceLimitExceeded & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue