AWS SDK for C++  1.9.68
AWS SDK for C++
InputDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaLive
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const Aws::String& GetStreamName() const{ return m_streamName; }
46 
52  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
53 
59  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
60 
66  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
67 
73  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
74 
80  inline InputDestinationRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
81 
87  inline InputDestinationRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
88 
94  inline InputDestinationRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
95 
96  private:
97 
98  Aws::String m_streamName;
99  bool m_streamNameHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace MediaLive
104 } // namespace Aws
Aws::MediaLive::Model::InputDestinationRequest::SetStreamName
void SetStreamName(const char *value)
Definition: InputDestinationRequest.h:73
Aws::MediaLive::Model::InputDestinationRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: InputDestinationRequest.h:59
Aws::MediaLive::Model::InputDestinationRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: InputDestinationRequest.h:45
Aws::MediaLive::Model::InputDestinationRequest::InputDestinationRequest
InputDestinationRequest()
Aws::MediaLive::Model::InputDestinationRequest::operator=
InputDestinationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaLive::Model::InputDestinationRequest
Definition: InputDestinationRequest.h:32
Aws::MediaLive::Model::InputDestinationRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: InputDestinationRequest.h:52
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::InputDestinationRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::InputDestinationRequest::WithStreamName
InputDestinationRequest & WithStreamName(const Aws::String &value)
Definition: InputDestinationRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::InputDestinationRequest::WithStreamName
InputDestinationRequest & WithStreamName(Aws::String &&value)
Definition: InputDestinationRequest.h:87
Aws::MediaLive::Model::InputDestinationRequest::InputDestinationRequest
InputDestinationRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaLive::Model::InputDestinationRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: InputDestinationRequest.h:66
Aws::MediaLive::Model::InputDestinationRequest::WithStreamName
InputDestinationRequest & WithStreamName(const char *value)
Definition: InputDestinationRequest.h:94
MediaLive_EXPORTS.h