AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Policy.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/InputPolicy.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 MediaConvert
22{
23namespace Model
24{
25
34 class Policy
35 {
36 public:
37 AWS_MEDIACONVERT_API Policy();
38 AWS_MEDIACONVERT_API Policy(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Policy& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const InputPolicy& GetHttpInputs() const{ return m_httpInputs; }
48 inline bool HttpInputsHasBeenSet() const { return m_httpInputsHasBeenSet; }
49 inline void SetHttpInputs(const InputPolicy& value) { m_httpInputsHasBeenSet = true; m_httpInputs = value; }
50 inline void SetHttpInputs(InputPolicy&& value) { m_httpInputsHasBeenSet = true; m_httpInputs = std::move(value); }
51 inline Policy& WithHttpInputs(const InputPolicy& value) { SetHttpInputs(value); return *this;}
52 inline Policy& WithHttpInputs(InputPolicy&& value) { SetHttpInputs(std::move(value)); return *this;}
54
56
59 inline const InputPolicy& GetHttpsInputs() const{ return m_httpsInputs; }
60 inline bool HttpsInputsHasBeenSet() const { return m_httpsInputsHasBeenSet; }
61 inline void SetHttpsInputs(const InputPolicy& value) { m_httpsInputsHasBeenSet = true; m_httpsInputs = value; }
62 inline void SetHttpsInputs(InputPolicy&& value) { m_httpsInputsHasBeenSet = true; m_httpsInputs = std::move(value); }
63 inline Policy& WithHttpsInputs(const InputPolicy& value) { SetHttpsInputs(value); return *this;}
64 inline Policy& WithHttpsInputs(InputPolicy&& value) { SetHttpsInputs(std::move(value)); return *this;}
66
68
71 inline const InputPolicy& GetS3Inputs() const{ return m_s3Inputs; }
72 inline bool S3InputsHasBeenSet() const { return m_s3InputsHasBeenSet; }
73 inline void SetS3Inputs(const InputPolicy& value) { m_s3InputsHasBeenSet = true; m_s3Inputs = value; }
74 inline void SetS3Inputs(InputPolicy&& value) { m_s3InputsHasBeenSet = true; m_s3Inputs = std::move(value); }
75 inline Policy& WithS3Inputs(const InputPolicy& value) { SetS3Inputs(value); return *this;}
76 inline Policy& WithS3Inputs(InputPolicy&& value) { SetS3Inputs(std::move(value)); return *this;}
78 private:
79
80 InputPolicy m_httpInputs;
81 bool m_httpInputsHasBeenSet = false;
82
83 InputPolicy m_httpsInputs;
84 bool m_httpsInputsHasBeenSet = false;
85
86 InputPolicy m_s3Inputs;
87 bool m_s3InputsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaConvert
92} // namespace Aws
void SetHttpsInputs(InputPolicy &&value)
Definition Policy.h:62
Policy & WithHttpsInputs(InputPolicy &&value)
Definition Policy.h:64
Policy & WithS3Inputs(const InputPolicy &value)
Definition Policy.h:75
Policy & WithHttpInputs(const InputPolicy &value)
Definition Policy.h:51
const InputPolicy & GetS3Inputs() const
Definition Policy.h:71
Policy & WithS3Inputs(InputPolicy &&value)
Definition Policy.h:76
bool S3InputsHasBeenSet() const
Definition Policy.h:72
const InputPolicy & GetHttpsInputs() const
Definition Policy.h:59
AWS_MEDIACONVERT_API Policy(Aws::Utils::Json::JsonView jsonValue)
void SetS3Inputs(InputPolicy &&value)
Definition Policy.h:74
AWS_MEDIACONVERT_API Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHttpInputs(const InputPolicy &value)
Definition Policy.h:49
const InputPolicy & GetHttpInputs() const
Definition Policy.h:47
void SetHttpInputs(InputPolicy &&value)
Definition Policy.h:50
bool HttpInputsHasBeenSet() const
Definition Policy.h:48
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
bool HttpsInputsHasBeenSet() const
Definition Policy.h:60
Policy & WithHttpInputs(InputPolicy &&value)
Definition Policy.h:52
Policy & WithHttpsInputs(const InputPolicy &value)
Definition Policy.h:63
AWS_MEDIACONVERT_API Policy()
void SetHttpsInputs(const InputPolicy &value)
Definition Policy.h:61
void SetS3Inputs(const InputPolicy &value)
Definition Policy.h:73
Aws::Utils::Json::JsonValue JsonValue