AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
SystemPolicyDisassociatedMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace resiliencehubv2 {
20namespace Model {
21
29 public:
30 AWS_RESILIENCEHUBV2_API SystemPolicyDisassociatedMetadata() = default;
33 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetPolicyName() const { return m_policyName; }
40 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
41 template <typename PolicyNameT = Aws::String>
42 void SetPolicyName(PolicyNameT&& value) {
43 m_policyNameHasBeenSet = true;
44 m_policyName = std::forward<PolicyNameT>(value);
45 }
46 template <typename PolicyNameT = Aws::String>
48 SetPolicyName(std::forward<PolicyNameT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
56 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
57 template <typename PolicyArnT = Aws::String>
58 void SetPolicyArn(PolicyArnT&& value) {
59 m_policyArnHasBeenSet = true;
60 m_policyArn = std::forward<PolicyArnT>(value);
61 }
62 template <typename PolicyArnT = Aws::String>
64 SetPolicyArn(std::forward<PolicyArnT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_policyName;
70
71 Aws::String m_policyArn;
72 bool m_policyNameHasBeenSet = false;
73 bool m_policyArnHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace resiliencehubv2
78} // namespace Aws
AWS_RESILIENCEHUBV2_API SystemPolicyDisassociatedMetadata()=default
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API SystemPolicyDisassociatedMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemPolicyDisassociatedMetadata & WithPolicyArn(PolicyArnT &&value)
SystemPolicyDisassociatedMetadata & WithPolicyName(PolicyNameT &&value)
AWS_RESILIENCEHUBV2_API SystemPolicyDisassociatedMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue