AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeInputDeviceRequest.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 
26  {
27  public:
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.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeInputDevice"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetInputDeviceId() const{ return m_inputDeviceId; }
43 
47  inline bool InputDeviceIdHasBeenSet() const { return m_inputDeviceIdHasBeenSet; }
48 
52  inline void SetInputDeviceId(const Aws::String& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = value; }
53 
57  inline void SetInputDeviceId(Aws::String&& value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId = std::move(value); }
58 
62  inline void SetInputDeviceId(const char* value) { m_inputDeviceIdHasBeenSet = true; m_inputDeviceId.assign(value); }
63 
67  inline DescribeInputDeviceRequest& WithInputDeviceId(const Aws::String& value) { SetInputDeviceId(value); return *this;}
68 
72  inline DescribeInputDeviceRequest& WithInputDeviceId(Aws::String&& value) { SetInputDeviceId(std::move(value)); return *this;}
73 
77  inline DescribeInputDeviceRequest& WithInputDeviceId(const char* value) { SetInputDeviceId(value); return *this;}
78 
79  private:
80 
81  Aws::String m_inputDeviceId;
82  bool m_inputDeviceIdHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace MediaLive
87 } // namespace Aws
Aws::MediaLive::Model::DescribeInputDeviceRequest::WithInputDeviceId
DescribeInputDeviceRequest & WithInputDeviceId(const char *value)
Definition: DescribeInputDeviceRequest.h:77
Aws::MediaLive::Model::DescribeInputDeviceRequest::DescribeInputDeviceRequest
DescribeInputDeviceRequest()
Aws::MediaLive::Model::DescribeInputDeviceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::DescribeInputDeviceRequest::SetInputDeviceId
void SetInputDeviceId(const Aws::String &value)
Definition: DescribeInputDeviceRequest.h:52
Aws::MediaLive::Model::DescribeInputDeviceRequest::SetInputDeviceId
void SetInputDeviceId(const char *value)
Definition: DescribeInputDeviceRequest.h:62
Aws::MediaLive::Model::DescribeInputDeviceRequest::WithInputDeviceId
DescribeInputDeviceRequest & WithInputDeviceId(const Aws::String &value)
Definition: DescribeInputDeviceRequest.h:67
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::DescribeInputDeviceRequest::InputDeviceIdHasBeenSet
bool InputDeviceIdHasBeenSet() const
Definition: DescribeInputDeviceRequest.h:47
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::DescribeInputDeviceRequest::GetInputDeviceId
const Aws::String & GetInputDeviceId() const
Definition: DescribeInputDeviceRequest.h:42
Aws::MediaLive::Model::DescribeInputDeviceRequest::WithInputDeviceId
DescribeInputDeviceRequest & WithInputDeviceId(Aws::String &&value)
Definition: DescribeInputDeviceRequest.h:72
AWSString.h
Aws::MediaLive::Model::DescribeInputDeviceRequest::SetInputDeviceId
void SetInputDeviceId(Aws::String &&value)
Definition: DescribeInputDeviceRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::DescribeInputDeviceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeInputDeviceRequest.h:34
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::DescribeInputDeviceRequest
Definition: DescribeInputDeviceRequest.h:26
MediaLive_EXPORTS.h