AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StandardsSubscriptionRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API StandardsSubscriptionRequest() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetStandardsArn() const { return m_standardsArn; }
48 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
49 template<typename StandardsArnT = Aws::String>
50 void SetStandardsArn(StandardsArnT&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::forward<StandardsArnT>(value); }
51 template<typename StandardsArnT = Aws::String>
52 StandardsSubscriptionRequest& WithStandardsArn(StandardsArnT&& value) { SetStandardsArn(std::forward<StandardsArnT>(value)); return *this;}
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) { m_standardsInputHasBeenSet = true; m_standardsInput = std::forward<StandardsInputT>(value); }
63 template<typename StandardsInputT = Aws::Map<Aws::String, Aws::String>>
64 StandardsSubscriptionRequest& WithStandardsInput(StandardsInputT&& value) { SetStandardsInput(std::forward<StandardsInputT>(value)); return *this;}
65 template<typename StandardsInputKeyT = Aws::String, typename StandardsInputValueT = Aws::String>
66 StandardsSubscriptionRequest& AddStandardsInput(StandardsInputKeyT&& key, StandardsInputValueT&& value) {
67 m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::forward<StandardsInputKeyT>(key), std::forward<StandardsInputValueT>(value)); return *this;
68 }
70 private:
71
72 Aws::String m_standardsArn;
73 bool m_standardsArnHasBeenSet = false;
74
76 bool m_standardsInputHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SecurityHub
81} // 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