AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailSuppression.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/FillPolicy.h>
9#include <aws/mediatailor/model/Mode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaTailor
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_MEDIATAILOR_API AvailSuppression();
40 AWS_MEDIATAILOR_API AvailSuppression(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIATAILOR_API AvailSuppression& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const FillPolicy& GetFillPolicy() const{ return m_fillPolicy; }
53 inline bool FillPolicyHasBeenSet() const { return m_fillPolicyHasBeenSet; }
54 inline void SetFillPolicy(const FillPolicy& value) { m_fillPolicyHasBeenSet = true; m_fillPolicy = value; }
55 inline void SetFillPolicy(FillPolicy&& value) { m_fillPolicyHasBeenSet = true; m_fillPolicy = std::move(value); }
56 inline AvailSuppression& WithFillPolicy(const FillPolicy& value) { SetFillPolicy(value); return *this;}
57 inline AvailSuppression& WithFillPolicy(FillPolicy&& value) { SetFillPolicy(std::move(value)); return *this;}
59
61
70 inline const Mode& GetMode() const{ return m_mode; }
71 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
72 inline void SetMode(const Mode& value) { m_modeHasBeenSet = true; m_mode = value; }
73 inline void SetMode(Mode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
74 inline AvailSuppression& WithMode(const Mode& value) { SetMode(value); return *this;}
75 inline AvailSuppression& WithMode(Mode&& value) { SetMode(std::move(value)); return *this;}
77
79
89 inline const Aws::String& GetValue() const{ return m_value; }
90 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
91 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
92 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
93 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
94 inline AvailSuppression& WithValue(const Aws::String& value) { SetValue(value); return *this;}
95 inline AvailSuppression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
96 inline AvailSuppression& WithValue(const char* value) { SetValue(value); return *this;}
98 private:
99
100 FillPolicy m_fillPolicy;
101 bool m_fillPolicyHasBeenSet = false;
102
103 Mode m_mode;
104 bool m_modeHasBeenSet = false;
105
106 Aws::String m_value;
107 bool m_valueHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MediaTailor
112} // namespace Aws
AvailSuppression & WithValue(const Aws::String &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
AvailSuppression & WithMode(const Mode &value)
AvailSuppression & WithMode(Mode &&value)
AvailSuppression & WithValue(Aws::String &&value)
AvailSuppression & WithValue(const char *value)
AWS_MEDIATAILOR_API AvailSuppression & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIATAILOR_API AvailSuppression(Aws::Utils::Json::JsonView jsonValue)
AvailSuppression & WithFillPolicy(FillPolicy &&value)
void SetValue(const Aws::String &value)
AvailSuppression & WithFillPolicy(const FillPolicy &value)
void SetFillPolicy(const FillPolicy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue