AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveAttributesFromFindingsRequest.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/InspectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector
16{
17namespace Model
18{
19
23 {
24 public:
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 "RemoveAttributesFromFindings"; }
32
33 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::Vector<Aws::String>& GetFindingArns() const{ return m_findingArns; }
44 inline bool FindingArnsHasBeenSet() const { return m_findingArnsHasBeenSet; }
45 inline void SetFindingArns(const Aws::Vector<Aws::String>& value) { m_findingArnsHasBeenSet = true; m_findingArns = value; }
46 inline void SetFindingArns(Aws::Vector<Aws::String>&& value) { m_findingArnsHasBeenSet = true; m_findingArns = std::move(value); }
49 inline RemoveAttributesFromFindingsRequest& AddFindingArns(const Aws::String& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
50 inline RemoveAttributesFromFindingsRequest& AddFindingArns(Aws::String&& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(std::move(value)); return *this; }
51 inline RemoveAttributesFromFindingsRequest& AddFindingArns(const char* value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
53
55
59 inline const Aws::Vector<Aws::String>& GetAttributeKeys() const{ return m_attributeKeys; }
60 inline bool AttributeKeysHasBeenSet() const { return m_attributeKeysHasBeenSet; }
61 inline void SetAttributeKeys(const Aws::Vector<Aws::String>& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys = value; }
62 inline void SetAttributeKeys(Aws::Vector<Aws::String>&& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys = std::move(value); }
65 inline RemoveAttributesFromFindingsRequest& AddAttributeKeys(const Aws::String& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.push_back(value); return *this; }
66 inline RemoveAttributesFromFindingsRequest& AddAttributeKeys(Aws::String&& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.push_back(std::move(value)); return *this; }
67 inline RemoveAttributesFromFindingsRequest& AddAttributeKeys(const char* value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.push_back(value); return *this; }
69 private:
70
71 Aws::Vector<Aws::String> m_findingArns;
72 bool m_findingArnsHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_attributeKeys;
75 bool m_attributeKeysHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Inspector
80} // namespace Aws
RemoveAttributesFromFindingsRequest & AddFindingArns(Aws::String &&value)
RemoveAttributesFromFindingsRequest & AddAttributeKeys(Aws::String &&value)
RemoveAttributesFromFindingsRequest & WithFindingArns(Aws::Vector< Aws::String > &&value)
RemoveAttributesFromFindingsRequest & AddFindingArns(const char *value)
RemoveAttributesFromFindingsRequest & WithAttributeKeys(const Aws::Vector< Aws::String > &value)
RemoveAttributesFromFindingsRequest & AddFindingArns(const Aws::String &value)
RemoveAttributesFromFindingsRequest & AddAttributeKeys(const Aws::String &value)
RemoveAttributesFromFindingsRequest & AddAttributeKeys(const char *value)
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveAttributesFromFindingsRequest & WithAttributeKeys(Aws::Vector< Aws::String > &&value)
RemoveAttributesFromFindingsRequest & WithFindingArns(const Aws::Vector< Aws::String > &value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector