AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeExclusionsRequest.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 DescribeExclusionsRequest();
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 "DescribeExclusions"; }
33
34 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::Vector<Aws::String>& GetExclusionArns() const{ return m_exclusionArns; }
44 inline bool ExclusionArnsHasBeenSet() const { return m_exclusionArnsHasBeenSet; }
45 inline void SetExclusionArns(const Aws::Vector<Aws::String>& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns = value; }
46 inline void SetExclusionArns(Aws::Vector<Aws::String>&& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns = std::move(value); }
48 inline DescribeExclusionsRequest& WithExclusionArns(Aws::Vector<Aws::String>&& value) { SetExclusionArns(std::move(value)); return *this;}
49 inline DescribeExclusionsRequest& AddExclusionArns(const Aws::String& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns.push_back(value); return *this; }
50 inline DescribeExclusionsRequest& AddExclusionArns(Aws::String&& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns.push_back(std::move(value)); return *this; }
51 inline DescribeExclusionsRequest& AddExclusionArns(const char* value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns.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 DescribeExclusionsRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
64 inline DescribeExclusionsRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
66 private:
67
68 Aws::Vector<Aws::String> m_exclusionArns;
69 bool m_exclusionArnsHasBeenSet = false;
70
71 Locale m_locale;
72 bool m_localeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Inspector
77} // namespace Aws
DescribeExclusionsRequest & AddExclusionArns(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeExclusionsRequest & WithExclusionArns(Aws::Vector< Aws::String > &&value)
DescribeExclusionsRequest & WithLocale(Locale &&value)
void SetExclusionArns(Aws::Vector< Aws::String > &&value)
void SetExclusionArns(const Aws::Vector< Aws::String > &value)
DescribeExclusionsRequest & AddExclusionArns(Aws::String &&value)
DescribeExclusionsRequest & WithExclusionArns(const Aws::Vector< Aws::String > &value)
DescribeExclusionsRequest & AddExclusionArns(const Aws::String &value)
const Aws::Vector< Aws::String > & GetExclusionArns() const
DescribeExclusionsRequest & WithLocale(const Locale &value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() 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