AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeFindingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Inspector
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::Vector<Aws::String>& GetFindingArns() const{ return m_findingArns; }
43 
47  inline bool FindingArnsHasBeenSet() const { return m_findingArnsHasBeenSet; }
48 
52  inline void SetFindingArns(const Aws::Vector<Aws::String>& value) { m_findingArnsHasBeenSet = true; m_findingArns = value; }
53 
57  inline void SetFindingArns(Aws::Vector<Aws::String>&& value) { m_findingArnsHasBeenSet = true; m_findingArns = std::move(value); }
58 
62  inline DescribeFindingsRequest& WithFindingArns(const Aws::Vector<Aws::String>& value) { SetFindingArns(value); return *this;}
63 
67  inline DescribeFindingsRequest& WithFindingArns(Aws::Vector<Aws::String>&& value) { SetFindingArns(std::move(value)); return *this;}
68 
72  inline DescribeFindingsRequest& AddFindingArns(const Aws::String& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
73 
77  inline DescribeFindingsRequest& AddFindingArns(Aws::String&& value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(std::move(value)); return *this; }
78 
82  inline DescribeFindingsRequest& AddFindingArns(const char* value) { m_findingArnsHasBeenSet = true; m_findingArns.push_back(value); return *this; }
83 
84 
89  inline const Locale& GetLocale() const{ return m_locale; }
90 
95  inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
96 
101  inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
102 
107  inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
108 
113  inline DescribeFindingsRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
114 
119  inline DescribeFindingsRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::Vector<Aws::String> m_findingArns;
124  bool m_findingArnsHasBeenSet;
125 
126  Locale m_locale;
127  bool m_localeHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Inspector
132 } // namespace Aws
InspectorRequest.h
Aws::Inspector::Model::DescribeFindingsRequest::SetLocale
void SetLocale(Locale &&value)
Definition: DescribeFindingsRequest.h:107
Inspector_EXPORTS.h
Aws::Inspector::Model::DescribeFindingsRequest
Definition: DescribeFindingsRequest.h:24
Aws::Inspector::Model::DescribeFindingsRequest::AddFindingArns
DescribeFindingsRequest & AddFindingArns(Aws::String &&value)
Definition: DescribeFindingsRequest.h:77
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
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::DescribeFindingsRequest::WithFindingArns
DescribeFindingsRequest & WithFindingArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeFindingsRequest.h:67
Aws::Inspector::Model::DescribeFindingsRequest::SetFindingArns
void SetFindingArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeFindingsRequest.h:52
AWSVector.h
Aws::Inspector::Model::DescribeFindingsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Inspector::Model::DescribeFindingsRequest::LocaleHasBeenSet
bool LocaleHasBeenSet() const
Definition: DescribeFindingsRequest.h:95
Aws::Inspector::Model::DescribeFindingsRequest::WithFindingArns
DescribeFindingsRequest & WithFindingArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeFindingsRequest.h:62
Aws::Inspector::InspectorRequest
Definition: InspectorRequest.h:17
Aws::Inspector::Model::DescribeFindingsRequest::WithLocale
DescribeFindingsRequest & WithLocale(Locale &&value)
Definition: DescribeFindingsRequest.h:119
Aws::Inspector::Model::DescribeFindingsRequest::GetFindingArns
const Aws::Vector< Aws::String > & GetFindingArns() const
Definition: DescribeFindingsRequest.h:42
Aws::Inspector::Model::DescribeFindingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFindingsRequest.h:32
Aws::Inspector::Model::DescribeFindingsRequest::AddFindingArns
DescribeFindingsRequest & AddFindingArns(const char *value)
Definition: DescribeFindingsRequest.h:82
AWSString.h
Aws::Inspector::Model::DescribeFindingsRequest::DescribeFindingsRequest
DescribeFindingsRequest()
Aws::Inspector::Model::Locale
Locale
Definition: Locale.h:17
Aws::Inspector::Model::DescribeFindingsRequest::GetLocale
const Locale & GetLocale() const
Definition: DescribeFindingsRequest.h:89
Aws::Inspector::Model::DescribeFindingsRequest::SetFindingArns
void SetFindingArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeFindingsRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Inspector::Model::DescribeFindingsRequest::SetLocale
void SetLocale(const Locale &value)
Definition: DescribeFindingsRequest.h:101
Aws::Inspector::Model::DescribeFindingsRequest::AddFindingArns
DescribeFindingsRequest & AddFindingArns(const Aws::String &value)
Definition: DescribeFindingsRequest.h:72
Aws::Inspector::Model::DescribeFindingsRequest::SerializePayload
Aws::String SerializePayload() const override
Locale.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Inspector::Model::DescribeFindingsRequest::WithLocale
DescribeFindingsRequest & WithLocale(const Locale &value)
Definition: DescribeFindingsRequest.h:113
Aws::Inspector::Model::DescribeFindingsRequest::FindingArnsHasBeenSet
bool FindingArnsHasBeenSet() const
Definition: DescribeFindingsRequest.h:47