AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IspNameT = Aws::String>
49 void SetIspName(IspNameT&& value) { m_ispNameHasBeenSet = true; m_ispName = std::forward<IspNameT>(value); }
50 template<typename IspNameT = Aws::String>
51 IspPlacement& WithIspName(IspNameT&& value) { SetIspName(std::forward<IspNameT>(value)); return *this;}
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) { m_placementStatisticsHasBeenSet = true; m_placementStatistics = std::forward<PlacementStatisticsT>(value); }
63 template<typename PlacementStatisticsT = PlacementStatistics>
64 IspPlacement& WithPlacementStatistics(PlacementStatisticsT&& value) { SetPlacementStatistics(std::forward<PlacementStatisticsT>(value)); return *this;}
66 private:
67
68 Aws::String m_ispName;
69 bool m_ispNameHasBeenSet = false;
70
71 PlacementStatistics m_placementStatistics;
72 bool m_placementStatisticsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace PinpointEmail
77} // 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