AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StandardsSubscription.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 <aws/securityhub/model/StandardsStatus.h>
11#include <aws/securityhub/model/StandardsStatusReason.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SECURITYHUB_API StandardsSubscription();
39 AWS_SECURITYHUB_API StandardsSubscription(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetStandardsSubscriptionArn() const{ return m_standardsSubscriptionArn; }
50 inline bool StandardsSubscriptionArnHasBeenSet() const { return m_standardsSubscriptionArnHasBeenSet; }
51 inline void SetStandardsSubscriptionArn(const Aws::String& value) { m_standardsSubscriptionArnHasBeenSet = true; m_standardsSubscriptionArn = value; }
52 inline void SetStandardsSubscriptionArn(Aws::String&& value) { m_standardsSubscriptionArnHasBeenSet = true; m_standardsSubscriptionArn = std::move(value); }
53 inline void SetStandardsSubscriptionArn(const char* value) { m_standardsSubscriptionArnHasBeenSet = true; m_standardsSubscriptionArn.assign(value); }
56 inline StandardsSubscription& WithStandardsSubscriptionArn(const char* value) { SetStandardsSubscriptionArn(value); return *this;}
58
60
63 inline const Aws::String& GetStandardsArn() const{ return m_standardsArn; }
64 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
65 inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; }
66 inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); }
67 inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); }
68 inline StandardsSubscription& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;}
69 inline StandardsSubscription& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
70 inline StandardsSubscription& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;}
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetStandardsInput() const{ return m_standardsInput; }
78 inline bool StandardsInputHasBeenSet() const { return m_standardsInputHasBeenSet; }
79 inline void SetStandardsInput(const Aws::Map<Aws::String, Aws::String>& value) { m_standardsInputHasBeenSet = true; m_standardsInput = value; }
80 inline void SetStandardsInput(Aws::Map<Aws::String, Aws::String>&& value) { m_standardsInputHasBeenSet = true; m_standardsInput = std::move(value); }
83 inline StandardsSubscription& AddStandardsInput(const Aws::String& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; }
84 inline StandardsSubscription& AddStandardsInput(Aws::String&& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; }
85 inline StandardsSubscription& AddStandardsInput(const Aws::String& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; }
86 inline StandardsSubscription& AddStandardsInput(Aws::String&& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), std::move(value)); return *this; }
87 inline StandardsSubscription& AddStandardsInput(const char* key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; }
88 inline StandardsSubscription& AddStandardsInput(Aws::String&& key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; }
89 inline StandardsSubscription& AddStandardsInput(const char* key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; }
91
93
102 inline const StandardsStatus& GetStandardsStatus() const{ return m_standardsStatus; }
103 inline bool StandardsStatusHasBeenSet() const { return m_standardsStatusHasBeenSet; }
104 inline void SetStandardsStatus(const StandardsStatus& value) { m_standardsStatusHasBeenSet = true; m_standardsStatus = value; }
105 inline void SetStandardsStatus(StandardsStatus&& value) { m_standardsStatusHasBeenSet = true; m_standardsStatus = std::move(value); }
107 inline StandardsSubscription& WithStandardsStatus(StandardsStatus&& value) { SetStandardsStatus(std::move(value)); return *this;}
109
111
114 inline const StandardsStatusReason& GetStandardsStatusReason() const{ return m_standardsStatusReason; }
115 inline bool StandardsStatusReasonHasBeenSet() const { return m_standardsStatusReasonHasBeenSet; }
116 inline void SetStandardsStatusReason(const StandardsStatusReason& value) { m_standardsStatusReasonHasBeenSet = true; m_standardsStatusReason = value; }
117 inline void SetStandardsStatusReason(StandardsStatusReason&& value) { m_standardsStatusReasonHasBeenSet = true; m_standardsStatusReason = std::move(value); }
121 private:
122
123 Aws::String m_standardsSubscriptionArn;
124 bool m_standardsSubscriptionArnHasBeenSet = false;
125
126 Aws::String m_standardsArn;
127 bool m_standardsArnHasBeenSet = false;
128
129 Aws::Map<Aws::String, Aws::String> m_standardsInput;
130 bool m_standardsInputHasBeenSet = false;
131
132 StandardsStatus m_standardsStatus;
133 bool m_standardsStatusHasBeenSet = false;
134
135 StandardsStatusReason m_standardsStatusReason;
136 bool m_standardsStatusReasonHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace SecurityHub
141} // namespace Aws
StandardsSubscription & AddStandardsInput(Aws::String &&key, const char *value)
StandardsSubscription & WithStandardsStatusReason(const StandardsStatusReason &value)
StandardsSubscription & WithStandardsInput(Aws::Map< Aws::String, Aws::String > &&value)
StandardsSubscription & WithStandardsSubscriptionArn(const Aws::String &value)
StandardsSubscription & WithStandardsInput(const Aws::Map< Aws::String, Aws::String > &value)
void SetStandardsStatus(const StandardsStatus &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsSubscription & WithStandardsArn(const char *value)
void SetStandardsInput(const Aws::Map< Aws::String, Aws::String > &value)
StandardsSubscription & AddStandardsInput(Aws::String &&key, Aws::String &&value)
StandardsSubscription & WithStandardsStatusReason(StandardsStatusReason &&value)
StandardsSubscription & AddStandardsInput(const Aws::String &key, Aws::String &&value)
StandardsSubscription & AddStandardsInput(const char *key, Aws::String &&value)
StandardsSubscription & AddStandardsInput(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetStandardsInput() const
StandardsSubscription & WithStandardsStatus(const StandardsStatus &value)
AWS_SECURITYHUB_API StandardsSubscription(Aws::Utils::Json::JsonView jsonValue)
const StandardsStatusReason & GetStandardsStatusReason() const
AWS_SECURITYHUB_API StandardsSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsSubscription & WithStandardsStatus(StandardsStatus &&value)
void SetStandardsInput(Aws::Map< Aws::String, Aws::String > &&value)
void SetStandardsSubscriptionArn(const Aws::String &value)
StandardsSubscription & AddStandardsInput(Aws::String &&key, const Aws::String &value)
StandardsSubscription & WithStandardsSubscriptionArn(Aws::String &&value)
void SetStandardsStatusReason(StandardsStatusReason &&value)
StandardsSubscription & WithStandardsArn(Aws::String &&value)
StandardsSubscription & WithStandardsSubscriptionArn(const char *value)
void SetStandardsStatusReason(const StandardsStatusReason &value)
StandardsSubscription & WithStandardsArn(const Aws::String &value)
StandardsSubscription & AddStandardsInput(const Aws::String &key, const Aws::String &value)
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