AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
StartSchemaExtensionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DirectoryService {
15namespace Model {
16
20 public:
21 AWS_DIRECTORYSERVICE_API StartSchemaExtensionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartSchemaExtension"; }
28
29 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
30
31 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
39 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
40 template <typename DirectoryIdT = Aws::String>
41 void SetDirectoryId(DirectoryIdT&& value) {
42 m_directoryIdHasBeenSet = true;
43 m_directoryId = std::forward<DirectoryIdT>(value);
44 }
45 template <typename DirectoryIdT = Aws::String>
47 SetDirectoryId(std::forward<DirectoryIdT>(value));
48 return *this;
49 }
51
53
57 inline bool GetCreateSnapshotBeforeSchemaExtension() const { return m_createSnapshotBeforeSchemaExtension; }
58 inline bool CreateSnapshotBeforeSchemaExtensionHasBeenSet() const { return m_createSnapshotBeforeSchemaExtensionHasBeenSet; }
60 m_createSnapshotBeforeSchemaExtensionHasBeenSet = true;
61 m_createSnapshotBeforeSchemaExtension = value;
62 }
65 return *this;
66 }
68
70
76 inline const Aws::String& GetLdifContent() const { return m_ldifContent; }
77 inline bool LdifContentHasBeenSet() const { return m_ldifContentHasBeenSet; }
78 template <typename LdifContentT = Aws::String>
79 void SetLdifContent(LdifContentT&& value) {
80 m_ldifContentHasBeenSet = true;
81 m_ldifContent = std::forward<LdifContentT>(value);
82 }
83 template <typename LdifContentT = Aws::String>
85 SetLdifContent(std::forward<LdifContentT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_directoryId;
109
110 bool m_createSnapshotBeforeSchemaExtension{false};
111
112 Aws::String m_ldifContent;
113
114 Aws::String m_description;
115 bool m_directoryIdHasBeenSet = false;
116 bool m_createSnapshotBeforeSchemaExtensionHasBeenSet = false;
117 bool m_ldifContentHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace DirectoryService
123} // 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