AWS SDK for C++  1.9.160
AWS SDK for C++
InboxPlacementTrackingOption.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 
36  {
37  public:
42 
43 
47  inline bool GetGlobal() const{ return m_global; }
48 
52  inline bool GlobalHasBeenSet() const { return m_globalHasBeenSet; }
53 
57  inline void SetGlobal(bool value) { m_globalHasBeenSet = true; m_global = value; }
58 
62  inline InboxPlacementTrackingOption& WithGlobal(bool value) { SetGlobal(value); return *this;}
63 
64 
69  inline const Aws::Vector<Aws::String>& GetTrackedIsps() const{ return m_trackedIsps; }
70 
75  inline bool TrackedIspsHasBeenSet() const { return m_trackedIspsHasBeenSet; }
76 
81  inline void SetTrackedIsps(const Aws::Vector<Aws::String>& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = value; }
82 
87  inline void SetTrackedIsps(Aws::Vector<Aws::String>&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = std::move(value); }
88 
93  inline InboxPlacementTrackingOption& WithTrackedIsps(const Aws::Vector<Aws::String>& value) { SetTrackedIsps(value); return *this;}
94 
99  inline InboxPlacementTrackingOption& WithTrackedIsps(Aws::Vector<Aws::String>&& value) { SetTrackedIsps(std::move(value)); return *this;}
100 
105  inline InboxPlacementTrackingOption& AddTrackedIsps(const Aws::String& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; }
106 
111  inline InboxPlacementTrackingOption& AddTrackedIsps(Aws::String&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(std::move(value)); return *this; }
112 
117  inline InboxPlacementTrackingOption& AddTrackedIsps(const char* value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; }
118 
119  private:
120 
121  bool m_global;
122  bool m_globalHasBeenSet;
123 
124  Aws::Vector<Aws::String> m_trackedIsps;
125  bool m_trackedIspsHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace SESV2
130 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::InboxPlacementTrackingOption::AddTrackedIsps
InboxPlacementTrackingOption & AddTrackedIsps(Aws::String &&value)
Definition: InboxPlacementTrackingOption.h:111
Aws::SESV2::Model::InboxPlacementTrackingOption::SetTrackedIsps
void SetTrackedIsps(Aws::Vector< Aws::String > &&value)
Definition: InboxPlacementTrackingOption.h:87
Aws::SESV2::Model::InboxPlacementTrackingOption::WithGlobal
InboxPlacementTrackingOption & WithGlobal(bool value)
Definition: InboxPlacementTrackingOption.h:62
Aws::SESV2::Model::InboxPlacementTrackingOption::operator=
InboxPlacementTrackingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::InboxPlacementTrackingOption::WithTrackedIsps
InboxPlacementTrackingOption & WithTrackedIsps(Aws::Vector< Aws::String > &&value)
Definition: InboxPlacementTrackingOption.h:99
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::InboxPlacementTrackingOption::AddTrackedIsps
InboxPlacementTrackingOption & AddTrackedIsps(const char *value)
Definition: InboxPlacementTrackingOption.h:117
Aws::SESV2::Model::InboxPlacementTrackingOption::SetTrackedIsps
void SetTrackedIsps(const Aws::Vector< Aws::String > &value)
Definition: InboxPlacementTrackingOption.h:81
AWSVector.h
Aws::SESV2::Model::InboxPlacementTrackingOption::InboxPlacementTrackingOption
InboxPlacementTrackingOption()
Aws::SESV2::Model::InboxPlacementTrackingOption::WithTrackedIsps
InboxPlacementTrackingOption & WithTrackedIsps(const Aws::Vector< Aws::String > &value)
Definition: InboxPlacementTrackingOption.h:93
Aws::SESV2::Model::InboxPlacementTrackingOption::GetTrackedIsps
const Aws::Vector< Aws::String > & GetTrackedIsps() const
Definition: InboxPlacementTrackingOption.h:69
Aws::SESV2::Model::InboxPlacementTrackingOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::InboxPlacementTrackingOption::SetGlobal
void SetGlobal(bool value)
Definition: InboxPlacementTrackingOption.h:57
Aws::SESV2::Model::InboxPlacementTrackingOption::InboxPlacementTrackingOption
InboxPlacementTrackingOption(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::InboxPlacementTrackingOption
Definition: InboxPlacementTrackingOption.h:36
Aws::SESV2::Model::InboxPlacementTrackingOption::AddTrackedIsps
InboxPlacementTrackingOption & AddTrackedIsps(const Aws::String &value)
Definition: InboxPlacementTrackingOption.h:105
Aws::SESV2::Model::InboxPlacementTrackingOption::GlobalHasBeenSet
bool GlobalHasBeenSet() const
Definition: InboxPlacementTrackingOption.h:52
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::InboxPlacementTrackingOption::TrackedIspsHasBeenSet
bool TrackedIspsHasBeenSet() const
Definition: InboxPlacementTrackingOption.h:75
Aws::SESV2::Model::InboxPlacementTrackingOption::GetGlobal
bool GetGlobal() const
Definition: InboxPlacementTrackingOption.h:47