AWS SDK for C++  1.9.153
AWS SDK for C++
SuppressedDestinationAttributes.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 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetMessageId() const{ return m_messageId; }
47 
52  inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
53 
58  inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
59 
64  inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
65 
70  inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
71 
76  inline SuppressedDestinationAttributes& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
77 
82  inline SuppressedDestinationAttributes& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
83 
88  inline SuppressedDestinationAttributes& WithMessageId(const char* value) { SetMessageId(value); return *this;}
89 
90 
95  inline const Aws::String& GetFeedbackId() const{ return m_feedbackId; }
96 
101  inline bool FeedbackIdHasBeenSet() const { return m_feedbackIdHasBeenSet; }
102 
107  inline void SetFeedbackId(const Aws::String& value) { m_feedbackIdHasBeenSet = true; m_feedbackId = value; }
108 
113  inline void SetFeedbackId(Aws::String&& value) { m_feedbackIdHasBeenSet = true; m_feedbackId = std::move(value); }
114 
119  inline void SetFeedbackId(const char* value) { m_feedbackIdHasBeenSet = true; m_feedbackId.assign(value); }
120 
125  inline SuppressedDestinationAttributes& WithFeedbackId(const Aws::String& value) { SetFeedbackId(value); return *this;}
126 
131  inline SuppressedDestinationAttributes& WithFeedbackId(Aws::String&& value) { SetFeedbackId(std::move(value)); return *this;}
132 
137  inline SuppressedDestinationAttributes& WithFeedbackId(const char* value) { SetFeedbackId(value); return *this;}
138 
139  private:
140 
141  Aws::String m_messageId;
142  bool m_messageIdHasBeenSet;
143 
144  Aws::String m_feedbackId;
145  bool m_feedbackIdHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace SESV2
150 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SuppressedDestinationAttributes::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SuppressedDestinationAttributes.h:58
Aws::SESV2::Model::SuppressedDestinationAttributes
Definition: SuppressedDestinationAttributes.h:34
Aws::SESV2::Model::SuppressedDestinationAttributes::WithFeedbackId
SuppressedDestinationAttributes & WithFeedbackId(const Aws::String &value)
Definition: SuppressedDestinationAttributes.h:125
Aws::SESV2::Model::SuppressedDestinationAttributes::MessageIdHasBeenSet
bool MessageIdHasBeenSet() const
Definition: SuppressedDestinationAttributes.h:52
Aws::SESV2::Model::SuppressedDestinationAttributes::SetFeedbackId
void SetFeedbackId(Aws::String &&value)
Definition: SuppressedDestinationAttributes.h:113
Aws::SESV2::Model::SuppressedDestinationAttributes::SetFeedbackId
void SetFeedbackId(const char *value)
Definition: SuppressedDestinationAttributes.h:119
Aws::SESV2::Model::SuppressedDestinationAttributes::SetFeedbackId
void SetFeedbackId(const Aws::String &value)
Definition: SuppressedDestinationAttributes.h:107
Aws::SESV2::Model::SuppressedDestinationAttributes::WithMessageId
SuppressedDestinationAttributes & WithMessageId(const char *value)
Definition: SuppressedDestinationAttributes.h:88
Aws::SESV2::Model::SuppressedDestinationAttributes::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SuppressedDestinationAttributes.h:64
Aws::SESV2::Model::SuppressedDestinationAttributes::WithFeedbackId
SuppressedDestinationAttributes & WithFeedbackId(const char *value)
Definition: SuppressedDestinationAttributes.h:137
Aws::SESV2::Model::SuppressedDestinationAttributes::WithMessageId
SuppressedDestinationAttributes & WithMessageId(const Aws::String &value)
Definition: SuppressedDestinationAttributes.h:76
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::SuppressedDestinationAttributes::WithFeedbackId
SuppressedDestinationAttributes & WithFeedbackId(Aws::String &&value)
Definition: SuppressedDestinationAttributes.h:131
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SuppressedDestinationAttributes::SuppressedDestinationAttributes
SuppressedDestinationAttributes()
Aws::SESV2::Model::SuppressedDestinationAttributes::FeedbackIdHasBeenSet
bool FeedbackIdHasBeenSet() const
Definition: SuppressedDestinationAttributes.h:101
Aws::SESV2::Model::SuppressedDestinationAttributes::SetMessageId
void SetMessageId(const char *value)
Definition: SuppressedDestinationAttributes.h:70
Aws::SESV2::Model::SuppressedDestinationAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::SuppressedDestinationAttributes::GetMessageId
const Aws::String & GetMessageId() const
Definition: SuppressedDestinationAttributes.h:46
Aws::SESV2::Model::SuppressedDestinationAttributes::operator=
SuppressedDestinationAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SuppressedDestinationAttributes::SuppressedDestinationAttributes
SuppressedDestinationAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SuppressedDestinationAttributes::WithMessageId
SuppressedDestinationAttributes & WithMessageId(Aws::String &&value)
Definition: SuppressedDestinationAttributes.h:82
Aws::SESV2::Model::SuppressedDestinationAttributes::GetFeedbackId
const Aws::String & GetFeedbackId() const
Definition: SuppressedDestinationAttributes.h:95