AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateResourceProfileDetectionsRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/macie2/model/SuppressDataIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Macie2
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MACIE2_API UpdateResourceProfileDetectionsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourceProfileDetections"; }
37
38 AWS_MACIE2_API Aws::String SerializePayload() const override;
39
40 AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
49 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
50 template<typename ResourceArnT = Aws::String>
51 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
52 template<typename ResourceArnT = Aws::String>
53 UpdateResourceProfileDetectionsRequest& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
55
57
63 inline const Aws::Vector<SuppressDataIdentifier>& GetSuppressDataIdentifiers() const { return m_suppressDataIdentifiers; }
64 inline bool SuppressDataIdentifiersHasBeenSet() const { return m_suppressDataIdentifiersHasBeenSet; }
65 template<typename SuppressDataIdentifiersT = Aws::Vector<SuppressDataIdentifier>>
66 void SetSuppressDataIdentifiers(SuppressDataIdentifiersT&& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers = std::forward<SuppressDataIdentifiersT>(value); }
67 template<typename SuppressDataIdentifiersT = Aws::Vector<SuppressDataIdentifier>>
68 UpdateResourceProfileDetectionsRequest& WithSuppressDataIdentifiers(SuppressDataIdentifiersT&& value) { SetSuppressDataIdentifiers(std::forward<SuppressDataIdentifiersT>(value)); return *this;}
69 template<typename SuppressDataIdentifiersT = SuppressDataIdentifier>
70 UpdateResourceProfileDetectionsRequest& AddSuppressDataIdentifiers(SuppressDataIdentifiersT&& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers.emplace_back(std::forward<SuppressDataIdentifiersT>(value)); return *this; }
72 private:
73
74 Aws::String m_resourceArn;
75 bool m_resourceArnHasBeenSet = false;
76
77 Aws::Vector<SuppressDataIdentifier> m_suppressDataIdentifiers;
78 bool m_suppressDataIdentifiersHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Macie2
83} // 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