AWS SDK for C++  1.9.125
AWS SDK for C++
ListContactsFilter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const SubscriptionStatus& GetFilteredStatus() const{ return m_filteredStatus; }
47 
52  inline bool FilteredStatusHasBeenSet() const { return m_filteredStatusHasBeenSet; }
53 
58  inline void SetFilteredStatus(const SubscriptionStatus& value) { m_filteredStatusHasBeenSet = true; m_filteredStatus = value; }
59 
64  inline void SetFilteredStatus(SubscriptionStatus&& value) { m_filteredStatusHasBeenSet = true; m_filteredStatus = std::move(value); }
65 
70  inline ListContactsFilter& WithFilteredStatus(const SubscriptionStatus& value) { SetFilteredStatus(value); return *this;}
71 
76  inline ListContactsFilter& WithFilteredStatus(SubscriptionStatus&& value) { SetFilteredStatus(std::move(value)); return *this;}
77 
78 
82  inline const TopicFilter& GetTopicFilter() const{ return m_topicFilter; }
83 
87  inline bool TopicFilterHasBeenSet() const { return m_topicFilterHasBeenSet; }
88 
92  inline void SetTopicFilter(const TopicFilter& value) { m_topicFilterHasBeenSet = true; m_topicFilter = value; }
93 
97  inline void SetTopicFilter(TopicFilter&& value) { m_topicFilterHasBeenSet = true; m_topicFilter = std::move(value); }
98 
102  inline ListContactsFilter& WithTopicFilter(const TopicFilter& value) { SetTopicFilter(value); return *this;}
103 
107  inline ListContactsFilter& WithTopicFilter(TopicFilter&& value) { SetTopicFilter(std::move(value)); return *this;}
108 
109  private:
110 
111  SubscriptionStatus m_filteredStatus;
112  bool m_filteredStatusHasBeenSet;
113 
114  TopicFilter m_topicFilter;
115  bool m_topicFilterHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SESV2
120 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListContactsFilter::WithTopicFilter
ListContactsFilter & WithTopicFilter(TopicFilter &&value)
Definition: ListContactsFilter.h:107
Aws::SESV2::Model::SubscriptionStatus
SubscriptionStatus
Definition: SubscriptionStatus.h:17
Aws::SESV2::Model::ListContactsFilter::WithFilteredStatus
ListContactsFilter & WithFilteredStatus(SubscriptionStatus &&value)
Definition: ListContactsFilter.h:76
Aws::SESV2::Model::TopicFilter
Definition: TopicFilter.h:33
Aws::SESV2::Model::ListContactsFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ListContactsFilter::TopicFilterHasBeenSet
bool TopicFilterHasBeenSet() const
Definition: ListContactsFilter.h:87
Aws::SESV2::Model::ListContactsFilter::WithFilteredStatus
ListContactsFilter & WithFilteredStatus(const SubscriptionStatus &value)
Definition: ListContactsFilter.h:70
Aws::SESV2::Model::ListContactsFilter::SetFilteredStatus
void SetFilteredStatus(SubscriptionStatus &&value)
Definition: ListContactsFilter.h:64
Aws::SESV2::Model::ListContactsFilter::ListContactsFilter
ListContactsFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
TopicFilter.h
Aws::SESV2::Model::ListContactsFilter::operator=
ListContactsFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ListContactsFilter::GetTopicFilter
const TopicFilter & GetTopicFilter() const
Definition: ListContactsFilter.h:82
Aws::SESV2::Model::ListContactsFilter::SetTopicFilter
void SetTopicFilter(TopicFilter &&value)
Definition: ListContactsFilter.h:97
Aws::SESV2::Model::ListContactsFilter::ListContactsFilter
ListContactsFilter()
Aws::SESV2::Model::ListContactsFilter::WithTopicFilter
ListContactsFilter & WithTopicFilter(const TopicFilter &value)
Definition: ListContactsFilter.h:102
SubscriptionStatus.h
Aws::SESV2::Model::ListContactsFilter::FilteredStatusHasBeenSet
bool FilteredStatusHasBeenSet() const
Definition: ListContactsFilter.h:52
Aws::SESV2::Model::ListContactsFilter::SetTopicFilter
void SetTopicFilter(const TopicFilter &value)
Definition: ListContactsFilter.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListContactsFilter
Definition: ListContactsFilter.h:34
Aws::SESV2::Model::ListContactsFilter::GetFilteredStatus
const SubscriptionStatus & GetFilteredStatus() const
Definition: ListContactsFilter.h:46
Aws::SESV2::Model::ListContactsFilter::SetFilteredStatus
void SetFilteredStatus(const SubscriptionStatus &value)
Definition: ListContactsFilter.h:58