/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaConnect { namespace Model { class AWS_MEDIACONNECT_API UpdateFlowEntitlementResult { public: UpdateFlowEntitlementResult(); UpdateFlowEntitlementResult(const Aws::AmazonWebServiceResult& result); UpdateFlowEntitlementResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Entitlement& GetEntitlement() const{ return m_entitlement; } inline void SetEntitlement(const Entitlement& value) { m_entitlement = value; } inline void SetEntitlement(Entitlement&& value) { m_entitlement = std::move(value); } inline UpdateFlowEntitlementResult& WithEntitlement(const Entitlement& value) { SetEntitlement(value); return *this;} inline UpdateFlowEntitlementResult& WithEntitlement(Entitlement&& value) { SetEntitlement(std::move(value)); return *this;} /** * The ARN of the flow that this entitlement was granted on. */ inline const Aws::String& GetFlowArn() const{ return m_flowArn; } /** * The ARN of the flow that this entitlement was granted on. */ inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; } /** * The ARN of the flow that this entitlement was granted on. */ inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); } /** * The ARN of the flow that this entitlement was granted on. */ inline void SetFlowArn(const char* value) { m_flowArn.assign(value); } /** * The ARN of the flow that this entitlement was granted on. */ inline UpdateFlowEntitlementResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} /** * The ARN of the flow that this entitlement was granted on. */ inline UpdateFlowEntitlementResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} /** * The ARN of the flow that this entitlement was granted on. */ inline UpdateFlowEntitlementResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} private: Entitlement m_entitlement; Aws::String m_flowArn; }; } // namespace Model } // namespace MediaConnect } // namespace Aws