AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeStandardsControlsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace SecurityHub {
18namespace Model {
19
23 public:
24 AWS_SECURITYHUB_API DescribeStandardsControlsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeStandardsControls"; }
31
32 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
33
34 AWS_SECURITYHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetStandardsSubscriptionArn() const { return m_standardsSubscriptionArn; }
43 inline bool StandardsSubscriptionArnHasBeenSet() const { return m_standardsSubscriptionArnHasBeenSet; }
44 template <typename StandardsSubscriptionArnT = Aws::String>
45 void SetStandardsSubscriptionArn(StandardsSubscriptionArnT&& value) {
46 m_standardsSubscriptionArnHasBeenSet = true;
47 m_standardsSubscriptionArn = std::forward<StandardsSubscriptionArnT>(value);
48 }
49 template <typename StandardsSubscriptionArnT = Aws::String>
51 SetStandardsSubscriptionArn(std::forward<StandardsSubscriptionArnT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetNextToken() const { return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 template <typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) {
68 m_nextTokenHasBeenSet = true;
69 m_nextToken = std::forward<NextTokenT>(value);
70 }
71 template <typename NextTokenT = Aws::String>
73 SetNextToken(std::forward<NextTokenT>(value));
74 return *this;
75 }
77
79
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) {
85 m_maxResultsHasBeenSet = true;
86 m_maxResults = value;
87 }
89 SetMaxResults(value);
90 return *this;
91 }
93 private:
94 Aws::String m_standardsSubscriptionArn;
95
96 Aws::String m_nextToken;
97
98 int m_maxResults{0};
99 bool m_standardsSubscriptionArnHasBeenSet = false;
100 bool m_nextTokenHasBeenSet = false;
101 bool m_maxResultsHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
DescribeStandardsControlsRequest & WithStandardsSubscriptionArn(StandardsSubscriptionArnT &&value)
AWS_SECURITYHUB_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_SECURITYHUB_API DescribeStandardsControlsRequest()=default
DescribeStandardsControlsRequest & WithNextToken(NextTokenT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String