AWS SDK for C++  1.9.158
AWS SDK for C++
Policy.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
35  {
36  public:
37  Policy();
41 
42 
46  inline const InputPolicy& GetHttpInputs() const{ return m_httpInputs; }
47 
51  inline bool HttpInputsHasBeenSet() const { return m_httpInputsHasBeenSet; }
52 
56  inline void SetHttpInputs(const InputPolicy& value) { m_httpInputsHasBeenSet = true; m_httpInputs = value; }
57 
61  inline void SetHttpInputs(InputPolicy&& value) { m_httpInputsHasBeenSet = true; m_httpInputs = std::move(value); }
62 
66  inline Policy& WithHttpInputs(const InputPolicy& value) { SetHttpInputs(value); return *this;}
67 
71  inline Policy& WithHttpInputs(InputPolicy&& value) { SetHttpInputs(std::move(value)); return *this;}
72 
73 
77  inline const InputPolicy& GetHttpsInputs() const{ return m_httpsInputs; }
78 
82  inline bool HttpsInputsHasBeenSet() const { return m_httpsInputsHasBeenSet; }
83 
87  inline void SetHttpsInputs(const InputPolicy& value) { m_httpsInputsHasBeenSet = true; m_httpsInputs = value; }
88 
92  inline void SetHttpsInputs(InputPolicy&& value) { m_httpsInputsHasBeenSet = true; m_httpsInputs = std::move(value); }
93 
97  inline Policy& WithHttpsInputs(const InputPolicy& value) { SetHttpsInputs(value); return *this;}
98 
102  inline Policy& WithHttpsInputs(InputPolicy&& value) { SetHttpsInputs(std::move(value)); return *this;}
103 
104 
108  inline const InputPolicy& GetS3Inputs() const{ return m_s3Inputs; }
109 
113  inline bool S3InputsHasBeenSet() const { return m_s3InputsHasBeenSet; }
114 
118  inline void SetS3Inputs(const InputPolicy& value) { m_s3InputsHasBeenSet = true; m_s3Inputs = value; }
119 
123  inline void SetS3Inputs(InputPolicy&& value) { m_s3InputsHasBeenSet = true; m_s3Inputs = std::move(value); }
124 
128  inline Policy& WithS3Inputs(const InputPolicy& value) { SetS3Inputs(value); return *this;}
129 
133  inline Policy& WithS3Inputs(InputPolicy&& value) { SetS3Inputs(std::move(value)); return *this;}
134 
135  private:
136 
137  InputPolicy m_httpInputs;
138  bool m_httpInputsHasBeenSet;
139 
140  InputPolicy m_httpsInputs;
141  bool m_httpsInputsHasBeenSet;
142 
143  InputPolicy m_s3Inputs;
144  bool m_s3InputsHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace MediaConvert
149 } // namespace Aws
Aws::MediaConvert::Model::Policy::GetHttpsInputs
const InputPolicy & GetHttpsInputs() const
Definition: Policy.h:77
Aws::MediaConvert::Model::Policy::SetS3Inputs
void SetS3Inputs(InputPolicy &&value)
Definition: Policy.h:123
Aws::MediaConvert::Model::Policy::HttpInputsHasBeenSet
bool HttpInputsHasBeenSet() const
Definition: Policy.h:51
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::Policy::SetHttpInputs
void SetHttpInputs(InputPolicy &&value)
Definition: Policy.h:61
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::Policy::WithHttpsInputs
Policy & WithHttpsInputs(const InputPolicy &value)
Definition: Policy.h:97
Aws::MediaConvert::Model::Policy::WithS3Inputs
Policy & WithS3Inputs(const InputPolicy &value)
Definition: Policy.h:128
Aws::MediaConvert::Model::Policy::SetHttpsInputs
void SetHttpsInputs(const InputPolicy &value)
Definition: Policy.h:87
Aws::MediaConvert::Model::Policy::SetS3Inputs
void SetS3Inputs(const InputPolicy &value)
Definition: Policy.h:118
Aws::MediaConvert::Model::Policy::SetHttpsInputs
void SetHttpsInputs(InputPolicy &&value)
Definition: Policy.h:92
Aws::MediaConvert::Model::Policy::S3InputsHasBeenSet
bool S3InputsHasBeenSet() const
Definition: Policy.h:113
Aws::MediaConvert::Model::Policy::WithHttpInputs
Policy & WithHttpInputs(InputPolicy &&value)
Definition: Policy.h:71
Aws::MediaConvert::Model::Policy::WithHttpsInputs
Policy & WithHttpsInputs(InputPolicy &&value)
Definition: Policy.h:102
Aws::MediaConvert::Model::Policy::SetHttpInputs
void SetHttpInputs(const InputPolicy &value)
Definition: Policy.h:56
InputPolicy.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Policy::GetS3Inputs
const InputPolicy & GetS3Inputs() const
Definition: Policy.h:108
Aws::MediaConvert::Model::InputPolicy
InputPolicy
Definition: InputPolicy.h:17
Aws::MediaConvert::Model::Policy::Policy
Policy()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Policy::operator=
Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Policy
Definition: Policy.h:35
Aws::MediaConvert::Model::Policy::HttpsInputsHasBeenSet
bool HttpsInputsHasBeenSet() const
Definition: Policy.h:82
Aws::MediaConvert::Model::Policy::WithHttpInputs
Policy & WithHttpInputs(const InputPolicy &value)
Definition: Policy.h:66
Aws::MediaConvert::Model::Policy::WithS3Inputs
Policy & WithS3Inputs(InputPolicy &&value)
Definition: Policy.h:133
Aws::MediaConvert::Model::Policy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::Policy::Policy
Policy(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Policy::GetHttpInputs
const InputPolicy & GetHttpInputs() const
Definition: Policy.h:46