AWS SDK for C++  1.9.106
AWS SDK for C++
StandardsSubscription.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SecurityHub
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetStandardsSubscriptionArn() const{ return m_standardsSubscriptionArn; }
48 
53  inline bool StandardsSubscriptionArnHasBeenSet() const { return m_standardsSubscriptionArnHasBeenSet; }
54 
59  inline void SetStandardsSubscriptionArn(const Aws::String& value) { m_standardsSubscriptionArnHasBeenSet = true; m_standardsSubscriptionArn = value; }
60 
65  inline void SetStandardsSubscriptionArn(Aws::String&& value) { m_standardsSubscriptionArnHasBeenSet = true; m_standardsSubscriptionArn = std::move(value); }
66 
71  inline void SetStandardsSubscriptionArn(const char* value) { m_standardsSubscriptionArnHasBeenSet = true; m_standardsSubscriptionArn.assign(value); }
72 
77  inline StandardsSubscription& WithStandardsSubscriptionArn(const Aws::String& value) { SetStandardsSubscriptionArn(value); return *this;}
78 
83  inline StandardsSubscription& WithStandardsSubscriptionArn(Aws::String&& value) { SetStandardsSubscriptionArn(std::move(value)); return *this;}
84 
89  inline StandardsSubscription& WithStandardsSubscriptionArn(const char* value) { SetStandardsSubscriptionArn(value); return *this;}
90 
91 
95  inline const Aws::String& GetStandardsArn() const{ return m_standardsArn; }
96 
100  inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
101 
105  inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; }
106 
110  inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); }
111 
115  inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); }
116 
120  inline StandardsSubscription& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;}
121 
125  inline StandardsSubscription& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
126 
130  inline StandardsSubscription& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;}
131 
132 
136  inline const Aws::Map<Aws::String, Aws::String>& GetStandardsInput() const{ return m_standardsInput; }
137 
141  inline bool StandardsInputHasBeenSet() const { return m_standardsInputHasBeenSet; }
142 
146  inline void SetStandardsInput(const Aws::Map<Aws::String, Aws::String>& value) { m_standardsInputHasBeenSet = true; m_standardsInput = value; }
147 
151  inline void SetStandardsInput(Aws::Map<Aws::String, Aws::String>&& value) { m_standardsInputHasBeenSet = true; m_standardsInput = std::move(value); }
152 
156  inline StandardsSubscription& WithStandardsInput(const Aws::Map<Aws::String, Aws::String>& value) { SetStandardsInput(value); return *this;}
157 
161  inline StandardsSubscription& WithStandardsInput(Aws::Map<Aws::String, Aws::String>&& value) { SetStandardsInput(std::move(value)); return *this;}
162 
166  inline StandardsSubscription& AddStandardsInput(const Aws::String& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; }
167 
171  inline StandardsSubscription& AddStandardsInput(Aws::String&& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; }
172 
176  inline StandardsSubscription& AddStandardsInput(const Aws::String& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; }
177 
181  inline StandardsSubscription& AddStandardsInput(Aws::String&& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), std::move(value)); return *this; }
182 
186  inline StandardsSubscription& AddStandardsInput(const char* key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; }
187 
191  inline StandardsSubscription& AddStandardsInput(Aws::String&& key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; }
192 
196  inline StandardsSubscription& AddStandardsInput(const char* key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; }
197 
198 
208  inline const StandardsStatus& GetStandardsStatus() const{ return m_standardsStatus; }
209 
219  inline bool StandardsStatusHasBeenSet() const { return m_standardsStatusHasBeenSet; }
220 
230  inline void SetStandardsStatus(const StandardsStatus& value) { m_standardsStatusHasBeenSet = true; m_standardsStatus = value; }
231 
241  inline void SetStandardsStatus(StandardsStatus&& value) { m_standardsStatusHasBeenSet = true; m_standardsStatus = std::move(value); }
242 
252  inline StandardsSubscription& WithStandardsStatus(const StandardsStatus& value) { SetStandardsStatus(value); return *this;}
253 
263  inline StandardsSubscription& WithStandardsStatus(StandardsStatus&& value) { SetStandardsStatus(std::move(value)); return *this;}
264 
265  private:
266 
267  Aws::String m_standardsSubscriptionArn;
268  bool m_standardsSubscriptionArnHasBeenSet;
269 
270  Aws::String m_standardsArn;
271  bool m_standardsArnHasBeenSet;
272 
273  Aws::Map<Aws::String, Aws::String> m_standardsInput;
274  bool m_standardsInputHasBeenSet;
275 
276  StandardsStatus m_standardsStatus;
277  bool m_standardsStatusHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace SecurityHub
282 } // namespace Aws
StandardsStatus.h
Aws::SecurityHub::Model::StandardsSubscription::StandardsSubscription
StandardsSubscription()
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(Aws::String &&key, const char *value)
Definition: StandardsSubscription.h:191
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsSubscriptionArn
StandardsSubscription & WithStandardsSubscriptionArn(const char *value)
Definition: StandardsSubscription.h:89
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsInput
StandardsSubscription & WithStandardsInput(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StandardsSubscription.h:161
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsSubscriptionArn
void SetStandardsSubscriptionArn(Aws::String &&value)
Definition: StandardsSubscription.h:65
Aws::SecurityHub::Model::StandardsSubscription::StandardsSubscriptionArnHasBeenSet
bool StandardsSubscriptionArnHasBeenSet() const
Definition: StandardsSubscription.h:53
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsArn
StandardsSubscription & WithStandardsArn(const char *value)
Definition: StandardsSubscription.h:130
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsStatus
StandardsSubscription & WithStandardsStatus(StandardsStatus &&value)
Definition: StandardsSubscription.h:263
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsSubscriptionArn
void SetStandardsSubscriptionArn(const char *value)
Definition: StandardsSubscription.h:71
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(const Aws::String &key, Aws::String &&value)
Definition: StandardsSubscription.h:176
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsStatus
void SetStandardsStatus(StandardsStatus &&value)
Definition: StandardsSubscription.h:241
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsStatus
StandardsSubscription & WithStandardsStatus(const StandardsStatus &value)
Definition: StandardsSubscription.h:252
Aws::SecurityHub::Model::StandardsSubscription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsArn
void SetStandardsArn(const char *value)
Definition: StandardsSubscription.h:115
Aws::SecurityHub::Model::StandardsSubscription::StandardsInputHasBeenSet
bool StandardsInputHasBeenSet() const
Definition: StandardsSubscription.h:141
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsArn
void SetStandardsArn(const Aws::String &value)
Definition: StandardsSubscription.h:105
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsSubscriptionArn
StandardsSubscription & WithStandardsSubscriptionArn(const Aws::String &value)
Definition: StandardsSubscription.h:77
Aws::SecurityHub::Model::StandardsSubscription::operator=
StandardsSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsInput
StandardsSubscription & WithStandardsInput(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StandardsSubscription.h:156
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsInput
void SetStandardsInput(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StandardsSubscription.h:151
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsSubscriptionArn
StandardsSubscription & WithStandardsSubscriptionArn(Aws::String &&value)
Definition: StandardsSubscription.h:83
Aws::SecurityHub::Model::StandardsSubscription::StandardsSubscription
StandardsSubscription(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::StandardsSubscription::GetStandardsInput
const Aws::Map< Aws::String, Aws::String > & GetStandardsInput() const
Definition: StandardsSubscription.h:136
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::StandardsSubscription::StandardsArnHasBeenSet
bool StandardsArnHasBeenSet() const
Definition: StandardsSubscription.h:100
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsInput
void SetStandardsInput(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StandardsSubscription.h:146
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(Aws::String &&key, const Aws::String &value)
Definition: StandardsSubscription.h:171
Aws::SecurityHub::Model::StandardsSubscription::GetStandardsSubscriptionArn
const Aws::String & GetStandardsSubscriptionArn() const
Definition: StandardsSubscription.h:47
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(const char *key, Aws::String &&value)
Definition: StandardsSubscription.h:186
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsArn
void SetStandardsArn(Aws::String &&value)
Definition: StandardsSubscription.h:110
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsSubscriptionArn
void SetStandardsSubscriptionArn(const Aws::String &value)
Definition: StandardsSubscription.h:59
Aws::SecurityHub::Model::StandardsSubscription::GetStandardsStatus
const StandardsStatus & GetStandardsStatus() const
Definition: StandardsSubscription.h:208
Aws::SecurityHub::Model::StandardsStatus
StandardsStatus
Definition: StandardsStatus.h:17
Aws::SecurityHub::Model::StandardsSubscription::StandardsStatusHasBeenSet
bool StandardsStatusHasBeenSet() const
Definition: StandardsSubscription.h:219
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(const char *key, const char *value)
Definition: StandardsSubscription.h:196
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsArn
StandardsSubscription & WithStandardsArn(const Aws::String &value)
Definition: StandardsSubscription.h:120
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(Aws::String &&key, Aws::String &&value)
Definition: StandardsSubscription.h:181
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::StandardsSubscription::WithStandardsArn
StandardsSubscription & WithStandardsArn(Aws::String &&value)
Definition: StandardsSubscription.h:125
Aws::SecurityHub::Model::StandardsSubscription::GetStandardsArn
const Aws::String & GetStandardsArn() const
Definition: StandardsSubscription.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::StandardsSubscription
Definition: StandardsSubscription.h:35
Aws::SecurityHub::Model::StandardsSubscription::AddStandardsInput
StandardsSubscription & AddStandardsInput(const Aws::String &key, const Aws::String &value)
Definition: StandardsSubscription.h:166
AWSMap.h
Aws::SecurityHub::Model::StandardsSubscription::SetStandardsStatus
void SetStandardsStatus(const StandardsStatus &value)
Definition: StandardsSubscription.h:230
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19