AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
31 public:
32 AWS_SECURITYHUB_API ConfigurationPolicyAssociation() = default;
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Target& GetTarget() const { return m_target; }
42 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
43 template <typename TargetT = Target>
44 void SetTarget(TargetT&& value) {
45 m_targetHasBeenSet = true;
46 m_target = std::forward<TargetT>(value);
47 }
48 template <typename TargetT = Target>
50 SetTarget(std::forward<TargetT>(value));
51 return *this;
52 }
54 private:
55 Target m_target;
56 bool m_targetHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace SecurityHub
61} // namespace Aws
AWS_SECURITYHUB_API ConfigurationPolicyAssociation()=default
AWS_SECURITYHUB_API ConfigurationPolicyAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ConfigurationPolicyAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationPolicyAssociation & WithTarget(TargetT &&value)
Aws::Utils::Json::JsonValue JsonValue