AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; }
50 inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); }
51 inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); }
52 inline StandardsSubscriptionRequest& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;}
53 inline StandardsSubscriptionRequest& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
54 inline StandardsSubscriptionRequest& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;}
56
58
61 inline const Aws::Map<Aws::String, Aws::String>& GetStandardsInput() const{ return m_standardsInput; }
62 inline bool StandardsInputHasBeenSet() const { return m_standardsInputHasBeenSet; }
63 inline void SetStandardsInput(const Aws::Map<Aws::String, Aws::String>& value) { m_standardsInputHasBeenSet = true; m_standardsInput = value; }
64 inline void SetStandardsInput(Aws::Map<Aws::String, Aws::String>&& value) { m_standardsInputHasBeenSet = true; m_standardsInput = std::move(value); }
67 inline StandardsSubscriptionRequest& AddStandardsInput(const Aws::String& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; }
68 inline StandardsSubscriptionRequest& AddStandardsInput(Aws::String&& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; }
69 inline StandardsSubscriptionRequest& AddStandardsInput(const Aws::String& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; }
70 inline StandardsSubscriptionRequest& AddStandardsInput(Aws::String&& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), std::move(value)); return *this; }
71 inline StandardsSubscriptionRequest& AddStandardsInput(const char* key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; }
72 inline StandardsSubscriptionRequest& AddStandardsInput(Aws::String&& key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; }
73 inline StandardsSubscriptionRequest& AddStandardsInput(const char* key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_standardsArn;
78 bool m_standardsArnHasBeenSet = false;
79
81 bool m_standardsInputHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SecurityHub
86} // namespace Aws
StandardsSubscriptionRequest & WithStandardsInput(const Aws::Map< Aws::String, Aws::String > &value)
StandardsSubscriptionRequest & AddStandardsInput(const Aws::String &key, Aws::String &&value)
StandardsSubscriptionRequest & AddStandardsInput(const Aws::String &key, const Aws::String &value)
StandardsSubscriptionRequest & WithStandardsArn(const char *value)
StandardsSubscriptionRequest & AddStandardsInput(Aws::String &&key, const Aws::String &value)
StandardsSubscriptionRequest & AddStandardsInput(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetStandardsInput() const
StandardsSubscriptionRequest & WithStandardsInput(Aws::Map< Aws::String, Aws::String > &&value)
StandardsSubscriptionRequest & WithStandardsArn(const Aws::String &value)
void SetStandardsInput(const Aws::Map< Aws::String, Aws::String > &value)
void SetStandardsInput(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SECURITYHUB_API StandardsSubscriptionRequest(Aws::Utils::Json::JsonView jsonValue)
StandardsSubscriptionRequest & AddStandardsInput(Aws::String &&key, Aws::String &&value)
StandardsSubscriptionRequest & AddStandardsInput(const char *key, const char *value)
StandardsSubscriptionRequest & AddStandardsInput(const char *key, Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsSubscriptionRequest & WithStandardsArn(Aws::String &&value)
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