AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomPolicyDetails.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ConfigService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CONFIGSERVICE_API CustomPolicyDetails() = default;
37 AWS_CONFIGSERVICE_API CustomPolicyDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API CustomPolicyDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetPolicyRuntime() const { return m_policyRuntime; }
51 inline bool PolicyRuntimeHasBeenSet() const { return m_policyRuntimeHasBeenSet; }
52 template<typename PolicyRuntimeT = Aws::String>
53 void SetPolicyRuntime(PolicyRuntimeT&& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = std::forward<PolicyRuntimeT>(value); }
54 template<typename PolicyRuntimeT = Aws::String>
55 CustomPolicyDetails& WithPolicyRuntime(PolicyRuntimeT&& value) { SetPolicyRuntime(std::forward<PolicyRuntimeT>(value)); return *this;}
57
59
63 inline const Aws::String& GetPolicyText() const { return m_policyText; }
64 inline bool PolicyTextHasBeenSet() const { return m_policyTextHasBeenSet; }
65 template<typename PolicyTextT = Aws::String>
66 void SetPolicyText(PolicyTextT&& value) { m_policyTextHasBeenSet = true; m_policyText = std::forward<PolicyTextT>(value); }
67 template<typename PolicyTextT = Aws::String>
68 CustomPolicyDetails& WithPolicyText(PolicyTextT&& value) { SetPolicyText(std::forward<PolicyTextT>(value)); return *this;}
70
72
76 inline bool GetEnableDebugLogDelivery() const { return m_enableDebugLogDelivery; }
77 inline bool EnableDebugLogDeliveryHasBeenSet() const { return m_enableDebugLogDeliveryHasBeenSet; }
78 inline void SetEnableDebugLogDelivery(bool value) { m_enableDebugLogDeliveryHasBeenSet = true; m_enableDebugLogDelivery = value; }
81 private:
82
83 Aws::String m_policyRuntime;
84 bool m_policyRuntimeHasBeenSet = false;
85
86 Aws::String m_policyText;
87 bool m_policyTextHasBeenSet = false;
88
89 bool m_enableDebugLogDelivery{false};
90 bool m_enableDebugLogDeliveryHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ConfigService
95} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPolicyDetails & WithPolicyText(PolicyTextT &&value)
AWS_CONFIGSERVICE_API CustomPolicyDetails(Aws::Utils::Json::JsonView jsonValue)
CustomPolicyDetails & WithEnableDebugLogDelivery(bool value)
CustomPolicyDetails & WithPolicyRuntime(PolicyRuntimeT &&value)
AWS_CONFIGSERVICE_API CustomPolicyDetails()=default
AWS_CONFIGSERVICE_API CustomPolicyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue