AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityServicePolicyData.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/SecurityServiceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fms/model/PolicyOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
52 inline const SecurityServiceType& GetType() const{ return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 inline void SetType(const SecurityServiceType& value) { m_typeHasBeenSet = true; m_type = value; }
55 inline void SetType(SecurityServiceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
56 inline SecurityServicePolicyData& WithType(const SecurityServiceType& value) { SetType(value); return *this;}
57 inline SecurityServicePolicyData& WithType(SecurityServiceType&& value) { SetType(std::move(value)); return *this;}
59
61
285 inline const Aws::String& GetManagedServiceData() const{ return m_managedServiceData; }
286 inline bool ManagedServiceDataHasBeenSet() const { return m_managedServiceDataHasBeenSet; }
287 inline void SetManagedServiceData(const Aws::String& value) { m_managedServiceDataHasBeenSet = true; m_managedServiceData = value; }
288 inline void SetManagedServiceData(Aws::String&& value) { m_managedServiceDataHasBeenSet = true; m_managedServiceData = std::move(value); }
289 inline void SetManagedServiceData(const char* value) { m_managedServiceDataHasBeenSet = true; m_managedServiceData.assign(value); }
291 inline SecurityServicePolicyData& WithManagedServiceData(Aws::String&& value) { SetManagedServiceData(std::move(value)); return *this;}
292 inline SecurityServicePolicyData& WithManagedServiceData(const char* value) { SetManagedServiceData(value); return *this;}
294
296
300 inline const PolicyOption& GetPolicyOption() const{ return m_policyOption; }
301 inline bool PolicyOptionHasBeenSet() const { return m_policyOptionHasBeenSet; }
302 inline void SetPolicyOption(const PolicyOption& value) { m_policyOptionHasBeenSet = true; m_policyOption = value; }
303 inline void SetPolicyOption(PolicyOption&& value) { m_policyOptionHasBeenSet = true; m_policyOption = std::move(value); }
304 inline SecurityServicePolicyData& WithPolicyOption(const PolicyOption& value) { SetPolicyOption(value); return *this;}
305 inline SecurityServicePolicyData& WithPolicyOption(PolicyOption&& value) { SetPolicyOption(std::move(value)); return *this;}
307 private:
308
309 SecurityServiceType m_type;
310 bool m_typeHasBeenSet = false;
311
312 Aws::String m_managedServiceData;
313 bool m_managedServiceDataHasBeenSet = false;
314
315 PolicyOption m_policyOption;
316 bool m_policyOptionHasBeenSet = false;
317 };
318
319} // namespace Model
320} // namespace FMS
321} // namespace Aws
SecurityServicePolicyData & WithType(SecurityServiceType &&value)
SecurityServicePolicyData & WithType(const SecurityServiceType &value)
void SetType(const SecurityServiceType &value)
SecurityServicePolicyData & WithManagedServiceData(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API SecurityServicePolicyData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API SecurityServicePolicyData(Aws::Utils::Json::JsonView jsonValue)
const SecurityServiceType & GetType() const
SecurityServicePolicyData & WithManagedServiceData(const char *value)
SecurityServicePolicyData & WithManagedServiceData(Aws::String &&value)
SecurityServicePolicyData & WithPolicyOption(const PolicyOption &value)
SecurityServicePolicyData & WithPolicyOption(PolicyOption &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue