AWS SDK for C++  1.9.1
AWS SDK for C++
CancelSchemaExtensionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CancelSchemaExtension"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
41 
45  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
46 
50  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
51 
55  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
56 
60  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
61 
65  inline CancelSchemaExtensionRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
66 
70  inline CancelSchemaExtensionRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
71 
75  inline CancelSchemaExtensionRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
76 
77 
81  inline const Aws::String& GetSchemaExtensionId() const{ return m_schemaExtensionId; }
82 
86  inline bool SchemaExtensionIdHasBeenSet() const { return m_schemaExtensionIdHasBeenSet; }
87 
91  inline void SetSchemaExtensionId(const Aws::String& value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId = value; }
92 
96  inline void SetSchemaExtensionId(Aws::String&& value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId = std::move(value); }
97 
101  inline void SetSchemaExtensionId(const char* value) { m_schemaExtensionIdHasBeenSet = true; m_schemaExtensionId.assign(value); }
102 
106  inline CancelSchemaExtensionRequest& WithSchemaExtensionId(const Aws::String& value) { SetSchemaExtensionId(value); return *this;}
107 
111  inline CancelSchemaExtensionRequest& WithSchemaExtensionId(Aws::String&& value) { SetSchemaExtensionId(std::move(value)); return *this;}
112 
116  inline CancelSchemaExtensionRequest& WithSchemaExtensionId(const char* value) { SetSchemaExtensionId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_directoryId;
121  bool m_directoryIdHasBeenSet;
122 
123  Aws::String m_schemaExtensionId;
124  bool m_schemaExtensionIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace DirectoryService
129 } // namespace Aws
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::GetSchemaExtensionId
const Aws::String & GetSchemaExtensionId() const
Definition: CancelSchemaExtensionRequest.h:81
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SetSchemaExtensionId
void SetSchemaExtensionId(const char *value)
Definition: CancelSchemaExtensionRequest.h:101
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: CancelSchemaExtensionRequest.h:45
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::WithSchemaExtensionId
CancelSchemaExtensionRequest & WithSchemaExtensionId(const char *value)
Definition: CancelSchemaExtensionRequest.h:116
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: CancelSchemaExtensionRequest.h:50
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: CancelSchemaExtensionRequest.h:60
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::WithSchemaExtensionId
CancelSchemaExtensionRequest & WithSchemaExtensionId(const Aws::String &value)
Definition: CancelSchemaExtensionRequest.h:106
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SetSchemaExtensionId
void SetSchemaExtensionId(Aws::String &&value)
Definition: CancelSchemaExtensionRequest.h:96
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::WithDirectoryId
CancelSchemaExtensionRequest & WithDirectoryId(const Aws::String &value)
Definition: CancelSchemaExtensionRequest.h:65
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: CancelSchemaExtensionRequest.h:40
AWSString.h
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::CancelSchemaExtensionRequest
CancelSchemaExtensionRequest()
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::WithSchemaExtensionId
CancelSchemaExtensionRequest & WithSchemaExtensionId(Aws::String &&value)
Definition: CancelSchemaExtensionRequest.h:111
Aws::DirectoryService::Model::CancelSchemaExtensionRequest
Definition: CancelSchemaExtensionRequest.h:22
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::WithDirectoryId
CancelSchemaExtensionRequest & WithDirectoryId(Aws::String &&value)
Definition: CancelSchemaExtensionRequest.h:70
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SchemaExtensionIdHasBeenSet
bool SchemaExtensionIdHasBeenSet() const
Definition: CancelSchemaExtensionRequest.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SetSchemaExtensionId
void SetSchemaExtensionId(const Aws::String &value)
Definition: CancelSchemaExtensionRequest.h:91
DirectoryServiceRequest.h
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CancelSchemaExtensionRequest.h:30
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: CancelSchemaExtensionRequest.h:55
Aws::DirectoryService::Model::CancelSchemaExtensionRequest::WithDirectoryId
CancelSchemaExtensionRequest & WithDirectoryId(const char *value)
Definition: CancelSchemaExtensionRequest.h:75