AWS SDK for C++  1.8.152
AWS SDK for C++
DomainControllerLimitExceededException.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 
34  {
35  public:
40 
41 
42 
43  inline const Aws::String& GetMessage() const{ return m_message; }
44 
45 
46  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 
48 
49  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
50 
51 
52  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
53 
54 
55  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
56 
57 
58  inline DomainControllerLimitExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
59 
60 
61  inline DomainControllerLimitExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
62 
63 
64  inline DomainControllerLimitExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
65 
66 
67 
68  inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 
70 
71  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
72 
73 
74  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
75 
76 
77  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
78 
79 
80  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
81 
82 
83  inline DomainControllerLimitExceededException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 
85 
86  inline DomainControllerLimitExceededException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 
88 
89  inline DomainControllerLimitExceededException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 
91  private:
92 
93  Aws::String m_message;
94  bool m_messageHasBeenSet;
95 
96  Aws::String m_requestId;
97  bool m_requestIdHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace DirectoryService
102 } // namespace Aws
Aws::DirectoryService::Model::DomainControllerLimitExceededException::WithRequestId
DomainControllerLimitExceededException & WithRequestId(Aws::String &&value)
Definition: DomainControllerLimitExceededException.h:86
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DomainControllerLimitExceededException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: DomainControllerLimitExceededException.h:71
Aws::DirectoryService::Model::DomainControllerLimitExceededException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DomainControllerLimitExceededException.h:74
Aws::DirectoryService::Model::DomainControllerLimitExceededException::DomainControllerLimitExceededException
DomainControllerLimitExceededException()
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DomainControllerLimitExceededException::DomainControllerLimitExceededException
DomainControllerLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DomainControllerLimitExceededException::SetRequestId
void SetRequestId(const char *value)
Definition: DomainControllerLimitExceededException.h:80
Aws::DirectoryService::Model::DomainControllerLimitExceededException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::DomainControllerLimitExceededException::WithRequestId
DomainControllerLimitExceededException & WithRequestId(const Aws::String &value)
Definition: DomainControllerLimitExceededException.h:83
Aws::DirectoryService::Model::DomainControllerLimitExceededException::WithMessage
DomainControllerLimitExceededException & WithMessage(const Aws::String &value)
Definition: DomainControllerLimitExceededException.h:58
Aws::DirectoryService::Model::DomainControllerLimitExceededException::WithMessage
DomainControllerLimitExceededException & WithMessage(const char *value)
Definition: DomainControllerLimitExceededException.h:64
Aws::DirectoryService::Model::DomainControllerLimitExceededException::WithRequestId
DomainControllerLimitExceededException & WithRequestId(const char *value)
Definition: DomainControllerLimitExceededException.h:89
Aws::DirectoryService::Model::DomainControllerLimitExceededException::operator=
DomainControllerLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::DomainControllerLimitExceededException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: DomainControllerLimitExceededException.h:46
Aws::DirectoryService::Model::DomainControllerLimitExceededException::SetMessage
void SetMessage(Aws::String &&value)
Definition: DomainControllerLimitExceededException.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::DomainControllerLimitExceededException::GetMessage
const Aws::String & GetMessage() const
Definition: DomainControllerLimitExceededException.h:43
Aws::DirectoryService::Model::DomainControllerLimitExceededException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DomainControllerLimitExceededException.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DomainControllerLimitExceededException::SetMessage
void SetMessage(const Aws::String &value)
Definition: DomainControllerLimitExceededException.h:49
Aws::DirectoryService::Model::DomainControllerLimitExceededException::SetMessage
void SetMessage(const char *value)
Definition: DomainControllerLimitExceededException.h:55
Aws::DirectoryService::Model::DomainControllerLimitExceededException::GetRequestId
const Aws::String & GetRequestId() const
Definition: DomainControllerLimitExceededException.h:68
Aws::DirectoryService::Model::DomainControllerLimitExceededException::WithMessage
DomainControllerLimitExceededException & WithMessage(Aws::String &&value)
Definition: DomainControllerLimitExceededException.h:61
Aws::DirectoryService::Model::DomainControllerLimitExceededException
Definition: DomainControllerLimitExceededException.h:34