AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
SystemPolicyAssociatedMetadata.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
28 public:
29 AWS_RESILIENCEHUBV2_API SystemPolicyAssociatedMetadata() = default;
32 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetPolicyName() const { return m_policyName; }
39 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
40 template <typename PolicyNameT = Aws::String>
41 void SetPolicyName(PolicyNameT&& value) {
42 m_policyNameHasBeenSet = true;
43 m_policyName = std::forward<PolicyNameT>(value);
44 }
45 template <typename PolicyNameT = Aws::String>
47 SetPolicyName(std::forward<PolicyNameT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
55 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
56 template <typename PolicyArnT = Aws::String>
57 void SetPolicyArn(PolicyArnT&& value) {
58 m_policyArnHasBeenSet = true;
59 m_policyArn = std::forward<PolicyArnT>(value);
60 }
61 template <typename PolicyArnT = Aws::String>
63 SetPolicyArn(std::forward<PolicyArnT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_policyName;
69
70 Aws::String m_policyArn;
71 bool m_policyNameHasBeenSet = false;
72 bool m_policyArnHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace resiliencehubv2
77} // namespace Aws
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API SystemPolicyAssociatedMetadata(Aws::Utils::Json::JsonView jsonValue)
SystemPolicyAssociatedMetadata & WithPolicyArn(PolicyArnT &&value)
SystemPolicyAssociatedMetadata & WithPolicyName(PolicyNameT &&value)
AWS_RESILIENCEHUBV2_API SystemPolicyAssociatedMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API SystemPolicyAssociatedMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue