AWS SDK for C++  1.9.160
AWS SDK for C++
PutPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaConvert
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const Policy& GetPolicy() const{ return m_policy; }
41 
47  inline void SetPolicy(const Policy& value) { m_policy = value; }
48 
54  inline void SetPolicy(Policy&& value) { m_policy = std::move(value); }
55 
61  inline PutPolicyResult& WithPolicy(const Policy& value) { SetPolicy(value); return *this;}
62 
68  inline PutPolicyResult& WithPolicy(Policy&& value) { SetPolicy(std::move(value)); return *this;}
69 
70  private:
71 
72  Policy m_policy;
73  };
74 
75 } // namespace Model
76 } // namespace MediaConvert
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaConvert::Model::PutPolicyResult
Definition: PutPolicyResult.h:28
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::PutPolicyResult::GetPolicy
const Policy & GetPolicy() const
Definition: PutPolicyResult.h:40
Aws::MediaConvert::Model::PutPolicyResult::SetPolicy
void SetPolicy(const Policy &value)
Definition: PutPolicyResult.h:47
Policy.h
Aws::MediaConvert::Model::PutPolicyResult::operator=
PutPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::PutPolicyResult::PutPolicyResult
PutPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::PutPolicyResult::PutPolicyResult
PutPolicyResult()
Aws::MediaConvert::Model::PutPolicyResult::WithPolicy
PutPolicyResult & WithPolicy(const Policy &value)
Definition: PutPolicyResult.h:61
Aws::MediaConvert::Model::PutPolicyResult::SetPolicy
void SetPolicy(Policy &&value)
Definition: PutPolicyResult.h:54
Aws::MediaConvert::Model::PutPolicyResult::WithPolicy
PutPolicyResult & WithPolicy(Policy &&value)
Definition: PutPolicyResult.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Policy
Definition: Policy.h:35