AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
51 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
52 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
54 inline UpdateResourceProfileDetectionsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
55 inline UpdateResourceProfileDetectionsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
57
59
65 inline const Aws::Vector<SuppressDataIdentifier>& GetSuppressDataIdentifiers() const{ return m_suppressDataIdentifiers; }
66 inline bool SuppressDataIdentifiersHasBeenSet() const { return m_suppressDataIdentifiersHasBeenSet; }
67 inline void SetSuppressDataIdentifiers(const Aws::Vector<SuppressDataIdentifier>& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers = value; }
68 inline void SetSuppressDataIdentifiers(Aws::Vector<SuppressDataIdentifier>&& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers = std::move(value); }
71 inline UpdateResourceProfileDetectionsRequest& AddSuppressDataIdentifiers(const SuppressDataIdentifier& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers.push_back(value); return *this; }
72 inline UpdateResourceProfileDetectionsRequest& AddSuppressDataIdentifiers(SuppressDataIdentifier&& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_resourceArn;
77 bool m_resourceArnHasBeenSet = false;
78
79 Aws::Vector<SuppressDataIdentifier> m_suppressDataIdentifiers;
80 bool m_suppressDataIdentifiersHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Macie2
85} // namespace Aws
const Aws::Vector< SuppressDataIdentifier > & GetSuppressDataIdentifiers() const
UpdateResourceProfileDetectionsRequest & WithSuppressDataIdentifiers(const Aws::Vector< SuppressDataIdentifier > &value)
UpdateResourceProfileDetectionsRequest & WithSuppressDataIdentifiers(Aws::Vector< SuppressDataIdentifier > &&value)
UpdateResourceProfileDetectionsRequest & WithResourceArn(const Aws::String &value)
void SetSuppressDataIdentifiers(Aws::Vector< SuppressDataIdentifier > &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateResourceProfileDetectionsRequest & WithResourceArn(const char *value)
UpdateResourceProfileDetectionsRequest & AddSuppressDataIdentifiers(SuppressDataIdentifier &&value)
void SetSuppressDataIdentifiers(const Aws::Vector< SuppressDataIdentifier > &value)
UpdateResourceProfileDetectionsRequest & AddSuppressDataIdentifiers(const SuppressDataIdentifier &value)
AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateResourceProfileDetectionsRequest & WithResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector