AWS SDK for C++  1.9.66
AWS SDK for C++
DependencyException.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 DependencyException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 
58 
59  inline DependencyException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
60 
61 
62  inline DependencyException& 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 DependencyException& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
94 
98  inline DependencyException& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
99 
103  inline DependencyException& 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::DependencyException::SetParameterName
void SetParameterName(const Aws::String &value)
Definition: DependencyException.h:78
Aws::GroundStation::Model::DependencyException::SetMessage
void SetMessage(Aws::String &&value)
Definition: DependencyException.h:50
Aws::GroundStation::Model::DependencyException::SetMessage
void SetMessage(const char *value)
Definition: DependencyException.h:53
Aws::GroundStation::Model::DependencyException::WithParameterName
DependencyException & WithParameterName(Aws::String &&value)
Definition: DependencyException.h:98
Aws::GroundStation::Model::DependencyException::DependencyException
DependencyException(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::DependencyException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: DependencyException.h:44
Aws::GroundStation::Model::DependencyException::DependencyException
DependencyException()
Aws::GroundStation::Model::DependencyException::operator=
DependencyException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::DependencyException::ParameterNameHasBeenSet
bool ParameterNameHasBeenSet() const
Definition: DependencyException.h:73
GroundStation_EXPORTS.h
Aws::GroundStation::Model::DependencyException::WithMessage
DependencyException & WithMessage(const char *value)
Definition: DependencyException.h:62
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::DependencyException::SetMessage
void SetMessage(const Aws::String &value)
Definition: DependencyException.h:47
Aws::GroundStation::Model::DependencyException
Definition: DependencyException.h:32
Aws::GroundStation::Model::DependencyException::WithMessage
DependencyException & WithMessage(Aws::String &&value)
Definition: DependencyException.h:59
Aws::GroundStation::Model::DependencyException::SetParameterName
void SetParameterName(const char *value)
Definition: DependencyException.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::DependencyException::WithMessage
DependencyException & WithMessage(const Aws::String &value)
Definition: DependencyException.h:56
Aws::GroundStation::Model::DependencyException::WithParameterName
DependencyException & WithParameterName(const Aws::String &value)
Definition: DependencyException.h:93
Aws::GroundStation::Model::DependencyException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::DependencyException::WithParameterName
DependencyException & WithParameterName(const char *value)
Definition: DependencyException.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::DependencyException::SetParameterName
void SetParameterName(Aws::String &&value)
Definition: DependencyException.h:83
Aws::GroundStation::Model::DependencyException::GetMessage
const Aws::String & GetMessage() const
Definition: DependencyException.h:41
Aws::GroundStation::Model::DependencyException::GetParameterName
const Aws::String & GetParameterName() const
Definition: DependencyException.h:68