AWS SDK for C++  1.8.95
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:
37  Aws::Utils::Json::JsonValue Jsonize() const;
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
InputDestinationRequest & WithStreamName(const char *value)
InputDestinationRequest & WithStreamName(const Aws::String &value)
#define AWS_MEDIALIVE_API
InputDestinationRequest & WithStreamName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97