AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeFindingsRequest.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/inspector/model/Locale.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Inspector
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_INSPECTOR_API DescribeFindingsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeFindings"; }
33
34 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
35
37
38
40
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 DescribeFindingsRequest& WithFindingArns(FindingArnsT&& value) { SetFindingArns(std::forward<FindingArnsT>(value)); return *this;}
49 template<typename FindingArnsT = Aws::String>
50 DescribeFindingsRequest& AddFindingArns(FindingArnsT&& value) { m_findingArnsHasBeenSet = true; m_findingArns.emplace_back(std::forward<FindingArnsT>(value)); return *this; }
52
54
58 inline Locale GetLocale() const { return m_locale; }
59 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
60 inline void SetLocale(Locale value) { m_localeHasBeenSet = true; m_locale = value; }
61 inline DescribeFindingsRequest& WithLocale(Locale value) { SetLocale(value); return *this;}
63 private:
64
65 Aws::Vector<Aws::String> m_findingArns;
66 bool m_findingArnsHasBeenSet = false;
67
68 Locale m_locale{Locale::NOT_SET};
69 bool m_localeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Inspector
74} // 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