AWS SDK for C++  1.8.152
AWS SDK for C++
AuthenticationFailedException.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 DirectoryService
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetMessage() const{ return m_message; }
44 
48  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
49 
53  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
54 
58  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
59 
63  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
64 
68  inline AuthenticationFailedException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
69 
73  inline AuthenticationFailedException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
74 
78  inline AuthenticationFailedException& WithMessage(const char* value) { SetMessage(value); return *this;}
79 
80 
84  inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 
89  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
90 
94  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
95 
99  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
100 
104  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
105 
109  inline AuthenticationFailedException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
110 
114  inline AuthenticationFailedException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 
119  inline AuthenticationFailedException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 
121  private:
122 
123  Aws::String m_message;
124  bool m_messageHasBeenSet;
125 
126  Aws::String m_requestId;
127  bool m_requestIdHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace DirectoryService
132 } // namespace Aws
Aws::DirectoryService::Model::AuthenticationFailedException::GetRequestId
const Aws::String & GetRequestId() const
Definition: AuthenticationFailedException.h:84
Aws::DirectoryService::Model::AuthenticationFailedException::SetMessage
void SetMessage(const Aws::String &value)
Definition: AuthenticationFailedException.h:53
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::AuthenticationFailedException
Definition: AuthenticationFailedException.h:32
Aws::DirectoryService::Model::AuthenticationFailedException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::AuthenticationFailedException::WithMessage
AuthenticationFailedException & WithMessage(const Aws::String &value)
Definition: AuthenticationFailedException.h:68
Aws::DirectoryService::Model::AuthenticationFailedException::SetMessage
void SetMessage(Aws::String &&value)
Definition: AuthenticationFailedException.h:58
Aws::DirectoryService::Model::AuthenticationFailedException::WithMessage
AuthenticationFailedException & WithMessage(const char *value)
Definition: AuthenticationFailedException.h:78
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::AuthenticationFailedException::operator=
AuthenticationFailedException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::AuthenticationFailedException::SetRequestId
void SetRequestId(const char *value)
Definition: AuthenticationFailedException.h:104
Aws::DirectoryService::Model::AuthenticationFailedException::AuthenticationFailedException
AuthenticationFailedException(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::AuthenticationFailedException::WithRequestId
AuthenticationFailedException & WithRequestId(const char *value)
Definition: AuthenticationFailedException.h:119
Aws::DirectoryService::Model::AuthenticationFailedException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: AuthenticationFailedException.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::AuthenticationFailedException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: AuthenticationFailedException.h:99
Aws::DirectoryService::Model::AuthenticationFailedException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: AuthenticationFailedException.h:94
Aws::DirectoryService::Model::AuthenticationFailedException::WithRequestId
AuthenticationFailedException & WithRequestId(const Aws::String &value)
Definition: AuthenticationFailedException.h:109
Aws::DirectoryService::Model::AuthenticationFailedException::WithRequestId
AuthenticationFailedException & WithRequestId(Aws::String &&value)
Definition: AuthenticationFailedException.h:114
Aws::DirectoryService::Model::AuthenticationFailedException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: AuthenticationFailedException.h:89
Aws::DirectoryService::Model::AuthenticationFailedException::SetMessage
void SetMessage(const char *value)
Definition: AuthenticationFailedException.h:63
Aws::DirectoryService::Model::AuthenticationFailedException::WithMessage
AuthenticationFailedException & WithMessage(Aws::String &&value)
Definition: AuthenticationFailedException.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::AuthenticationFailedException::GetMessage
const Aws::String & GetMessage() const
Definition: AuthenticationFailedException.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::AuthenticationFailedException::AuthenticationFailedException
AuthenticationFailedException()