AWS SDK for C++  1.8.95
AWS SDK for C++
DeleteStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace KinesisVideo
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteStream"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
39 
43  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
44 
48  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
49 
53  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
54 
58  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
59 
63  inline DeleteStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
64 
68  inline DeleteStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
69 
73  inline DeleteStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
74 
75 
83  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
84 
92  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
93 
101  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
102 
110  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
111 
119  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
120 
128  inline DeleteStreamRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
129 
137  inline DeleteStreamRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
138 
146  inline DeleteStreamRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
147 
148  private:
149 
150  Aws::String m_streamARN;
151  bool m_streamARNHasBeenSet;
152 
153  Aws::String m_currentVersion;
154  bool m_currentVersionHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace KinesisVideo
159 } // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteStreamRequest & WithCurrentVersion(const Aws::String &value)
DeleteStreamRequest & WithCurrentVersion(const char *value)
DeleteStreamRequest & WithCurrentVersion(Aws::String &&value)
#define AWS_KINESISVIDEO_API
void SetCurrentVersion(const Aws::String &value)
DeleteStreamRequest & WithStreamARN(Aws::String &&value)
DeleteStreamRequest & WithStreamARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteStreamRequest & WithStreamARN(const char *value)