AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline AwsEventsEventbusDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline AwsEventsEventbusDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline AwsEventsEventbusDetails& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline AwsEventsEventbusDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline AwsEventsEventbusDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline AwsEventsEventbusDetails& WithName(const char* value) { SetName(value); return *this;}
72
74
78 inline const Aws::String& GetPolicy() const{ return m_policy; }
79 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
80 inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; }
81 inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); }
82 inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); }
83 inline AwsEventsEventbusDetails& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
84 inline AwsEventsEventbusDetails& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
85 inline AwsEventsEventbusDetails& WithPolicy(const char* value) { SetPolicy(value); return *this;}
87 private:
88
89 Aws::String m_arn;
90 bool m_arnHasBeenSet = false;
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_policy;
96 bool m_policyHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SecurityHub
101} // namespace Aws
AwsEventsEventbusDetails & WithArn(const char *value)
AwsEventsEventbusDetails & WithArn(Aws::String &&value)
AWS_SECURITYHUB_API AwsEventsEventbusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEventbusDetails & WithName(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEventsEventbusDetails & WithPolicy(Aws::String &&value)
AwsEventsEventbusDetails & WithArn(const Aws::String &value)
AwsEventsEventbusDetails & WithName(const Aws::String &value)
AwsEventsEventbusDetails & WithPolicy(const Aws::String &value)
AWS_SECURITYHUB_API AwsEventsEventbusDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEventbusDetails & WithPolicy(const char *value)
AwsEventsEventbusDetails & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue