AWS SDK for C++  1.8.152
AWS SDK for C++
StartSchemaExtensionRequest.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 "StartSchemaExtension"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
42 
47  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
48 
53  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
54 
59  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
60 
65  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
66 
71  inline StartSchemaExtensionRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
72 
77  inline StartSchemaExtensionRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
78 
83  inline StartSchemaExtensionRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
84 
85 
90  inline bool GetCreateSnapshotBeforeSchemaExtension() const{ return m_createSnapshotBeforeSchemaExtension; }
91 
96  inline bool CreateSnapshotBeforeSchemaExtensionHasBeenSet() const { return m_createSnapshotBeforeSchemaExtensionHasBeenSet; }
97 
102  inline void SetCreateSnapshotBeforeSchemaExtension(bool value) { m_createSnapshotBeforeSchemaExtensionHasBeenSet = true; m_createSnapshotBeforeSchemaExtension = value; }
103 
108  inline StartSchemaExtensionRequest& WithCreateSnapshotBeforeSchemaExtension(bool value) { SetCreateSnapshotBeforeSchemaExtension(value); return *this;}
109 
110 
117  inline const Aws::String& GetLdifContent() const{ return m_ldifContent; }
118 
125  inline bool LdifContentHasBeenSet() const { return m_ldifContentHasBeenSet; }
126 
133  inline void SetLdifContent(const Aws::String& value) { m_ldifContentHasBeenSet = true; m_ldifContent = value; }
134 
141  inline void SetLdifContent(Aws::String&& value) { m_ldifContentHasBeenSet = true; m_ldifContent = std::move(value); }
142 
149  inline void SetLdifContent(const char* value) { m_ldifContentHasBeenSet = true; m_ldifContent.assign(value); }
150 
157  inline StartSchemaExtensionRequest& WithLdifContent(const Aws::String& value) { SetLdifContent(value); return *this;}
158 
165  inline StartSchemaExtensionRequest& WithLdifContent(Aws::String&& value) { SetLdifContent(std::move(value)); return *this;}
166 
173  inline StartSchemaExtensionRequest& WithLdifContent(const char* value) { SetLdifContent(value); return *this;}
174 
175 
179  inline const Aws::String& GetDescription() const{ return m_description; }
180 
184  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
185 
189  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
190 
194  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
195 
199  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
200 
204  inline StartSchemaExtensionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
205 
209  inline StartSchemaExtensionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
210 
214  inline StartSchemaExtensionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
215 
216  private:
217 
218  Aws::String m_directoryId;
219  bool m_directoryIdHasBeenSet;
220 
221  bool m_createSnapshotBeforeSchemaExtension;
222  bool m_createSnapshotBeforeSchemaExtensionHasBeenSet;
223 
224  Aws::String m_ldifContent;
225  bool m_ldifContentHasBeenSet;
226 
227  Aws::String m_description;
228  bool m_descriptionHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace DirectoryService
233 } // namespace Aws
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithLdifContent
StartSchemaExtensionRequest & WithLdifContent(Aws::String &&value)
Definition: StartSchemaExtensionRequest.h:165
Aws::DirectoryService::Model::StartSchemaExtensionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithDirectoryId
StartSchemaExtensionRequest & WithDirectoryId(Aws::String &&value)
Definition: StartSchemaExtensionRequest.h:77
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: StartSchemaExtensionRequest.h:189
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithDescription
StartSchemaExtensionRequest & WithDescription(const char *value)
Definition: StartSchemaExtensionRequest.h:214
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithLdifContent
StartSchemaExtensionRequest & WithLdifContent(const char *value)
Definition: StartSchemaExtensionRequest.h:173
Aws::DirectoryService::Model::StartSchemaExtensionRequest
Definition: StartSchemaExtensionRequest.h:22
Aws::DirectoryService::Model::StartSchemaExtensionRequest::CreateSnapshotBeforeSchemaExtensionHasBeenSet
bool CreateSnapshotBeforeSchemaExtensionHasBeenSet() const
Definition: StartSchemaExtensionRequest.h:96
Aws::DirectoryService::Model::StartSchemaExtensionRequest::LdifContentHasBeenSet
bool LdifContentHasBeenSet() const
Definition: StartSchemaExtensionRequest.h:125
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithDirectoryId
StartSchemaExtensionRequest & WithDirectoryId(const Aws::String &value)
Definition: StartSchemaExtensionRequest.h:71
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: StartSchemaExtensionRequest.h:194
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithDirectoryId
StartSchemaExtensionRequest & WithDirectoryId(const char *value)
Definition: StartSchemaExtensionRequest.h:83
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithLdifContent
StartSchemaExtensionRequest & WithLdifContent(const Aws::String &value)
Definition: StartSchemaExtensionRequest.h:157
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetCreateSnapshotBeforeSchemaExtension
void SetCreateSnapshotBeforeSchemaExtension(bool value)
Definition: StartSchemaExtensionRequest.h:102
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: StartSchemaExtensionRequest.h:59
AWSString.h
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetDescription
void SetDescription(const char *value)
Definition: StartSchemaExtensionRequest.h:199
Aws::DirectoryService::Model::StartSchemaExtensionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: StartSchemaExtensionRequest.h:179
Aws::DirectoryService::Model::StartSchemaExtensionRequest::StartSchemaExtensionRequest
StartSchemaExtensionRequest()
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithCreateSnapshotBeforeSchemaExtension
StartSchemaExtensionRequest & WithCreateSnapshotBeforeSchemaExtension(bool value)
Definition: StartSchemaExtensionRequest.h:108
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithDescription
StartSchemaExtensionRequest & WithDescription(Aws::String &&value)
Definition: StartSchemaExtensionRequest.h:209
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: StartSchemaExtensionRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::StartSchemaExtensionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartSchemaExtensionRequest.h:30
Aws::DirectoryService::Model::StartSchemaExtensionRequest::GetLdifContent
const Aws::String & GetLdifContent() const
Definition: StartSchemaExtensionRequest.h:117
Aws::DirectoryService::Model::StartSchemaExtensionRequest::WithDescription
StartSchemaExtensionRequest & WithDescription(const Aws::String &value)
Definition: StartSchemaExtensionRequest.h:204
Aws::DirectoryService::Model::StartSchemaExtensionRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: StartSchemaExtensionRequest.h:47
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: StartSchemaExtensionRequest.h:53
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetLdifContent
void SetLdifContent(const Aws::String &value)
Definition: StartSchemaExtensionRequest.h:133
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetLdifContent
void SetLdifContent(Aws::String &&value)
Definition: StartSchemaExtensionRequest.h:141
DirectoryServiceRequest.h
Aws::DirectoryService::Model::StartSchemaExtensionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: StartSchemaExtensionRequest.h:184
Aws::DirectoryService::Model::StartSchemaExtensionRequest::SetLdifContent
void SetLdifContent(const char *value)
Definition: StartSchemaExtensionRequest.h:149
Aws::DirectoryService::Model::StartSchemaExtensionRequest::GetCreateSnapshotBeforeSchemaExtension
bool GetCreateSnapshotBeforeSchemaExtension() const
Definition: StartSchemaExtensionRequest.h:90
Aws::DirectoryService::Model::StartSchemaExtensionRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: StartSchemaExtensionRequest.h:41