AWS SDK for C++  1.9.160
AWS SDK for C++
TopicFilter.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 SESV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetTopicName() const{ return m_topicName; }
45 
49  inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
50 
54  inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
55 
59  inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
60 
64  inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
65 
69  inline TopicFilter& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
70 
74  inline TopicFilter& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
75 
79  inline TopicFilter& WithTopicName(const char* value) { SetTopicName(value); return *this;}
80 
81 
87  inline bool GetUseDefaultIfPreferenceUnavailable() const{ return m_useDefaultIfPreferenceUnavailable; }
88 
94  inline bool UseDefaultIfPreferenceUnavailableHasBeenSet() const { return m_useDefaultIfPreferenceUnavailableHasBeenSet; }
95 
101  inline void SetUseDefaultIfPreferenceUnavailable(bool value) { m_useDefaultIfPreferenceUnavailableHasBeenSet = true; m_useDefaultIfPreferenceUnavailable = value; }
102 
108  inline TopicFilter& WithUseDefaultIfPreferenceUnavailable(bool value) { SetUseDefaultIfPreferenceUnavailable(value); return *this;}
109 
110  private:
111 
112  Aws::String m_topicName;
113  bool m_topicNameHasBeenSet;
114 
115  bool m_useDefaultIfPreferenceUnavailable;
116  bool m_useDefaultIfPreferenceUnavailableHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace SESV2
121 } // namespace Aws
Aws::SESV2::Model::TopicFilter::WithTopicName
TopicFilter & WithTopicName(const char *value)
Definition: TopicFilter.h:79
Aws::SESV2::Model::TopicFilter::TopicNameHasBeenSet
bool TopicNameHasBeenSet() const
Definition: TopicFilter.h:49
Aws::SESV2::Model::TopicFilter::SetTopicName
void SetTopicName(Aws::String &&value)
Definition: TopicFilter.h:59
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::TopicFilter::WithTopicName
TopicFilter & WithTopicName(const Aws::String &value)
Definition: TopicFilter.h:69
Aws::SESV2::Model::TopicFilter::TopicFilter
TopicFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::TopicFilter
Definition: TopicFilter.h:33
Aws::SESV2::Model::TopicFilter::UseDefaultIfPreferenceUnavailableHasBeenSet
bool UseDefaultIfPreferenceUnavailableHasBeenSet() const
Definition: TopicFilter.h:94
Aws::SESV2::Model::TopicFilter::SetTopicName
void SetTopicName(const char *value)
Definition: TopicFilter.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::TopicFilter::operator=
TopicFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::TopicFilter::SetUseDefaultIfPreferenceUnavailable
void SetUseDefaultIfPreferenceUnavailable(bool value)
Definition: TopicFilter.h:101
Aws::SESV2::Model::TopicFilter::WithUseDefaultIfPreferenceUnavailable
TopicFilter & WithUseDefaultIfPreferenceUnavailable(bool value)
Definition: TopicFilter.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::TopicFilter::GetTopicName
const Aws::String & GetTopicName() const
Definition: TopicFilter.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::TopicFilter::SetTopicName
void SetTopicName(const Aws::String &value)
Definition: TopicFilter.h:54
Aws::SESV2::Model::TopicFilter::WithTopicName
TopicFilter & WithTopicName(Aws::String &&value)
Definition: TopicFilter.h:74
Aws::SESV2::Model::TopicFilter::GetUseDefaultIfPreferenceUnavailable
bool GetUseDefaultIfPreferenceUnavailable() const
Definition: TopicFilter.h:87
Aws::SESV2::Model::TopicFilter::TopicFilter
TopicFilter()
Aws::SESV2::Model::TopicFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const