AWS SDK for C++

AWS SDK for C++ Version 1.11.846

Loading...
Searching...
No Matches
DescribeStandardsRequest.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/securityhub/SecurityHubRequest.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/StandardsProvider.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace SecurityHub {
20namespace Model {
21
25 public:
26 AWS_SECURITYHUB_API DescribeStandardsRequest() = 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 "DescribeStandards"; }
33
34 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
35
36 AWS_SECURITYHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
46 inline const Aws::String& GetNextToken() const { return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 template <typename NextTokenT = Aws::String>
49 void SetNextToken(NextTokenT&& value) {
50 m_nextTokenHasBeenSet = true;
51 m_nextToken = std::forward<NextTokenT>(value);
52 }
53 template <typename NextTokenT = Aws::String>
55 SetNextToken(std::forward<NextTokenT>(value));
56 return *this;
57 }
59
61
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) {
67 m_maxResultsHasBeenSet = true;
68 m_maxResults = value;
69 }
71 SetMaxResults(value);
72 return *this;
73 }
75
77
81 inline const Aws::Vector<StandardsProvider>& GetProviders() const { return m_providers; }
82 inline bool ProvidersHasBeenSet() const { return m_providersHasBeenSet; }
83 template <typename ProvidersT = Aws::Vector<StandardsProvider>>
84 void SetProviders(ProvidersT&& value) {
85 m_providersHasBeenSet = true;
86 m_providers = std::forward<ProvidersT>(value);
87 }
88 template <typename ProvidersT = Aws::Vector<StandardsProvider>>
90 SetProviders(std::forward<ProvidersT>(value));
91 return *this;
92 }
94 m_providersHasBeenSet = true;
95 m_providers.push_back(value);
96 return *this;
97 }
99 private:
100 Aws::String m_nextToken;
101
102 int m_maxResults{0};
103
105 bool m_nextTokenHasBeenSet = false;
106 bool m_maxResultsHasBeenSet = false;
107 bool m_providersHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace SecurityHub
112} // namespace Aws
DescribeStandardsRequest & WithProviders(ProvidersT &&value)
const Aws::Vector< StandardsProvider > & GetProviders() const
DescribeStandardsRequest & WithMaxResults(int value)
DescribeStandardsRequest & AddProviders(StandardsProvider value)
virtual const char * GetServiceRequestName() const override
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
AWS_SECURITYHUB_API DescribeStandardsRequest()=default
AWS_SECURITYHUB_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeStandardsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector