AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRulesPackageArns(const Aws::Vector<Aws::String>& value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns = value; }
46 inline void SetRulesPackageArns(Aws::Vector<Aws::String>&& value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns = std::move(value); }
49 inline DescribeRulesPackagesRequest& AddRulesPackageArns(const Aws::String& value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns.push_back(value); return *this; }
50 inline DescribeRulesPackagesRequest& AddRulesPackageArns(Aws::String&& value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns.push_back(std::move(value)); return *this; }
51 inline DescribeRulesPackagesRequest& AddRulesPackageArns(const char* value) { m_rulesPackageArnsHasBeenSet = true; m_rulesPackageArns.push_back(value); return *this; }
53
55
58 inline const Locale& GetLocale() const{ return m_locale; }
59 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
60 inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
61 inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
62 inline DescribeRulesPackagesRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
63 inline DescribeRulesPackagesRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
65 private:
66
67 Aws::Vector<Aws::String> m_rulesPackageArns;
68 bool m_rulesPackageArnsHasBeenSet = false;
69
70 Locale m_locale;
71 bool m_localeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Inspector
76} // namespace Aws
void SetRulesPackageArns(Aws::Vector< Aws::String > &&value)
DescribeRulesPackagesRequest & WithRulesPackageArns(const Aws::Vector< Aws::String > &value)
DescribeRulesPackagesRequest & WithRulesPackageArns(Aws::Vector< Aws::String > &&value)
void SetRulesPackageArns(const Aws::Vector< Aws::String > &value)
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRulesPackagesRequest & WithLocale(const Locale &value)
DescribeRulesPackagesRequest & WithLocale(Locale &&value)
DescribeRulesPackagesRequest & AddRulesPackageArns(const char *value)
DescribeRulesPackagesRequest & AddRulesPackageArns(const Aws::String &value)
const Aws::Vector< Aws::String > & GetRulesPackageArns() const
AWS_INSPECTOR_API Aws::String SerializePayload() const override
DescribeRulesPackagesRequest & AddRulesPackageArns(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