1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/mediaconnect/MediaConnect_EXPORTS.h> 8 #include <aws/mediaconnect/MediaConnectRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace MediaConnect 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_MEDIACONNECT_API DescribeOfferingRequest : public MediaConnectRequest 22 { 23 public: 24 DescribeOfferingRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DescribeOffering"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * The Amazon Resource Name (ARN) of the offering. 37 */ GetOfferingArn()38 inline const Aws::String& GetOfferingArn() const{ return m_offeringArn; } 39 40 /** 41 * The Amazon Resource Name (ARN) of the offering. 42 */ OfferingArnHasBeenSet()43 inline bool OfferingArnHasBeenSet() const { return m_offeringArnHasBeenSet; } 44 45 /** 46 * The Amazon Resource Name (ARN) of the offering. 47 */ SetOfferingArn(const Aws::String & value)48 inline void SetOfferingArn(const Aws::String& value) { m_offeringArnHasBeenSet = true; m_offeringArn = value; } 49 50 /** 51 * The Amazon Resource Name (ARN) of the offering. 52 */ SetOfferingArn(Aws::String && value)53 inline void SetOfferingArn(Aws::String&& value) { m_offeringArnHasBeenSet = true; m_offeringArn = std::move(value); } 54 55 /** 56 * The Amazon Resource Name (ARN) of the offering. 57 */ SetOfferingArn(const char * value)58 inline void SetOfferingArn(const char* value) { m_offeringArnHasBeenSet = true; m_offeringArn.assign(value); } 59 60 /** 61 * The Amazon Resource Name (ARN) of the offering. 62 */ WithOfferingArn(const Aws::String & value)63 inline DescribeOfferingRequest& WithOfferingArn(const Aws::String& value) { SetOfferingArn(value); return *this;} 64 65 /** 66 * The Amazon Resource Name (ARN) of the offering. 67 */ WithOfferingArn(Aws::String && value)68 inline DescribeOfferingRequest& WithOfferingArn(Aws::String&& value) { SetOfferingArn(std::move(value)); return *this;} 69 70 /** 71 * The Amazon Resource Name (ARN) of the offering. 72 */ WithOfferingArn(const char * value)73 inline DescribeOfferingRequest& WithOfferingArn(const char* value) { SetOfferingArn(value); return *this;} 74 75 private: 76 77 Aws::String m_offeringArn; 78 bool m_offeringArnHasBeenSet; 79 }; 80 81 } // namespace Model 82 } // namespace MediaConnect 83 } // namespace Aws 84