AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSelector.h
1
6#pragma once
7#include <aws/kinesis-video-media/KinesisVideoMedia_EXPORTS.h>
8#include <aws/kinesis-video-media/model/StartSelectorType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisVideoMedia
24{
25namespace Model
26{
27
44 {
45 public:
46 AWS_KINESISVIDEOMEDIA_API StartSelector();
47 AWS_KINESISVIDEOMEDIA_API StartSelector(Aws::Utils::Json::JsonView jsonValue);
48 AWS_KINESISVIDEOMEDIA_API StartSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_KINESISVIDEOMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
67 inline const StartSelectorType& GetStartSelectorType() const{ return m_startSelectorType; }
68 inline bool StartSelectorTypeHasBeenSet() const { return m_startSelectorTypeHasBeenSet; }
69 inline void SetStartSelectorType(const StartSelectorType& value) { m_startSelectorTypeHasBeenSet = true; m_startSelectorType = value; }
70 inline void SetStartSelectorType(StartSelectorType&& value) { m_startSelectorTypeHasBeenSet = true; m_startSelectorType = std::move(value); }
71 inline StartSelector& WithStartSelectorType(const StartSelectorType& value) { SetStartSelectorType(value); return *this;}
72 inline StartSelector& WithStartSelectorType(StartSelectorType&& value) { SetStartSelectorType(std::move(value)); return *this;}
74
76
80 inline const Aws::String& GetAfterFragmentNumber() const{ return m_afterFragmentNumber; }
81 inline bool AfterFragmentNumberHasBeenSet() const { return m_afterFragmentNumberHasBeenSet; }
82 inline void SetAfterFragmentNumber(const Aws::String& value) { m_afterFragmentNumberHasBeenSet = true; m_afterFragmentNumber = value; }
83 inline void SetAfterFragmentNumber(Aws::String&& value) { m_afterFragmentNumberHasBeenSet = true; m_afterFragmentNumber = std::move(value); }
84 inline void SetAfterFragmentNumber(const char* value) { m_afterFragmentNumberHasBeenSet = true; m_afterFragmentNumber.assign(value); }
85 inline StartSelector& WithAfterFragmentNumber(const Aws::String& value) { SetAfterFragmentNumber(value); return *this;}
86 inline StartSelector& WithAfterFragmentNumber(Aws::String&& value) { SetAfterFragmentNumber(std::move(value)); return *this;}
87 inline StartSelector& WithAfterFragmentNumber(const char* value) { SetAfterFragmentNumber(value); return *this;}
89
91
97 inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
98 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
99 inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
100 inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
101 inline StartSelector& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
102 inline StartSelector& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
104
106
111 inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; }
112 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
113 inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; }
114 inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); }
115 inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); }
116 inline StartSelector& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;}
117 inline StartSelector& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;}
118 inline StartSelector& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;}
120 private:
121
122 StartSelectorType m_startSelectorType;
123 bool m_startSelectorTypeHasBeenSet = false;
124
125 Aws::String m_afterFragmentNumber;
126 bool m_afterFragmentNumberHasBeenSet = false;
127
128 Aws::Utils::DateTime m_startTimestamp;
129 bool m_startTimestampHasBeenSet = false;
130
131 Aws::String m_continuationToken;
132 bool m_continuationTokenHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace KinesisVideoMedia
137} // namespace Aws
void SetStartSelectorType(StartSelectorType &&value)
StartSelector & WithStartSelectorType(StartSelectorType &&value)
AWS_KINESISVIDEOMEDIA_API StartSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
StartSelector & WithAfterFragmentNumber(const char *value)
StartSelector & WithContinuationToken(const char *value)
void SetAfterFragmentNumber(Aws::String &&value)
StartSelector & WithContinuationToken(const Aws::String &value)
StartSelector & WithAfterFragmentNumber(Aws::String &&value)
void SetContinuationToken(Aws::String &&value)
void SetContinuationToken(const Aws::String &value)
AWS_KINESISVIDEOMEDIA_API StartSelector(Aws::Utils::Json::JsonView jsonValue)
const StartSelectorType & GetStartSelectorType() const
const Aws::String & GetContinuationToken() const
StartSelector & WithContinuationToken(Aws::String &&value)
void SetAfterFragmentNumber(const Aws::String &value)
void SetStartTimestamp(Aws::Utils::DateTime &&value)
AWS_KINESISVIDEOMEDIA_API StartSelector()
StartSelector & WithAfterFragmentNumber(const Aws::String &value)
void SetStartTimestamp(const Aws::Utils::DateTime &value)
void SetStartSelectorType(const StartSelectorType &value)
const Aws::Utils::DateTime & GetStartTimestamp() const
StartSelector & WithStartTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetAfterFragmentNumber() const
AWS_KINESISVIDEOMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
StartSelector & WithStartSelectorType(const StartSelectorType &value)
StartSelector & WithStartTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue