AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 SqsQueueConfiguration();
45 AWS_ACCESSANALYZER_API SqsQueueConfiguration(Aws::Utils::Json::JsonView jsonValue);
47 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetQueuePolicy() const{ return m_queuePolicy; }
55 inline bool QueuePolicyHasBeenSet() const { return m_queuePolicyHasBeenSet; }
56 inline void SetQueuePolicy(const Aws::String& value) { m_queuePolicyHasBeenSet = true; m_queuePolicy = value; }
57 inline void SetQueuePolicy(Aws::String&& value) { m_queuePolicyHasBeenSet = true; m_queuePolicy = std::move(value); }
58 inline void SetQueuePolicy(const char* value) { m_queuePolicyHasBeenSet = true; m_queuePolicy.assign(value); }
59 inline SqsQueueConfiguration& WithQueuePolicy(const Aws::String& value) { SetQueuePolicy(value); return *this;}
60 inline SqsQueueConfiguration& WithQueuePolicy(Aws::String&& value) { SetQueuePolicy(std::move(value)); return *this;}
61 inline SqsQueueConfiguration& WithQueuePolicy(const char* value) { SetQueuePolicy(value); return *this;}
63 private:
64
65 Aws::String m_queuePolicy;
66 bool m_queuePolicyHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace AccessAnalyzer
71} // namespace Aws
AWS_ACCESSANALYZER_API SqsQueueConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SqsQueueConfiguration & WithQueuePolicy(const Aws::String &value)
AWS_ACCESSANALYZER_API SqsQueueConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
SqsQueueConfiguration & WithQueuePolicy(Aws::String &&value)
SqsQueueConfiguration & WithQueuePolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue