AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IspPlacement.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint-email/model/PlacementStatistics.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PinpointEmail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINTEMAIL_API IspPlacement();
37 AWS_PINPOINTEMAIL_API IspPlacement(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINTEMAIL_API IspPlacement& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetIspName() const{ return m_ispName; }
47 inline bool IspNameHasBeenSet() const { return m_ispNameHasBeenSet; }
48 inline void SetIspName(const Aws::String& value) { m_ispNameHasBeenSet = true; m_ispName = value; }
49 inline void SetIspName(Aws::String&& value) { m_ispNameHasBeenSet = true; m_ispName = std::move(value); }
50 inline void SetIspName(const char* value) { m_ispNameHasBeenSet = true; m_ispName.assign(value); }
51 inline IspPlacement& WithIspName(const Aws::String& value) { SetIspName(value); return *this;}
52 inline IspPlacement& WithIspName(Aws::String&& value) { SetIspName(std::move(value)); return *this;}
53 inline IspPlacement& WithIspName(const char* value) { SetIspName(value); return *this;}
55
57
61 inline const PlacementStatistics& GetPlacementStatistics() const{ return m_placementStatistics; }
62 inline bool PlacementStatisticsHasBeenSet() const { return m_placementStatisticsHasBeenSet; }
63 inline void SetPlacementStatistics(const PlacementStatistics& value) { m_placementStatisticsHasBeenSet = true; m_placementStatistics = value; }
64 inline void SetPlacementStatistics(PlacementStatistics&& value) { m_placementStatisticsHasBeenSet = true; m_placementStatistics = std::move(value); }
66 inline IspPlacement& WithPlacementStatistics(PlacementStatistics&& value) { SetPlacementStatistics(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_ispName;
71 bool m_ispNameHasBeenSet = false;
72
73 PlacementStatistics m_placementStatistics;
74 bool m_placementStatisticsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace PinpointEmail
79} // namespace Aws
IspPlacement & WithIspName(const Aws::String &value)
void SetPlacementStatistics(const PlacementStatistics &value)
AWS_PINPOINTEMAIL_API IspPlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const PlacementStatistics & GetPlacementStatistics() const
const Aws::String & GetIspName() const
IspPlacement & WithIspName(const char *value)
AWS_PINPOINTEMAIL_API IspPlacement()
void SetIspName(Aws::String &&value)
AWS_PINPOINTEMAIL_API IspPlacement(Aws::Utils::Json::JsonView jsonValue)
void SetPlacementStatistics(PlacementStatistics &&value)
IspPlacement & WithIspName(Aws::String &&value)
IspPlacement & WithPlacementStatistics(PlacementStatistics &&value)
void SetIspName(const Aws::String &value)
IspPlacement & WithPlacementStatistics(const PlacementStatistics &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue