AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationPolicyAssociation.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/Target.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SECURITYHUB_API ConfigurationPolicyAssociation();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Target& GetTarget() const{ return m_target; }
48 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
49 inline void SetTarget(const Target& value) { m_targetHasBeenSet = true; m_target = value; }
50 inline void SetTarget(Target&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
51 inline ConfigurationPolicyAssociation& WithTarget(const Target& value) { SetTarget(value); return *this;}
52 inline ConfigurationPolicyAssociation& WithTarget(Target&& value) { SetTarget(std::move(value)); return *this;}
54 private:
55
56 Target m_target;
57 bool m_targetHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace SecurityHub
62} // namespace Aws
ConfigurationPolicyAssociation & WithTarget(Target &&value)
AWS_SECURITYHUB_API ConfigurationPolicyAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ConfigurationPolicyAssociation(Aws::Utils::Json::JsonView jsonValue)
ConfigurationPolicyAssociation & WithTarget(const Target &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue