AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFindingArns(const Aws::Vector<Aws::String>& value) { m_findingArnsHasBeenSet = true; m_findingArns = value; }
46 inline void SetFindingArns(Aws::Vector<Aws::String>&& value) { m_findingArnsHasBeenSet = true; m_findingArns = std::move(value); }
48 inline DescribeFindingsRequest& WithFindingArns(Aws::Vector<Aws::String>&& value) { SetFindingArns(std::move(value)); return *this;}
49 inline DescribeFindingsRequest& AddFindingArns(const Aws::String& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
50 inline DescribeFindingsRequest& AddFindingArns(Aws::String&& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(std::move(value)); return *this; }
51 inline DescribeFindingsRequest& AddFindingArns(const char* value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
53
55
59 inline const Locale& GetLocale() const{ return m_locale; }
60 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
61 inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
62 inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
63 inline DescribeFindingsRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
64 inline DescribeFindingsRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
66 private:
67
68 Aws::Vector<Aws::String> m_findingArns;
69 bool m_findingArnsHasBeenSet = false;
70
71 Locale m_locale;
72 bool m_localeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Inspector
77} // namespace Aws
DescribeFindingsRequest & WithFindingArns(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetFindingArns() const
DescribeFindingsRequest & WithFindingArns(Aws::Vector< Aws::String > &&value)
DescribeFindingsRequest & AddFindingArns(const Aws::String &value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFindingArns(const Aws::Vector< Aws::String > &value)
DescribeFindingsRequest & WithLocale(const Locale &value)
DescribeFindingsRequest & WithLocale(Locale &&value)
void SetFindingArns(Aws::Vector< Aws::String > &&value)
DescribeFindingsRequest & AddFindingArns(const char *value)
DescribeFindingsRequest & AddFindingArns(Aws::String &&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