AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SqsQueueConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccessAnalyzer {
20namespace Model {
21
38 public:
39 AWS_ACCESSANALYZER_API SqsQueueConfiguration() = default;
40 AWS_ACCESSANALYZER_API SqsQueueConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetQueuePolicy() const { return m_queuePolicy; }
49 inline bool QueuePolicyHasBeenSet() const { return m_queuePolicyHasBeenSet; }
50 template <typename QueuePolicyT = Aws::String>
51 void SetQueuePolicy(QueuePolicyT&& value) {
52 m_queuePolicyHasBeenSet = true;
53 m_queuePolicy = std::forward<QueuePolicyT>(value);
54 }
55 template <typename QueuePolicyT = Aws::String>
56 SqsQueueConfiguration& WithQueuePolicy(QueuePolicyT&& value) {
57 SetQueuePolicy(std::forward<QueuePolicyT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_queuePolicy;
63 bool m_queuePolicyHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace AccessAnalyzer
68} // namespace Aws
AWS_ACCESSANALYZER_API SqsQueueConfiguration()=default
AWS_ACCESSANALYZER_API SqsQueueConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SqsQueueConfiguration & WithQueuePolicy(QueuePolicyT &&value)
AWS_ACCESSANALYZER_API SqsQueueConfiguration(Aws::Utils::Json::JsonView jsonValue)
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