AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicAccess.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/PermissionConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API PublicAccess();
37 AWS_GUARDDUTY_API PublicAccess(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API PublicAccess& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const PermissionConfiguration& GetPermissionConfiguration() const{ return m_permissionConfiguration; }
48 inline bool PermissionConfigurationHasBeenSet() const { return m_permissionConfigurationHasBeenSet; }
49 inline void SetPermissionConfiguration(const PermissionConfiguration& value) { m_permissionConfigurationHasBeenSet = true; m_permissionConfiguration = value; }
50 inline void SetPermissionConfiguration(PermissionConfiguration&& value) { m_permissionConfigurationHasBeenSet = true; m_permissionConfiguration = std::move(value); }
54
56
60 inline const Aws::String& GetEffectivePermission() const{ return m_effectivePermission; }
61 inline bool EffectivePermissionHasBeenSet() const { return m_effectivePermissionHasBeenSet; }
62 inline void SetEffectivePermission(const Aws::String& value) { m_effectivePermissionHasBeenSet = true; m_effectivePermission = value; }
63 inline void SetEffectivePermission(Aws::String&& value) { m_effectivePermissionHasBeenSet = true; m_effectivePermission = std::move(value); }
64 inline void SetEffectivePermission(const char* value) { m_effectivePermissionHasBeenSet = true; m_effectivePermission.assign(value); }
65 inline PublicAccess& WithEffectivePermission(const Aws::String& value) { SetEffectivePermission(value); return *this;}
66 inline PublicAccess& WithEffectivePermission(Aws::String&& value) { SetEffectivePermission(std::move(value)); return *this;}
67 inline PublicAccess& WithEffectivePermission(const char* value) { SetEffectivePermission(value); return *this;}
69 private:
70
71 PermissionConfiguration m_permissionConfiguration;
72 bool m_permissionConfigurationHasBeenSet = false;
73
74 Aws::String m_effectivePermission;
75 bool m_effectivePermissionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GuardDuty
80} // namespace Aws
PublicAccess & WithEffectivePermission(const Aws::String &value)
PublicAccess & WithEffectivePermission(const char *value)
void SetPermissionConfiguration(const PermissionConfiguration &value)
void SetEffectivePermission(const char *value)
AWS_GUARDDUTY_API PublicAccess(Aws::Utils::Json::JsonView jsonValue)
void SetPermissionConfiguration(PermissionConfiguration &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
PublicAccess & WithPermissionConfiguration(const PermissionConfiguration &value)
const PermissionConfiguration & GetPermissionConfiguration() const
const Aws::String & GetEffectivePermission() const
void SetEffectivePermission(const Aws::String &value)
void SetEffectivePermission(Aws::String &&value)
PublicAccess & WithPermissionConfiguration(PermissionConfiguration &&value)
AWS_GUARDDUTY_API PublicAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
PublicAccess & WithEffectivePermission(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue