AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const ServiceLimit& GetLimit() const{ return m_limit; }
48 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
49 inline void SetLimit(const ServiceLimit& value) { m_limitHasBeenSet = true; m_limit = value; }
50 inline void SetLimit(ServiceLimit&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
51 inline ServiceLimitExceeded& WithLimit(const ServiceLimit& value) { SetLimit(value); return *this;}
52 inline ServiceLimitExceeded& WithLimit(ServiceLimit&& value) { SetLimit(std::move(value)); return *this;}
54
56
57 inline const Aws::String& GetMessage() const{ return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
59 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
60 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
61 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
62 inline ServiceLimitExceeded& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 inline ServiceLimitExceeded& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 inline ServiceLimitExceeded& WithMessage(const char* value) { SetMessage(value); return *this;}
66 private:
67
68 ServiceLimit m_limit;
69 bool m_limitHasBeenSet = false;
70
71 Aws::String m_message;
72 bool m_messageHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FSx
77} // namespace Aws
AWS_FSX_API ServiceLimitExceeded & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceeded & WithLimit(const ServiceLimit &value)
ServiceLimitExceeded & WithMessage(const Aws::String &value)
AWS_FSX_API ServiceLimitExceeded(Aws::Utils::Json::JsonView jsonValue)
void SetLimit(const ServiceLimit &value)
ServiceLimitExceeded & WithMessage(Aws::String &&value)
const ServiceLimit & GetLimit() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLimitExceeded & WithLimit(ServiceLimit &&value)
ServiceLimitExceeded & WithMessage(const char *value)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue