AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolicyDefinitionDetail.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/StaticPolicyDefinitionDetail.h>
9#include <aws/verifiedpermissions/model/TemplateLinkedPolicyDefinitionDetail.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 VerifiedPermissions
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_VERIFIEDPERMISSIONS_API PolicyDefinitionDetail();
40 AWS_VERIFIEDPERMISSIONS_API PolicyDefinitionDetail(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API PolicyDefinitionDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const StaticPolicyDefinitionDetail& GetStatic() const{ return m_static; }
51 inline bool StaticHasBeenSet() const { return m_staticHasBeenSet; }
52 inline void SetStatic(const StaticPolicyDefinitionDetail& value) { m_staticHasBeenSet = true; m_static = value; }
53 inline void SetStatic(StaticPolicyDefinitionDetail&& value) { m_staticHasBeenSet = true; m_static = std::move(value); }
54 inline PolicyDefinitionDetail& WithStatic(const StaticPolicyDefinitionDetail& value) { SetStatic(value); return *this;}
55 inline PolicyDefinitionDetail& WithStatic(StaticPolicyDefinitionDetail&& value) { SetStatic(std::move(value)); return *this;}
57
59
63 inline const TemplateLinkedPolicyDefinitionDetail& GetTemplateLinked() const{ return m_templateLinked; }
64 inline bool TemplateLinkedHasBeenSet() const { return m_templateLinkedHasBeenSet; }
65 inline void SetTemplateLinked(const TemplateLinkedPolicyDefinitionDetail& value) { m_templateLinkedHasBeenSet = true; m_templateLinked = value; }
66 inline void SetTemplateLinked(TemplateLinkedPolicyDefinitionDetail&& value) { m_templateLinkedHasBeenSet = true; m_templateLinked = std::move(value); }
70 private:
71
73 bool m_staticHasBeenSet = false;
74
76 bool m_templateLinkedHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace VerifiedPermissions
81} // namespace Aws
const StaticPolicyDefinitionDetail & GetStatic() const
PolicyDefinitionDetail & WithStatic(const StaticPolicyDefinitionDetail &value)
PolicyDefinitionDetail & WithStatic(StaticPolicyDefinitionDetail &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatic(const StaticPolicyDefinitionDetail &value)
const TemplateLinkedPolicyDefinitionDetail & GetTemplateLinked() const
PolicyDefinitionDetail & WithTemplateLinked(const TemplateLinkedPolicyDefinitionDetail &value)
AWS_VERIFIEDPERMISSIONS_API PolicyDefinitionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateLinked(TemplateLinkedPolicyDefinitionDetail &&value)
void SetStatic(StaticPolicyDefinitionDetail &&value)
void SetTemplateLinked(const TemplateLinkedPolicyDefinitionDetail &value)
PolicyDefinitionDetail & WithTemplateLinked(TemplateLinkedPolicyDefinitionDetail &&value)
AWS_VERIFIEDPERMISSIONS_API PolicyDefinitionDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue