AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRulesPackagesRequest.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 DescribeRulesPackagesRequest() = 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 "DescribeRulesPackages"; }
33
34 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::Vector<Aws::String>& GetRulesPackageArns() const { return m_rulesPackageArns; }
44 inline bool RulesPackageArnsHasBeenSet() const { return m_rulesPackageArnsHasBeenSet; }
45 template<typename RulesPackageArnsT = Aws::Vector<Aws::String>>
46 void SetRulesPackageArns(RulesPackageArnsT&& value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns = std::forward<RulesPackageArnsT>(value); }
47 template<typename RulesPackageArnsT = Aws::Vector<Aws::String>>
48 DescribeRulesPackagesRequest& WithRulesPackageArns(RulesPackageArnsT&& value) { SetRulesPackageArns(std::forward<RulesPackageArnsT>(value)); return *this;}
49 template<typename RulesPackageArnsT = Aws::String>
50 DescribeRulesPackagesRequest& AddRulesPackageArns(RulesPackageArnsT&& value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns.emplace_back(std::forward<RulesPackageArnsT>(value)); return *this; }
52
54
57 inline Locale GetLocale() const { return m_locale; }
58 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
59 inline void SetLocale(Locale value) { m_localeHasBeenSet = true; m_locale = value; }
60 inline DescribeRulesPackagesRequest& WithLocale(Locale value) { SetLocale(value); return *this;}
62 private:
63
64 Aws::Vector<Aws::String> m_rulesPackageArns;
65 bool m_rulesPackageArnsHasBeenSet = false;
66
67 Locale m_locale{Locale::NOT_SET};
68 bool m_localeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Inspector
73} // 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