AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsEventsEventbusDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_SECURITYHUB_API AwsEventsEventbusDetails() = default;
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 AwsEventsEventbusDetails& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 AwsEventsEventbusDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
74 inline const Aws::String& GetPolicy() const { return m_policy; }
75 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
76 template<typename PolicyT = Aws::String>
77 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet = true; m_policy = std::forward<PolicyT>(value); }
78 template<typename PolicyT = Aws::String>
79 AwsEventsEventbusDetails& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
81 private:
82
83 Aws::String m_arn;
84 bool m_arnHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_policy;
90 bool m_policyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SecurityHub
95} // namespace Aws
AWS_SECURITYHUB_API AwsEventsEventbusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEventsEventbusDetails & WithName(NameT &&value)
AwsEventsEventbusDetails & WithArn(ArnT &&value)
AwsEventsEventbusDetails & WithPolicy(PolicyT &&value)
AWS_SECURITYHUB_API AwsEventsEventbusDetails()=default
AWS_SECURITYHUB_API AwsEventsEventbusDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue