AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeRulesPackagesRequest.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 DescribeRulesPackagesRequest() = 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 "DescribeRulesPackages"; }
30
31 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::Vector<Aws::String>& GetRulesPackageArns() const { return m_rulesPackageArns; }
40 inline bool RulesPackageArnsHasBeenSet() const { return m_rulesPackageArnsHasBeenSet; }
41 template <typename RulesPackageArnsT = Aws::Vector<Aws::String>>
42 void SetRulesPackageArns(RulesPackageArnsT&& value) {
43 m_rulesPackageArnsHasBeenSet = true;
44 m_rulesPackageArns = std::forward<RulesPackageArnsT>(value);
45 }
46 template <typename RulesPackageArnsT = Aws::Vector<Aws::String>>
48 SetRulesPackageArns(std::forward<RulesPackageArnsT>(value));
49 return *this;
50 }
51 template <typename RulesPackageArnsT = Aws::String>
53 m_rulesPackageArnsHasBeenSet = true;
54 m_rulesPackageArns.emplace_back(std::forward<RulesPackageArnsT>(value));
55 return *this;
56 }
58
60
63 inline Locale GetLocale() const { return m_locale; }
64 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
65 inline void SetLocale(Locale value) {
66 m_localeHasBeenSet = true;
67 m_locale = value;
68 }
70 SetLocale(value);
71 return *this;
72 }
74 private:
75 Aws::Vector<Aws::String> m_rulesPackageArns;
76
77 Locale m_locale{Locale::NOT_SET};
78 bool m_rulesPackageArnsHasBeenSet = false;
79 bool m_localeHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Inspector
84} // namespace Aws
DescribeRulesPackagesRequest & AddRulesPackageArns(RulesPackageArnsT &&value)
AWS_INSPECTOR_API DescribeRulesPackagesRequest()=default
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRulesPackagesRequest & WithLocale(Locale value)
DescribeRulesPackagesRequest & WithRulesPackageArns(RulesPackageArnsT &&value)
const Aws::Vector< Aws::String > & GetRulesPackageArns() const
AWS_INSPECTOR_API Aws::String SerializePayload() const override
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