AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestConfigurationSummary.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/IngestProtocol.h>
10#include <aws/ivs-realtime/model/IngestConfigurationState.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 ivsrealtime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IVSREALTIME_API IngestConfigurationSummary();
40 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline IngestConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline IngestConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline IngestConfigurationSummary& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline IngestConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline IngestConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline IngestConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const IngestProtocol& GetIngestProtocol() const{ return m_ingestProtocol; }
76 inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; }
77 inline void SetIngestProtocol(const IngestProtocol& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; }
78 inline void SetIngestProtocol(IngestProtocol&& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = std::move(value); }
80 inline IngestConfigurationSummary& WithIngestProtocol(IngestProtocol&& value) { SetIngestProtocol(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetStageArn() const{ return m_stageArn; }
88 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
89 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
90 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
91 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
92 inline IngestConfigurationSummary& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
93 inline IngestConfigurationSummary& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
94 inline IngestConfigurationSummary& WithStageArn(const char* value) { SetStageArn(value); return *this;}
96
98
101 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
102 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
103 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
104 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
105 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
106 inline IngestConfigurationSummary& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
107 inline IngestConfigurationSummary& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
108 inline IngestConfigurationSummary& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
110
112
117 inline const IngestConfigurationState& GetState() const{ return m_state; }
118 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
119 inline void SetState(const IngestConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; }
120 inline void SetState(IngestConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
121 inline IngestConfigurationSummary& WithState(const IngestConfigurationState& value) { SetState(value); return *this;}
122 inline IngestConfigurationSummary& WithState(IngestConfigurationState&& value) { SetState(std::move(value)); return *this;}
124
126
133 inline const Aws::String& GetUserId() const{ return m_userId; }
134 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
135 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
136 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
137 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
138 inline IngestConfigurationSummary& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
139 inline IngestConfigurationSummary& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
140 inline IngestConfigurationSummary& WithUserId(const char* value) { SetUserId(value); return *this;}
142 private:
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 IngestProtocol m_ingestProtocol;
151 bool m_ingestProtocolHasBeenSet = false;
152
153 Aws::String m_stageArn;
154 bool m_stageArnHasBeenSet = false;
155
156 Aws::String m_participantId;
157 bool m_participantIdHasBeenSet = false;
158
160 bool m_stateHasBeenSet = false;
161
162 Aws::String m_userId;
163 bool m_userIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace ivsrealtime
168} // namespace Aws
void SetState(const IngestConfigurationState &value)
IngestConfigurationSummary & WithName(const Aws::String &value)
IngestConfigurationSummary & WithName(Aws::String &&value)
IngestConfigurationSummary & WithParticipantId(const Aws::String &value)
IngestConfigurationSummary & WithState(IngestConfigurationState &&value)
IngestConfigurationSummary & WithArn(const Aws::String &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
IngestConfigurationSummary & WithParticipantId(const char *value)
IngestConfigurationSummary & WithUserId(Aws::String &&value)
IngestConfigurationSummary & WithStageArn(const Aws::String &value)
IngestConfigurationSummary & WithArn(Aws::String &&value)
IngestConfigurationSummary & WithParticipantId(Aws::String &&value)
AWS_IVSREALTIME_API IngestConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestConfigurationSummary & WithIngestProtocol(IngestProtocol &&value)
IngestConfigurationSummary & WithStageArn(Aws::String &&value)
IngestConfigurationSummary & WithName(const char *value)
IngestConfigurationSummary & WithArn(const char *value)
IngestConfigurationSummary & WithIngestProtocol(const IngestProtocol &value)
IngestConfigurationSummary & WithStageArn(const char *value)
AWS_IVSREALTIME_API IngestConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
IngestConfigurationSummary & WithUserId(const char *value)
IngestConfigurationSummary & WithState(const IngestConfigurationState &value)
IngestConfigurationSummary & WithUserId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue