AWS SDK for C++  1.9.108
AWS SDK for C++
AccountLevelPermissions.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const BlockPublicAccess& GetBlockPublicAccess() const{ return m_blockPublicAccess; }
46 
51  inline bool BlockPublicAccessHasBeenSet() const { return m_blockPublicAccessHasBeenSet; }
52 
57  inline void SetBlockPublicAccess(const BlockPublicAccess& value) { m_blockPublicAccessHasBeenSet = true; m_blockPublicAccess = value; }
58 
63  inline void SetBlockPublicAccess(BlockPublicAccess&& value) { m_blockPublicAccessHasBeenSet = true; m_blockPublicAccess = std::move(value); }
64 
69  inline AccountLevelPermissions& WithBlockPublicAccess(const BlockPublicAccess& value) { SetBlockPublicAccess(value); return *this;}
70 
75  inline AccountLevelPermissions& WithBlockPublicAccess(BlockPublicAccess&& value) { SetBlockPublicAccess(std::move(value)); return *this;}
76 
77  private:
78 
79  BlockPublicAccess m_blockPublicAccess;
80  bool m_blockPublicAccessHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace GuardDuty
85 } // namespace Aws
Aws::GuardDuty::Model::AccountLevelPermissions::BlockPublicAccessHasBeenSet
bool BlockPublicAccessHasBeenSet() const
Definition: AccountLevelPermissions.h:51
Aws::GuardDuty::Model::AccountLevelPermissions::operator=
AccountLevelPermissions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::AccountLevelPermissions::AccountLevelPermissions
AccountLevelPermissions(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::AccountLevelPermissions::SetBlockPublicAccess
void SetBlockPublicAccess(const BlockPublicAccess &value)
Definition: AccountLevelPermissions.h:57
Aws::GuardDuty::Model::AccountLevelPermissions
Definition: AccountLevelPermissions.h:33
Aws::GuardDuty::Model::AccountLevelPermissions::WithBlockPublicAccess
AccountLevelPermissions & WithBlockPublicAccess(BlockPublicAccess &&value)
Definition: AccountLevelPermissions.h:75
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::AccountLevelPermissions::AccountLevelPermissions
AccountLevelPermissions()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GuardDuty::Model::AccountLevelPermissions::WithBlockPublicAccess
AccountLevelPermissions & WithBlockPublicAccess(const BlockPublicAccess &value)
Definition: AccountLevelPermissions.h:69
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GuardDuty::Model::AccountLevelPermissions::SetBlockPublicAccess
void SetBlockPublicAccess(BlockPublicAccess &&value)
Definition: AccountLevelPermissions.h:63
Aws::GuardDuty::Model::AccountLevelPermissions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::AccountLevelPermissions::GetBlockPublicAccess
const BlockPublicAccess & GetBlockPublicAccess() const
Definition: AccountLevelPermissions.h:45
BlockPublicAccess.h
Aws::GuardDuty::Model::BlockPublicAccess
Definition: BlockPublicAccess.h:33