AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
25 AWS_INSPECTOR_API RemoveAttributesFromFindingsRequest() = 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 "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 template<typename FindingArnsT = Aws::Vector<Aws::String>>
46 void SetFindingArns(FindingArnsT&& value) { m_findingArnsHasBeenSet = true; m_findingArns = std::forward<FindingArnsT>(value); }
47 template<typename FindingArnsT = Aws::Vector<Aws::String>>
48 RemoveAttributesFromFindingsRequest& WithFindingArns(FindingArnsT&& value) { SetFindingArns(std::forward<FindingArnsT>(value)); return *this;}
49 template<typename FindingArnsT = Aws::String>
50 RemoveAttributesFromFindingsRequest& AddFindingArns(FindingArnsT&& value) { m_findingArnsHasBeenSet = true; m_findingArns.emplace_back(std::forward<FindingArnsT>(value)); return *this; }
52
54
58 inline const Aws::Vector<Aws::String>& GetAttributeKeys() const { return m_attributeKeys; }
59 inline bool AttributeKeysHasBeenSet() const { return m_attributeKeysHasBeenSet; }
60 template<typename AttributeKeysT = Aws::Vector<Aws::String>>
61 void SetAttributeKeys(AttributeKeysT&& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys = std::forward<AttributeKeysT>(value); }
62 template<typename AttributeKeysT = Aws::Vector<Aws::String>>
63 RemoveAttributesFromFindingsRequest& WithAttributeKeys(AttributeKeysT&& value) { SetAttributeKeys(std::forward<AttributeKeysT>(value)); return *this;}
64 template<typename AttributeKeysT = Aws::String>
65 RemoveAttributesFromFindingsRequest& AddAttributeKeys(AttributeKeysT&& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.emplace_back(std::forward<AttributeKeysT>(value)); return *this; }
67 private:
68
69 Aws::Vector<Aws::String> m_findingArns;
70 bool m_findingArnsHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_attributeKeys;
73 bool m_attributeKeysHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Inspector
78} // namespace Aws
RemoveAttributesFromFindingsRequest & WithAttributeKeys(AttributeKeysT &&value)
RemoveAttributesFromFindingsRequest & WithFindingArns(FindingArnsT &&value)
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveAttributesFromFindingsRequest & AddAttributeKeys(AttributeKeysT &&value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
RemoveAttributesFromFindingsRequest & AddFindingArns(FindingArnsT &&value)
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