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/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/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 SESV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SESV2_API IspPlacement();
37 AWS_SESV2_API IspPlacement(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SESV2_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 SESV2
79} // namespace Aws
void SetIspName(const Aws::String &value)
IspPlacement & WithPlacementStatistics(PlacementStatistics &&value)
IspPlacement & WithIspName(const Aws::String &value)
void SetIspName(const char *value)
void SetPlacementStatistics(const PlacementStatistics &value)
const PlacementStatistics & GetPlacementStatistics() const
void SetPlacementStatistics(PlacementStatistics &&value)
IspPlacement & WithPlacementStatistics(const PlacementStatistics &value)
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)
IspPlacement & WithIspName(Aws::String &&value)
bool PlacementStatisticsHasBeenSet() const
void SetIspName(Aws::String &&value)
IspPlacement & WithIspName(const char *value)
const Aws::String & GetIspName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue