AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudienceSize.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/AudienceSizeType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRoomsML
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLEANROOMSML_API AudienceSize();
36 AWS_CLEANROOMSML_API AudienceSize(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLEANROOMSML_API AudienceSize& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const AudienceSizeType& GetType() const{ return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(const AudienceSizeType& value) { m_typeHasBeenSet = true; m_type = value; }
52 inline void SetType(AudienceSizeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
53 inline AudienceSize& WithType(const AudienceSizeType& value) { SetType(value); return *this;}
54 inline AudienceSize& WithType(AudienceSizeType&& value) { SetType(std::move(value)); return *this;}
56
58
61 inline int GetValue() const{ return m_value; }
62 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
63 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
64 inline AudienceSize& WithValue(int value) { SetValue(value); return *this;}
66 private:
67
68 AudienceSizeType m_type;
69 bool m_typeHasBeenSet = false;
70
71 int m_value;
72 bool m_valueHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CleanRoomsML
77} // namespace Aws
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const AudienceSizeType &value)
void SetType(AudienceSizeType &&value)
AWS_CLEANROOMSML_API AudienceSize(Aws::Utils::Json::JsonView jsonValue)
AudienceSize & WithValue(int value)
AWS_CLEANROOMSML_API AudienceSize()
const AudienceSizeType & GetType() const
AWS_CLEANROOMSML_API AudienceSize & operator=(Aws::Utils::Json::JsonView jsonValue)
AudienceSize & WithType(const AudienceSizeType &value)
AudienceSize & WithType(AudienceSizeType &&value)
Aws::Utils::Json::JsonValue JsonValue