AWS SDK for C++  1.9.66
AWS SDK for C++
ResourceLimitExceededException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GroundStation
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
41 
42  inline const Aws::String& GetMessage() const{ return m_message; }
43 
44 
45  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 
47 
48  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 
50 
51  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 
53 
54  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 
56 
57  inline ResourceLimitExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline ResourceLimitExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline ResourceLimitExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
69  inline const Aws::String& GetParameterName() const{ return m_parameterName; }
70 
74  inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
75 
79  inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
80 
84  inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
85 
89  inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
90 
94  inline ResourceLimitExceededException& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
95 
99  inline ResourceLimitExceededException& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
100 
104  inline ResourceLimitExceededException& WithParameterName(const char* value) { SetParameterName(value); return *this;}
105 
106  private:
107 
108  Aws::String m_message;
109  bool m_messageHasBeenSet;
110 
111  Aws::String m_parameterName;
112  bool m_parameterNameHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace GroundStation
117 } // namespace Aws
Aws::GroundStation::Model::ResourceLimitExceededException::ResourceLimitExceededException
ResourceLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::ResourceLimitExceededException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::ResourceLimitExceededException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ResourceLimitExceededException.h:45
Aws::GroundStation::Model::ResourceLimitExceededException
Definition: ResourceLimitExceededException.h:33
Aws::GroundStation::Model::ResourceLimitExceededException::WithParameterName
ResourceLimitExceededException & WithParameterName(const char *value)
Definition: ResourceLimitExceededException.h:104
Aws::GroundStation::Model::ResourceLimitExceededException::SetParameterName
void SetParameterName(Aws::String &&value)
Definition: ResourceLimitExceededException.h:84
Aws::GroundStation::Model::ResourceLimitExceededException::WithMessage
ResourceLimitExceededException & WithMessage(const Aws::String &value)
Definition: ResourceLimitExceededException.h:57
Aws::GroundStation::Model::ResourceLimitExceededException::SetParameterName
void SetParameterName(const Aws::String &value)
Definition: ResourceLimitExceededException.h:79
Aws::GroundStation::Model::ResourceLimitExceededException::WithMessage
ResourceLimitExceededException & WithMessage(const char *value)
Definition: ResourceLimitExceededException.h:63
Aws::GroundStation::Model::ResourceLimitExceededException::WithMessage
ResourceLimitExceededException & WithMessage(Aws::String &&value)
Definition: ResourceLimitExceededException.h:60
Aws::GroundStation::Model::ResourceLimitExceededException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ResourceLimitExceededException.h:48
Aws::GroundStation::Model::ResourceLimitExceededException::WithParameterName
ResourceLimitExceededException & WithParameterName(const Aws::String &value)
Definition: ResourceLimitExceededException.h:94
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ResourceLimitExceededException::GetParameterName
const Aws::String & GetParameterName() const
Definition: ResourceLimitExceededException.h:69
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::ResourceLimitExceededException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ResourceLimitExceededException.h:51
Aws::GroundStation::Model::ResourceLimitExceededException::ParameterNameHasBeenSet
bool ParameterNameHasBeenSet() const
Definition: ResourceLimitExceededException.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ResourceLimitExceededException::GetMessage
const Aws::String & GetMessage() const
Definition: ResourceLimitExceededException.h:42
Aws::GroundStation::Model::ResourceLimitExceededException::SetParameterName
void SetParameterName(const char *value)
Definition: ResourceLimitExceededException.h:89
Aws::GroundStation::Model::ResourceLimitExceededException::operator=
ResourceLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::ResourceLimitExceededException::WithParameterName
ResourceLimitExceededException & WithParameterName(Aws::String &&value)
Definition: ResourceLimitExceededException.h:99
Aws::GroundStation::Model::ResourceLimitExceededException::ResourceLimitExceededException
ResourceLimitExceededException()
Aws::GroundStation::Model::ResourceLimitExceededException::SetMessage
void SetMessage(const char *value)
Definition: ResourceLimitExceededException.h:54