AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTopicPolicy(const Aws::String& value) { m_topicPolicyHasBeenSet = true; m_topicPolicy = value; }
61 inline void SetTopicPolicy(Aws::String&& value) { m_topicPolicyHasBeenSet = true; m_topicPolicy = std::move(value); }
62 inline void SetTopicPolicy(const char* value) { m_topicPolicyHasBeenSet = true; m_topicPolicy.assign(value); }
63 inline SnsTopicConfiguration& WithTopicPolicy(const Aws::String& value) { SetTopicPolicy(value); return *this;}
64 inline SnsTopicConfiguration& WithTopicPolicy(Aws::String&& value) { SetTopicPolicy(std::move(value)); return *this;}
65 inline SnsTopicConfiguration& WithTopicPolicy(const char* value) { SetTopicPolicy(value); return *this;}
67 private:
68
69 Aws::String m_topicPolicy;
70 bool m_topicPolicyHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace AccessAnalyzer
75} // namespace Aws
AWS_ACCESSANALYZER_API SnsTopicConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API SnsTopicConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnsTopicConfiguration & WithTopicPolicy(const char *value)
SnsTopicConfiguration & WithTopicPolicy(const Aws::String &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
SnsTopicConfiguration & WithTopicPolicy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue