AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StandardsSubscriptionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
29 public:
30 AWS_SECURITYHUB_API StandardsSubscriptionRequest() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetStandardsArn() const { return m_standardsArn; }
42 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
43 template <typename StandardsArnT = Aws::String>
44 void SetStandardsArn(StandardsArnT&& value) {
45 m_standardsArnHasBeenSet = true;
46 m_standardsArn = std::forward<StandardsArnT>(value);
47 }
48 template <typename StandardsArnT = Aws::String>
50 SetStandardsArn(std::forward<StandardsArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Map<Aws::String, Aws::String>& GetStandardsInput() const { return m_standardsInput; }
60 inline bool StandardsInputHasBeenSet() const { return m_standardsInputHasBeenSet; }
61 template <typename StandardsInputT = Aws::Map<Aws::String, Aws::String>>
62 void SetStandardsInput(StandardsInputT&& value) {
63 m_standardsInputHasBeenSet = true;
64 m_standardsInput = std::forward<StandardsInputT>(value);
65 }
66 template <typename StandardsInputT = Aws::Map<Aws::String, Aws::String>>
68 SetStandardsInput(std::forward<StandardsInputT>(value));
69 return *this;
70 }
71 template <typename StandardsInputKeyT = Aws::String, typename StandardsInputValueT = Aws::String>
72 StandardsSubscriptionRequest& AddStandardsInput(StandardsInputKeyT&& key, StandardsInputValueT&& value) {
73 m_standardsInputHasBeenSet = true;
74 m_standardsInput.emplace(std::forward<StandardsInputKeyT>(key), std::forward<StandardsInputValueT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_standardsArn;
80
82 bool m_standardsArnHasBeenSet = false;
83 bool m_standardsInputHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AWS_SECURITYHUB_API StandardsSubscriptionRequest()=default
StandardsSubscriptionRequest & WithStandardsArn(StandardsArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetStandardsInput() const
StandardsSubscriptionRequest & AddStandardsInput(StandardsInputKeyT &&key, StandardsInputValueT &&value)
StandardsSubscriptionRequest & WithStandardsInput(StandardsInputT &&value)
AWS_SECURITYHUB_API StandardsSubscriptionRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API StandardsSubscriptionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue