AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateResourceProfileDetectionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/Macie2Request.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/SuppressDataIdentifier.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace Macie2 {
20namespace Model {
21
25 public:
26 AWS_MACIE2_API UpdateResourceProfileDetectionsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourceProfileDetections"; }
33
34 AWS_MACIE2_API Aws::String SerializePayload() const override;
35
36 AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
43 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
44 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
45 template <typename ResourceArnT = Aws::String>
46 void SetResourceArn(ResourceArnT&& value) {
47 m_resourceArnHasBeenSet = true;
48 m_resourceArn = std::forward<ResourceArnT>(value);
49 }
50 template <typename ResourceArnT = Aws::String>
52 SetResourceArn(std::forward<ResourceArnT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::Vector<SuppressDataIdentifier>& GetSuppressDataIdentifiers() const { return m_suppressDataIdentifiers; }
65 inline bool SuppressDataIdentifiersHasBeenSet() const { return m_suppressDataIdentifiersHasBeenSet; }
66 template <typename SuppressDataIdentifiersT = Aws::Vector<SuppressDataIdentifier>>
67 void SetSuppressDataIdentifiers(SuppressDataIdentifiersT&& value) {
68 m_suppressDataIdentifiersHasBeenSet = true;
69 m_suppressDataIdentifiers = std::forward<SuppressDataIdentifiersT>(value);
70 }
71 template <typename SuppressDataIdentifiersT = Aws::Vector<SuppressDataIdentifier>>
73 SetSuppressDataIdentifiers(std::forward<SuppressDataIdentifiersT>(value));
74 return *this;
75 }
76 template <typename SuppressDataIdentifiersT = SuppressDataIdentifier>
78 m_suppressDataIdentifiersHasBeenSet = true;
79 m_suppressDataIdentifiers.emplace_back(std::forward<SuppressDataIdentifiersT>(value));
80 return *this;
81 }
83 private:
84 Aws::String m_resourceArn;
85
86 Aws::Vector<SuppressDataIdentifier> m_suppressDataIdentifiers;
87 bool m_resourceArnHasBeenSet = false;
88 bool m_suppressDataIdentifiersHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Macie2
93} // namespace Aws
const Aws::Vector< SuppressDataIdentifier > & GetSuppressDataIdentifiers() const
UpdateResourceProfileDetectionsRequest & WithSuppressDataIdentifiers(SuppressDataIdentifiersT &&value)
UpdateResourceProfileDetectionsRequest & AddSuppressDataIdentifiers(SuppressDataIdentifiersT &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateResourceProfileDetectionsRequest & WithResourceArn(ResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector