AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaStorageConfiguration.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisvideo/model/MediaStorageConfigurationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisVideo
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_KINESISVIDEO_API MediaStorageConfiguration();
44 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
52 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
53 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
54 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
55 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
56 inline MediaStorageConfiguration& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
57 inline MediaStorageConfiguration& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
58 inline MediaStorageConfiguration& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
60
62
65 inline const MediaStorageConfigurationStatus& GetStatus() const{ return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(const MediaStorageConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
68 inline void SetStatus(MediaStorageConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
70 inline MediaStorageConfiguration& WithStatus(MediaStorageConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_streamARN;
75 bool m_streamARNHasBeenSet = false;
76
78 bool m_statusHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace KinesisVideo
83} // namespace Aws
MediaStorageConfiguration & WithStatus(const MediaStorageConfigurationStatus &value)
void SetStatus(MediaStorageConfigurationStatus &&value)
MediaStorageConfiguration & WithStreamARN(const Aws::String &value)
AWS_KINESISVIDEO_API MediaStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const MediaStorageConfigurationStatus &value)
AWS_KINESISVIDEO_API MediaStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaStorageConfiguration & WithStatus(MediaStorageConfigurationStatus &&value)
MediaStorageConfiguration & WithStreamARN(const char *value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
const MediaStorageConfigurationStatus & GetStatus() const
MediaStorageConfiguration & WithStreamARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue