AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeFindingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector/InspectorRequest.h>
10#include <aws/inspector/Inspector_EXPORTS.h>
11#include <aws/inspector/model/Locale.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Inspector {
17namespace Model {
18
22 public:
23 AWS_INSPECTOR_API DescribeFindingsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeFindings"; }
30
31 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::Vector<Aws::String>& GetFindingArns() const { return m_findingArns; }
40 inline bool FindingArnsHasBeenSet() const { return m_findingArnsHasBeenSet; }
41 template <typename FindingArnsT = Aws::Vector<Aws::String>>
42 void SetFindingArns(FindingArnsT&& value) {
43 m_findingArnsHasBeenSet = true;
44 m_findingArns = std::forward<FindingArnsT>(value);
45 }
46 template <typename FindingArnsT = Aws::Vector<Aws::String>>
48 SetFindingArns(std::forward<FindingArnsT>(value));
49 return *this;
50 }
51 template <typename FindingArnsT = Aws::String>
52 DescribeFindingsRequest& AddFindingArns(FindingArnsT&& value) {
53 m_findingArnsHasBeenSet = true;
54 m_findingArns.emplace_back(std::forward<FindingArnsT>(value));
55 return *this;
56 }
58
60
64 inline Locale GetLocale() const { return m_locale; }
65 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
66 inline void SetLocale(Locale value) {
67 m_localeHasBeenSet = true;
68 m_locale = value;
69 }
71 SetLocale(value);
72 return *this;
73 }
75 private:
76 Aws::Vector<Aws::String> m_findingArns;
77
78 Locale m_locale{Locale::NOT_SET};
79 bool m_findingArnsHasBeenSet = false;
80 bool m_localeHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Inspector
85} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeFindingsRequest & WithFindingArns(FindingArnsT &&value)
DescribeFindingsRequest & WithLocale(Locale value)
const Aws::Vector< Aws::String > & GetFindingArns() const
DescribeFindingsRequest & AddFindingArns(FindingArnsT &&value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_INSPECTOR_API DescribeFindingsRequest()=default
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