AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartSchemaExtensionRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DirectoryService
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DIRECTORYSERVICE_API StartSchemaExtensionRequest() = default;
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_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
43 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
44 template<typename DirectoryIdT = Aws::String>
45 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
46 template<typename DirectoryIdT = Aws::String>
47 StartSchemaExtensionRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
49
51
55 inline bool GetCreateSnapshotBeforeSchemaExtension() const { return m_createSnapshotBeforeSchemaExtension; }
56 inline bool CreateSnapshotBeforeSchemaExtensionHasBeenSet() const { return m_createSnapshotBeforeSchemaExtensionHasBeenSet; }
57 inline void SetCreateSnapshotBeforeSchemaExtension(bool value) { m_createSnapshotBeforeSchemaExtensionHasBeenSet = true; m_createSnapshotBeforeSchemaExtension = value; }
60
62
68 inline const Aws::String& GetLdifContent() const { return m_ldifContent; }
69 inline bool LdifContentHasBeenSet() const { return m_ldifContentHasBeenSet; }
70 template<typename LdifContentT = Aws::String>
71 void SetLdifContent(LdifContentT&& value) { m_ldifContentHasBeenSet = true; m_ldifContent = std::forward<LdifContentT>(value); }
72 template<typename LdifContentT = Aws::String>
73 StartSchemaExtensionRequest& WithLdifContent(LdifContentT&& value) { SetLdifContent(std::forward<LdifContentT>(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template<typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
84 template<typename DescriptionT = Aws::String>
85 StartSchemaExtensionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
87 private:
88
89 Aws::String m_directoryId;
90 bool m_directoryIdHasBeenSet = false;
91
92 bool m_createSnapshotBeforeSchemaExtension{false};
93 bool m_createSnapshotBeforeSchemaExtensionHasBeenSet = false;
94
95 Aws::String m_ldifContent;
96 bool m_ldifContentHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace DirectoryService
104} // namespace Aws
AWS_DIRECTORYSERVICE_API StartSchemaExtensionRequest()=default
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
StartSchemaExtensionRequest & WithDirectoryId(DirectoryIdT &&value)
StartSchemaExtensionRequest & WithDescription(DescriptionT &&value)
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartSchemaExtensionRequest & WithCreateSnapshotBeforeSchemaExtension(bool value)
StartSchemaExtensionRequest & WithLdifContent(LdifContentT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String