AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
IspPlacement.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9#include <aws/sesv2/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 SESV2 {
21namespace Model {
22
30 public:
31 AWS_SESV2_API IspPlacement() = default;
32 AWS_SESV2_API IspPlacement(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SESV2_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 SESV2
82} // namespace Aws
IspPlacement & WithIspName(IspNameT &&value)
const PlacementStatistics & GetPlacementStatistics() const
AWS_SESV2_API IspPlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API IspPlacement(Aws::Utils::Json::JsonView jsonValue)
bool PlacementStatisticsHasBeenSet() const
AWS_SESV2_API IspPlacement()=default
IspPlacement & WithPlacementStatistics(PlacementStatisticsT &&value)
void SetPlacementStatistics(PlacementStatisticsT &&value)
void SetIspName(IspNameT &&value)
const Aws::String & GetIspName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue