AWS SDK for C++  1.9.40
AWS SDK for C++
RemoveAttributesFromFindingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Inspector
16 {
17 namespace 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::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Vector<Aws::String>& GetFindingArns() const{ return m_findingArns; }
43 
48  inline bool FindingArnsHasBeenSet() const { return m_findingArnsHasBeenSet; }
49 
54  inline void SetFindingArns(const Aws::Vector<Aws::String>& value) { m_findingArnsHasBeenSet = true; m_findingArns = value; }
55 
60  inline void SetFindingArns(Aws::Vector<Aws::String>&& value) { m_findingArnsHasBeenSet = true; m_findingArns = std::move(value); }
61 
66  inline RemoveAttributesFromFindingsRequest& WithFindingArns(const Aws::Vector<Aws::String>& value) { SetFindingArns(value); return *this;}
67 
72  inline RemoveAttributesFromFindingsRequest& WithFindingArns(Aws::Vector<Aws::String>&& value) { SetFindingArns(std::move(value)); return *this;}
73 
78  inline RemoveAttributesFromFindingsRequest& AddFindingArns(const Aws::String& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
79 
84  inline RemoveAttributesFromFindingsRequest& AddFindingArns(Aws::String&& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(std::move(value)); return *this; }
85 
90  inline RemoveAttributesFromFindingsRequest& AddFindingArns(const char* value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
91 
92 
97  inline const Aws::Vector<Aws::String>& GetAttributeKeys() const{ return m_attributeKeys; }
98 
103  inline bool AttributeKeysHasBeenSet() const { return m_attributeKeysHasBeenSet; }
104 
109  inline void SetAttributeKeys(const Aws::Vector<Aws::String>& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys = value; }
110 
115  inline void SetAttributeKeys(Aws::Vector<Aws::String>&& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys = std::move(value); }
116 
121  inline RemoveAttributesFromFindingsRequest& WithAttributeKeys(const Aws::Vector<Aws::String>& value) { SetAttributeKeys(value); return *this;}
122 
127  inline RemoveAttributesFromFindingsRequest& WithAttributeKeys(Aws::Vector<Aws::String>&& value) { SetAttributeKeys(std::move(value)); return *this;}
128 
133  inline RemoveAttributesFromFindingsRequest& AddAttributeKeys(const Aws::String& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.push_back(value); return *this; }
134 
139  inline RemoveAttributesFromFindingsRequest& AddAttributeKeys(Aws::String&& value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.push_back(std::move(value)); return *this; }
140 
145  inline RemoveAttributesFromFindingsRequest& AddAttributeKeys(const char* value) { m_attributeKeysHasBeenSet = true; m_attributeKeys.push_back(value); return *this; }
146 
147  private:
148 
149  Aws::Vector<Aws::String> m_findingArns;
150  bool m_findingArnsHasBeenSet;
151 
152  Aws::Vector<Aws::String> m_attributeKeys;
153  bool m_attributeKeysHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace Inspector
158 } // namespace Aws
InspectorRequest.h
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::GetAttributeKeys
const Aws::Vector< Aws::String > & GetAttributeKeys() const
Definition: RemoveAttributesFromFindingsRequest.h:97
Inspector_EXPORTS.h
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AddAttributeKeys
RemoveAttributesFromFindingsRequest & AddAttributeKeys(const Aws::String &value)
Definition: RemoveAttributesFromFindingsRequest.h:133
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::SetFindingArns
void SetFindingArns(const Aws::Vector< Aws::String > &value)
Definition: RemoveAttributesFromFindingsRequest.h:54
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveAttributesFromFindingsRequest.h:31
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::SetAttributeKeys
void SetAttributeKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveAttributesFromFindingsRequest.h:115
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::RemoveAttributesFromFindingsRequest
RemoveAttributesFromFindingsRequest()
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AttributeKeysHasBeenSet
bool AttributeKeysHasBeenSet() const
Definition: RemoveAttributesFromFindingsRequest.h:103
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AddFindingArns
RemoveAttributesFromFindingsRequest & AddFindingArns(const char *value)
Definition: RemoveAttributesFromFindingsRequest.h:90
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AddAttributeKeys
RemoveAttributesFromFindingsRequest & AddAttributeKeys(Aws::String &&value)
Definition: RemoveAttributesFromFindingsRequest.h:139
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_INSPECTOR_API
#define AWS_INSPECTOR_API
Definition: Inspector_EXPORTS.h:28
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AddFindingArns
RemoveAttributesFromFindingsRequest & AddFindingArns(Aws::String &&value)
Definition: RemoveAttributesFromFindingsRequest.h:84
AWSVector.h
Aws::Inspector::InspectorRequest
Definition: InspectorRequest.h:17
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::WithFindingArns
RemoveAttributesFromFindingsRequest & WithFindingArns(const Aws::Vector< Aws::String > &value)
Definition: RemoveAttributesFromFindingsRequest.h:66
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::SetAttributeKeys
void SetAttributeKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveAttributesFromFindingsRequest.h:109
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::WithFindingArns
RemoveAttributesFromFindingsRequest & WithFindingArns(Aws::Vector< Aws::String > &&value)
Definition: RemoveAttributesFromFindingsRequest.h:72
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::WithAttributeKeys
RemoveAttributesFromFindingsRequest & WithAttributeKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveAttributesFromFindingsRequest.h:127
AWSString.h
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest
Definition: RemoveAttributesFromFindingsRequest.h:23
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::SetFindingArns
void SetFindingArns(Aws::Vector< Aws::String > &&value)
Definition: RemoveAttributesFromFindingsRequest.h:60
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AddFindingArns
RemoveAttributesFromFindingsRequest & AddFindingArns(const Aws::String &value)
Definition: RemoveAttributesFromFindingsRequest.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::GetFindingArns
const Aws::Vector< Aws::String > & GetFindingArns() const
Definition: RemoveAttributesFromFindingsRequest.h:42
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::WithAttributeKeys
RemoveAttributesFromFindingsRequest & WithAttributeKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveAttributesFromFindingsRequest.h:121
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::FindingArnsHasBeenSet
bool FindingArnsHasBeenSet() const
Definition: RemoveAttributesFromFindingsRequest.h:48
Aws::Inspector::Model::RemoveAttributesFromFindingsRequest::AddAttributeKeys
RemoveAttributesFromFindingsRequest & AddAttributeKeys(const char *value)
Definition: RemoveAttributesFromFindingsRequest.h:145