AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SnsTopicConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_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 AccessAnalyzer
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_ACCESSANALYZER_API SnsTopicConfiguration() = default;
45 AWS_ACCESSANALYZER_API SnsTopicConfiguration(Aws::Utils::Json::JsonView jsonValue);
47 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
58 inline const Aws::String& GetTopicPolicy() const { return m_topicPolicy; }
59 inline bool TopicPolicyHasBeenSet() const { return m_topicPolicyHasBeenSet; }
60 template<typename TopicPolicyT = Aws::String>
61 void SetTopicPolicy(TopicPolicyT&& value) { m_topicPolicyHasBeenSet = true; m_topicPolicy = std::forward<TopicPolicyT>(value); }
62 template<typename TopicPolicyT = Aws::String>
63 SnsTopicConfiguration& WithTopicPolicy(TopicPolicyT&& value) { SetTopicPolicy(std::forward<TopicPolicyT>(value)); return *this;}
65 private:
66
67 Aws::String m_topicPolicy;
68 bool m_topicPolicyHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace AccessAnalyzer
73} // namespace Aws
AWS_ACCESSANALYZER_API SnsTopicConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API SnsTopicConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnsTopicConfiguration & WithTopicPolicy(TopicPolicyT &&value)
AWS_ACCESSANALYZER_API SnsTopicConfiguration()=default
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue