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/medialive/MediaLive_EXPORTS.h>
8 #include <aws/medialive/MediaLiveRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaLive
15 {
16 namespace Model
17 {
18 
19   /**
20    * Placeholder documentation for DescribeInputSecurityGroupRequest<p><h3>See
21    * Also:</h3>   <a
22    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroupRequest">AWS
23    * API Reference</a></p>
24    */
25   class AWS_MEDIALIVE_API DescribeInputSecurityGroupRequest : public MediaLiveRequest
26   {
27   public:
28     DescribeInputSecurityGroupRequest();
29 
30     // Service request name is the Operation name which will send this request out,
31     // each operation should has unique request name, so that we can get operation's name from this request.
32     // Note: this is not true for response, multiple operations may have the same response name,
33     // so we can not get operation's name from response.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "DescribeInputSecurityGroup"; }
35 
36     Aws::String SerializePayload() const override;
37 
38 
39     /**
40      * The id of the Input Security Group to describe
41      */
GetInputSecurityGroupId()42     inline const Aws::String& GetInputSecurityGroupId() const{ return m_inputSecurityGroupId; }
43 
44     /**
45      * The id of the Input Security Group to describe
46      */
InputSecurityGroupIdHasBeenSet()47     inline bool InputSecurityGroupIdHasBeenSet() const { return m_inputSecurityGroupIdHasBeenSet; }
48 
49     /**
50      * The id of the Input Security Group to describe
51      */
SetInputSecurityGroupId(const Aws::String & value)52     inline void SetInputSecurityGroupId(const Aws::String& value) { m_inputSecurityGroupIdHasBeenSet = true; m_inputSecurityGroupId = value; }
53 
54     /**
55      * The id of the Input Security Group to describe
56      */
SetInputSecurityGroupId(Aws::String && value)57     inline void SetInputSecurityGroupId(Aws::String&& value) { m_inputSecurityGroupIdHasBeenSet = true; m_inputSecurityGroupId = std::move(value); }
58 
59     /**
60      * The id of the Input Security Group to describe
61      */
SetInputSecurityGroupId(const char * value)62     inline void SetInputSecurityGroupId(const char* value) { m_inputSecurityGroupIdHasBeenSet = true; m_inputSecurityGroupId.assign(value); }
63 
64     /**
65      * The id of the Input Security Group to describe
66      */
WithInputSecurityGroupId(const Aws::String & value)67     inline DescribeInputSecurityGroupRequest& WithInputSecurityGroupId(const Aws::String& value) { SetInputSecurityGroupId(value); return *this;}
68 
69     /**
70      * The id of the Input Security Group to describe
71      */
WithInputSecurityGroupId(Aws::String && value)72     inline DescribeInputSecurityGroupRequest& WithInputSecurityGroupId(Aws::String&& value) { SetInputSecurityGroupId(std::move(value)); return *this;}
73 
74     /**
75      * The id of the Input Security Group to describe
76      */
WithInputSecurityGroupId(const char * value)77     inline DescribeInputSecurityGroupRequest& WithInputSecurityGroupId(const char* value) { SetInputSecurityGroupId(value); return *this;}
78 
79   private:
80 
81     Aws::String m_inputSecurityGroupId;
82     bool m_inputSecurityGroupIdHasBeenSet;
83   };
84 
85 } // namespace Model
86 } // namespace MediaLive
87 } // namespace Aws
88