AWS SDK for C++  1.9.152
AWS SDK for C++
SqsQueueConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AccessAnalyzer
22 {
23 namespace Model
24 {
25 
42  {
43  public:
48 
49 
53  inline const Aws::String& GetQueuePolicy() const{ return m_queuePolicy; }
54 
58  inline bool QueuePolicyHasBeenSet() const { return m_queuePolicyHasBeenSet; }
59 
63  inline void SetQueuePolicy(const Aws::String& value) { m_queuePolicyHasBeenSet = true; m_queuePolicy = value; }
64 
68  inline void SetQueuePolicy(Aws::String&& value) { m_queuePolicyHasBeenSet = true; m_queuePolicy = std::move(value); }
69 
73  inline void SetQueuePolicy(const char* value) { m_queuePolicyHasBeenSet = true; m_queuePolicy.assign(value); }
74 
78  inline SqsQueueConfiguration& WithQueuePolicy(const Aws::String& value) { SetQueuePolicy(value); return *this;}
79 
83  inline SqsQueueConfiguration& WithQueuePolicy(Aws::String&& value) { SetQueuePolicy(std::move(value)); return *this;}
84 
88  inline SqsQueueConfiguration& WithQueuePolicy(const char* value) { SetQueuePolicy(value); return *this;}
89 
90  private:
91 
92  Aws::String m_queuePolicy;
93  bool m_queuePolicyHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace AccessAnalyzer
98 } // namespace Aws
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::SqsQueueConfiguration
SqsQueueConfiguration()
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::GetQueuePolicy
const Aws::String & GetQueuePolicy() const
Definition: SqsQueueConfiguration.h:53
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::WithQueuePolicy
SqsQueueConfiguration & WithQueuePolicy(const Aws::String &value)
Definition: SqsQueueConfiguration.h:78
Aws::AccessAnalyzer::Model::SqsQueueConfiguration
Definition: SqsQueueConfiguration.h:42
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::SetQueuePolicy
void SetQueuePolicy(Aws::String &&value)
Definition: SqsQueueConfiguration.h:68
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::SetQueuePolicy
void SetQueuePolicy(const Aws::String &value)
Definition: SqsQueueConfiguration.h:63
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::SqsQueueConfiguration
SqsQueueConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::operator=
SqsQueueConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::SetQueuePolicy
void SetQueuePolicy(const char *value)
Definition: SqsQueueConfiguration.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::WithQueuePolicy
SqsQueueConfiguration & WithQueuePolicy(const char *value)
Definition: SqsQueueConfiguration.h:88
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::WithQueuePolicy
SqsQueueConfiguration & WithQueuePolicy(Aws::String &&value)
Definition: SqsQueueConfiguration.h:83
Aws::AccessAnalyzer::Model::SqsQueueConfiguration::QueuePolicyHasBeenSet
bool QueuePolicyHasBeenSet() const
Definition: SqsQueueConfiguration.h:58