AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeInputRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaLive
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeInput"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetInputId() const{ return m_inputId; }
42 
46  inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
47 
51  inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
52 
56  inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
57 
61  inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
62 
66  inline DescribeInputRequest& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
67 
71  inline DescribeInputRequest& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
72 
76  inline DescribeInputRequest& WithInputId(const char* value) { SetInputId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_inputId;
81  bool m_inputIdHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace MediaLive
86 } // namespace Aws
DescribeInputRequest & WithInputId(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeInputRequest & WithInputId(Aws::String &&value)
#define AWS_MEDIALIVE_API
DescribeInputRequest & WithInputId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97