AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeConformancePacksRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConfigService {
16namespace Model {
17
21 public:
22 AWS_CONFIGSERVICE_API DescribeConformancePacksRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeConformancePacks"; }
29
30 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
40 inline const Aws::Vector<Aws::String>& GetConformancePackNames() const { return m_conformancePackNames; }
41 inline bool ConformancePackNamesHasBeenSet() const { return m_conformancePackNamesHasBeenSet; }
42 template <typename ConformancePackNamesT = Aws::Vector<Aws::String>>
43 void SetConformancePackNames(ConformancePackNamesT&& value) {
44 m_conformancePackNamesHasBeenSet = true;
45 m_conformancePackNames = std::forward<ConformancePackNamesT>(value);
46 }
47 template <typename ConformancePackNamesT = Aws::Vector<Aws::String>>
49 SetConformancePackNames(std::forward<ConformancePackNamesT>(value));
50 return *this;
51 }
52 template <typename ConformancePackNamesT = Aws::String>
54 m_conformancePackNamesHasBeenSet = true;
55 m_conformancePackNames.emplace_back(std::forward<ConformancePackNamesT>(value));
56 return *this;
57 }
59
61
64 inline int GetLimit() const { return m_limit; }
65 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
66 inline void SetLimit(int value) {
67 m_limitHasBeenSet = true;
68 m_limit = value;
69 }
71 SetLimit(value);
72 return *this;
73 }
75
77
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template <typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) {
85 m_nextTokenHasBeenSet = true;
86 m_nextToken = std::forward<NextTokenT>(value);
87 }
88 template <typename NextTokenT = Aws::String>
90 SetNextToken(std::forward<NextTokenT>(value));
91 return *this;
92 }
94 private:
95 Aws::Vector<Aws::String> m_conformancePackNames;
96
97 int m_limit{0};
98
99 Aws::String m_nextToken;
100 bool m_conformancePackNamesHasBeenSet = false;
101 bool m_limitHasBeenSet = false;
102 bool m_nextTokenHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace ConfigService
107} // namespace Aws
AWS_CONFIGSERVICE_API DescribeConformancePacksRequest()=default
DescribeConformancePacksRequest & WithConformancePackNames(ConformancePackNamesT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeConformancePacksRequest & AddConformancePackNames(ConformancePackNamesT &&value)
DescribeConformancePacksRequest & WithNextToken(NextTokenT &&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