AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudienceSizeConfig.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/AudienceSizeType.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 CleanRoomsML
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_CLEANROOMSML_API AudienceSizeConfig();
44 AWS_CLEANROOMSML_API AudienceSizeConfig(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const AudienceSizeType& GetAudienceSizeType() const{ return m_audienceSizeType; }
55 inline bool AudienceSizeTypeHasBeenSet() const { return m_audienceSizeTypeHasBeenSet; }
56 inline void SetAudienceSizeType(const AudienceSizeType& value) { m_audienceSizeTypeHasBeenSet = true; m_audienceSizeType = value; }
57 inline void SetAudienceSizeType(AudienceSizeType&& value) { m_audienceSizeTypeHasBeenSet = true; m_audienceSizeType = std::move(value); }
58 inline AudienceSizeConfig& WithAudienceSizeType(const AudienceSizeType& value) { SetAudienceSizeType(value); return *this;}
59 inline AudienceSizeConfig& WithAudienceSizeType(AudienceSizeType&& value) { SetAudienceSizeType(std::move(value)); return *this;}
61
63
66 inline const Aws::Vector<int>& GetAudienceSizeBins() const{ return m_audienceSizeBins; }
67 inline bool AudienceSizeBinsHasBeenSet() const { return m_audienceSizeBinsHasBeenSet; }
68 inline void SetAudienceSizeBins(const Aws::Vector<int>& value) { m_audienceSizeBinsHasBeenSet = true; m_audienceSizeBins = value; }
69 inline void SetAudienceSizeBins(Aws::Vector<int>&& value) { m_audienceSizeBinsHasBeenSet = true; m_audienceSizeBins = std::move(value); }
70 inline AudienceSizeConfig& WithAudienceSizeBins(const Aws::Vector<int>& value) { SetAudienceSizeBins(value); return *this;}
71 inline AudienceSizeConfig& WithAudienceSizeBins(Aws::Vector<int>&& value) { SetAudienceSizeBins(std::move(value)); return *this;}
72 inline AudienceSizeConfig& AddAudienceSizeBins(int value) { m_audienceSizeBinsHasBeenSet = true; m_audienceSizeBins.push_back(value); return *this; }
74 private:
75
76 AudienceSizeType m_audienceSizeType;
77 bool m_audienceSizeTypeHasBeenSet = false;
78
79 Aws::Vector<int> m_audienceSizeBins;
80 bool m_audienceSizeBinsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CleanRoomsML
85} // namespace Aws
void SetAudienceSizeType(const AudienceSizeType &value)
AWS_CLEANROOMSML_API AudienceSizeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAudienceSizeType(AudienceSizeType &&value)
AudienceSizeConfig & AddAudienceSizeBins(int value)
AudienceSizeConfig & WithAudienceSizeType(AudienceSizeType &&value)
AWS_CLEANROOMSML_API AudienceSizeConfig(Aws::Utils::Json::JsonView jsonValue)
const AudienceSizeType & GetAudienceSizeType() const
void SetAudienceSizeBins(const Aws::Vector< int > &value)
void SetAudienceSizeBins(Aws::Vector< int > &&value)
AudienceSizeConfig & WithAudienceSizeType(const AudienceSizeType &value)
const Aws::Vector< int > & GetAudienceSizeBins() const
AudienceSizeConfig & WithAudienceSizeBins(const Aws::Vector< int > &value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AudienceSizeConfig & WithAudienceSizeBins(Aws::Vector< int > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue