AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CreateSampleFindingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/FindingType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Macie2 {
16namespace Model {
17
21 public:
22 AWS_MACIE2_API CreateSampleFindingsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateSampleFindings"; }
29
30 AWS_MACIE2_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::Vector<FindingType>& GetFindingTypes() const { return m_findingTypes; }
39 inline bool FindingTypesHasBeenSet() const { return m_findingTypesHasBeenSet; }
40 template <typename FindingTypesT = Aws::Vector<FindingType>>
41 void SetFindingTypes(FindingTypesT&& value) {
42 m_findingTypesHasBeenSet = true;
43 m_findingTypes = std::forward<FindingTypesT>(value);
44 }
45 template <typename FindingTypesT = Aws::Vector<FindingType>>
47 SetFindingTypes(std::forward<FindingTypesT>(value));
48 return *this;
49 }
51 m_findingTypesHasBeenSet = true;
52 m_findingTypes.push_back(value);
53 return *this;
54 }
56 private:
57 Aws::Vector<FindingType> m_findingTypes;
58 bool m_findingTypesHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Macie2
63} // namespace Aws
AWS_MACIE2_API Aws::String SerializePayload() const override
const Aws::Vector< FindingType > & GetFindingTypes() const
AWS_MACIE2_API CreateSampleFindingsRequest()=default
virtual const char * GetServiceRequestName() const override
CreateSampleFindingsRequest & AddFindingTypes(FindingType value)
CreateSampleFindingsRequest & WithFindingTypes(FindingTypesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector