AWS SDK for C++  1.9.66
AWS SDK for C++
InvalidParameterException.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 
32  {
33  public:
38 
39 
40 
41  inline const Aws::String& GetMessage() const{ return m_message; }
42 
43 
44  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 
46 
47  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 
49 
50  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
51 
52 
53  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
54 
55 
56  inline InvalidParameterException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 
58 
59  inline InvalidParameterException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
60 
61 
62  inline InvalidParameterException& WithMessage(const char* value) { SetMessage(value); return *this;}
63 
64 
68  inline const Aws::String& GetParameterName() const{ return m_parameterName; }
69 
73  inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
74 
78  inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
79 
83  inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
84 
88  inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
89 
93  inline InvalidParameterException& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
94 
98  inline InvalidParameterException& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
99 
103  inline InvalidParameterException& WithParameterName(const char* value) { SetParameterName(value); return *this;}
104 
105  private:
106 
107  Aws::String m_message;
108  bool m_messageHasBeenSet;
109 
110  Aws::String m_parameterName;
111  bool m_parameterNameHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace GroundStation
116 } // namespace Aws
Aws::GroundStation::Model::InvalidParameterException::GetParameterName
const Aws::String & GetParameterName() const
Definition: InvalidParameterException.h:68
Aws::GroundStation::Model::InvalidParameterException::WithMessage
InvalidParameterException & WithMessage(const char *value)
Definition: InvalidParameterException.h:62
Aws::GroundStation::Model::InvalidParameterException::SetParameterName
void SetParameterName(Aws::String &&value)
Definition: InvalidParameterException.h:83
Aws::GroundStation::Model::InvalidParameterException::WithMessage
InvalidParameterException & WithMessage(const Aws::String &value)
Definition: InvalidParameterException.h:56
Aws::GroundStation::Model::InvalidParameterException::WithParameterName
InvalidParameterException & WithParameterName(Aws::String &&value)
Definition: InvalidParameterException.h:98
Aws::GroundStation::Model::InvalidParameterException::SetParameterName
void SetParameterName(const char *value)
Definition: InvalidParameterException.h:88
Aws::GroundStation::Model::InvalidParameterException::InvalidParameterException
InvalidParameterException()
Aws::GroundStation::Model::InvalidParameterException::InvalidParameterException
InvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::InvalidParameterException::WithParameterName
InvalidParameterException & WithParameterName(const char *value)
Definition: InvalidParameterException.h:103
Aws::GroundStation::Model::InvalidParameterException::GetMessage
const Aws::String & GetMessage() const
Definition: InvalidParameterException.h:41
Aws::GroundStation::Model::InvalidParameterException::SetParameterName
void SetParameterName(const Aws::String &value)
Definition: InvalidParameterException.h:78
Aws::GroundStation::Model::InvalidParameterException::ParameterNameHasBeenSet
bool ParameterNameHasBeenSet() const
Definition: InvalidParameterException.h:73
GroundStation_EXPORTS.h
Aws::GroundStation::Model::InvalidParameterException::operator=
InvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::InvalidParameterException::WithParameterName
InvalidParameterException & WithParameterName(const Aws::String &value)
Definition: InvalidParameterException.h:93
Aws::GroundStation::Model::InvalidParameterException::SetMessage
void SetMessage(Aws::String &&value)
Definition: InvalidParameterException.h:50
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::InvalidParameterException
Definition: InvalidParameterException.h:32
Aws::GroundStation::Model::InvalidParameterException::SetMessage
void SetMessage(const Aws::String &value)
Definition: InvalidParameterException.h:47
Aws::GroundStation::Model::InvalidParameterException::SetMessage
void SetMessage(const char *value)
Definition: InvalidParameterException.h:53
Aws::GroundStation::Model::InvalidParameterException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::InvalidParameterException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: InvalidParameterException.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::InvalidParameterException::WithMessage
InvalidParameterException & WithMessage(Aws::String &&value)
Definition: InvalidParameterException.h:59