AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPolicyRuntime(const Aws::String& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = value; }
53 inline void SetPolicyRuntime(Aws::String&& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = std::move(value); }
54 inline void SetPolicyRuntime(const char* value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime.assign(value); }
55 inline CustomPolicyDetails& WithPolicyRuntime(const Aws::String& value) { SetPolicyRuntime(value); return *this;}
56 inline CustomPolicyDetails& WithPolicyRuntime(Aws::String&& value) { SetPolicyRuntime(std::move(value)); return *this;}
57 inline CustomPolicyDetails& WithPolicyRuntime(const char* value) { SetPolicyRuntime(value); return *this;}
59
61
65 inline const Aws::String& GetPolicyText() const{ return m_policyText; }
66 inline bool PolicyTextHasBeenSet() const { return m_policyTextHasBeenSet; }
67 inline void SetPolicyText(const Aws::String& value) { m_policyTextHasBeenSet = true; m_policyText = value; }
68 inline void SetPolicyText(Aws::String&& value) { m_policyTextHasBeenSet = true; m_policyText = std::move(value); }
69 inline void SetPolicyText(const char* value) { m_policyTextHasBeenSet = true; m_policyText.assign(value); }
70 inline CustomPolicyDetails& WithPolicyText(const Aws::String& value) { SetPolicyText(value); return *this;}
71 inline CustomPolicyDetails& WithPolicyText(Aws::String&& value) { SetPolicyText(std::move(value)); return *this;}
72 inline CustomPolicyDetails& WithPolicyText(const char* value) { SetPolicyText(value); return *this;}
74
76
80 inline bool GetEnableDebugLogDelivery() const{ return m_enableDebugLogDelivery; }
81 inline bool EnableDebugLogDeliveryHasBeenSet() const { return m_enableDebugLogDeliveryHasBeenSet; }
82 inline void SetEnableDebugLogDelivery(bool value) { m_enableDebugLogDeliveryHasBeenSet = true; m_enableDebugLogDelivery = value; }
85 private:
86
87 Aws::String m_policyRuntime;
88 bool m_policyRuntimeHasBeenSet = false;
89
90 Aws::String m_policyText;
91 bool m_policyTextHasBeenSet = false;
92
93 bool m_enableDebugLogDelivery;
94 bool m_enableDebugLogDeliveryHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ConfigService
99} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPolicyDetails & WithPolicyText(const Aws::String &value)
AWS_CONFIGSERVICE_API CustomPolicyDetails(Aws::Utils::Json::JsonView jsonValue)
CustomPolicyDetails & WithPolicyRuntime(const Aws::String &value)
CustomPolicyDetails & WithEnableDebugLogDelivery(bool value)
CustomPolicyDetails & WithPolicyRuntime(const char *value)
CustomPolicyDetails & WithPolicyRuntime(Aws::String &&value)
CustomPolicyDetails & WithPolicyText(Aws::String &&value)
CustomPolicyDetails & WithPolicyText(const char *value)
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