AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
UpdateDataAutomationLibraryRequest.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/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BedrockDataAutomation {
16namespace Model {
17
24 public:
25 AWS_BEDROCKDATAAUTOMATION_API UpdateDataAutomationLibraryRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataAutomationLibrary"; }
32
33 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetLibraryArn() const { return m_libraryArn; }
40 inline bool LibraryArnHasBeenSet() const { return m_libraryArnHasBeenSet; }
41 template <typename LibraryArnT = Aws::String>
42 void SetLibraryArn(LibraryArnT&& value) {
43 m_libraryArnHasBeenSet = true;
44 m_libraryArn = std::forward<LibraryArnT>(value);
45 }
46 template <typename LibraryArnT = Aws::String>
48 SetLibraryArn(std::forward<LibraryArnT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetLibraryDescription() const { return m_libraryDescription; }
56 inline bool LibraryDescriptionHasBeenSet() const { return m_libraryDescriptionHasBeenSet; }
57 template <typename LibraryDescriptionT = Aws::String>
59 m_libraryDescriptionHasBeenSet = true;
60 m_libraryDescription = std::forward<LibraryDescriptionT>(value);
61 }
62 template <typename LibraryDescriptionT = Aws::String>
64 SetLibraryDescription(std::forward<LibraryDescriptionT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetClientToken() const { return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 template <typename ClientTokenT = Aws::String>
75 m_clientTokenHasBeenSet = true;
76 m_clientToken = std::forward<ClientTokenT>(value);
77 }
78 template <typename ClientTokenT = Aws::String>
80 SetClientToken(std::forward<ClientTokenT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_libraryArn;
86
87 Aws::String m_libraryDescription;
88
90 bool m_libraryArnHasBeenSet = false;
91 bool m_libraryDescriptionHasBeenSet = false;
92 bool m_clientTokenHasBeenSet = true;
93};
94
95} // namespace Model
96} // namespace BedrockDataAutomation
97} // namespace Aws
UpdateDataAutomationLibraryRequest & WithClientToken(ClientTokenT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
UpdateDataAutomationLibraryRequest & WithLibraryDescription(LibraryDescriptionT &&value)
AWS_BEDROCKDATAAUTOMATION_API UpdateDataAutomationLibraryRequest()=default
UpdateDataAutomationLibraryRequest & WithLibraryArn(LibraryArnT &&value)
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