AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateDataAutomationLibraryRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
9#include <aws/bedrock-data-automation/model/EncryptionConfiguration.h>
10#include <aws/bedrock-data-automation/model/Tag.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace BedrockDataAutomation {
19namespace Model {
20
27 public:
28 AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationLibraryRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDataAutomationLibrary"; }
35
36 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
37
39
40 inline const Aws::String& GetLibraryName() const { return m_libraryName; }
41 inline bool LibraryNameHasBeenSet() const { return m_libraryNameHasBeenSet; }
42 template <typename LibraryNameT = Aws::String>
44 m_libraryNameHasBeenSet = true;
45 m_libraryName = std::forward<LibraryNameT>(value);
46 }
47 template <typename LibraryNameT = Aws::String>
49 SetLibraryName(std::forward<LibraryNameT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetLibraryDescription() const { return m_libraryDescription; }
57 inline bool LibraryDescriptionHasBeenSet() const { return m_libraryDescriptionHasBeenSet; }
58 template <typename LibraryDescriptionT = Aws::String>
60 m_libraryDescriptionHasBeenSet = true;
61 m_libraryDescription = std::forward<LibraryDescriptionT>(value);
62 }
63 template <typename LibraryDescriptionT = Aws::String>
65 SetLibraryDescription(std::forward<LibraryDescriptionT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetClientToken() const { return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 template <typename ClientTokenT = Aws::String>
76 m_clientTokenHasBeenSet = true;
77 m_clientToken = std::forward<ClientTokenT>(value);
78 }
79 template <typename ClientTokenT = Aws::String>
81 SetClientToken(std::forward<ClientTokenT>(value));
82 return *this;
83 }
85
87
88 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
89 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
90 template <typename EncryptionConfigurationT = EncryptionConfiguration>
92 m_encryptionConfigurationHasBeenSet = true;
93 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
94 }
95 template <typename EncryptionConfigurationT = EncryptionConfiguration>
97 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 template <typename TagsT = Aws::Vector<Tag>>
107 void SetTags(TagsT&& value) {
108 m_tagsHasBeenSet = true;
109 m_tags = std::forward<TagsT>(value);
110 }
111 template <typename TagsT = Aws::Vector<Tag>>
113 SetTags(std::forward<TagsT>(value));
114 return *this;
115 }
116 template <typename TagsT = Tag>
118 m_tagsHasBeenSet = true;
119 m_tags.emplace_back(std::forward<TagsT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_libraryName;
125
126 Aws::String m_libraryDescription;
127
129
130 EncryptionConfiguration m_encryptionConfiguration;
131
132 Aws::Vector<Tag> m_tags;
133 bool m_libraryNameHasBeenSet = false;
134 bool m_libraryDescriptionHasBeenSet = false;
135 bool m_clientTokenHasBeenSet = true;
136 bool m_encryptionConfigurationHasBeenSet = false;
137 bool m_tagsHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace BedrockDataAutomation
142} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
CreateDataAutomationLibraryRequest & WithLibraryDescription(LibraryDescriptionT &&value)
CreateDataAutomationLibraryRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateDataAutomationLibraryRequest & WithLibraryName(LibraryNameT &&value)
CreateDataAutomationLibraryRequest & WithClientToken(ClientTokenT &&value)
AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationLibraryRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector