AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IspPlacement.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9#include <aws/pinpoint-email/model/PlacementStatistics.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PinpointEmail {
21namespace Model {
22
30 public:
31 AWS_PINPOINTEMAIL_API IspPlacement() = default;
32 AWS_PINPOINTEMAIL_API IspPlacement(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PINPOINTEMAIL_API IspPlacement& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetIspName() const { return m_ispName; }
41 inline bool IspNameHasBeenSet() const { return m_ispNameHasBeenSet; }
42 template <typename IspNameT = Aws::String>
43 void SetIspName(IspNameT&& value) {
44 m_ispNameHasBeenSet = true;
45 m_ispName = std::forward<IspNameT>(value);
46 }
47 template <typename IspNameT = Aws::String>
48 IspPlacement& WithIspName(IspNameT&& value) {
49 SetIspName(std::forward<IspNameT>(value));
50 return *this;
51 }
53
55
59 inline const PlacementStatistics& GetPlacementStatistics() const { return m_placementStatistics; }
60 inline bool PlacementStatisticsHasBeenSet() const { return m_placementStatisticsHasBeenSet; }
61 template <typename PlacementStatisticsT = PlacementStatistics>
62 void SetPlacementStatistics(PlacementStatisticsT&& value) {
63 m_placementStatisticsHasBeenSet = true;
64 m_placementStatistics = std::forward<PlacementStatisticsT>(value);
65 }
66 template <typename PlacementStatisticsT = PlacementStatistics>
67 IspPlacement& WithPlacementStatistics(PlacementStatisticsT&& value) {
68 SetPlacementStatistics(std::forward<PlacementStatisticsT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_ispName;
74
75 PlacementStatistics m_placementStatistics;
76 bool m_ispNameHasBeenSet = false;
77 bool m_placementStatisticsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace PinpointEmail
82} // namespace Aws
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(IspNameT &&value)
IspPlacement & WithPlacementStatistics(PlacementStatisticsT &&value)
void SetPlacementStatistics(PlacementStatisticsT &&value)
AWS_PINPOINTEMAIL_API IspPlacement(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API IspPlacement()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue