AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCompositionRequest.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/IvsrealtimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivs-realtime/model/LayoutConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ivs-realtime/model/DestinationConfiguration.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace ivsrealtime
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IVSREALTIME_API StartCompositionRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartComposition"; }
36
37 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetStageArn() const{ return m_stageArn; }
45 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
46 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
47 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
48 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
49 inline StartCompositionRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
50 inline StartCompositionRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
51 inline StartCompositionRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;}
53
55
58 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
59 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
60 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
61 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
62 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
63 inline StartCompositionRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
64 inline StartCompositionRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
65 inline StartCompositionRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
67
69
72 inline const LayoutConfiguration& GetLayout() const{ return m_layout; }
73 inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; }
74 inline void SetLayout(const LayoutConfiguration& value) { m_layoutHasBeenSet = true; m_layout = value; }
75 inline void SetLayout(LayoutConfiguration&& value) { m_layoutHasBeenSet = true; m_layout = std::move(value); }
76 inline StartCompositionRequest& WithLayout(const LayoutConfiguration& value) { SetLayout(value); return *this;}
77 inline StartCompositionRequest& WithLayout(LayoutConfiguration&& value) { SetLayout(std::move(value)); return *this;}
79
81
84 inline const Aws::Vector<DestinationConfiguration>& GetDestinations() const{ return m_destinations; }
85 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
86 inline void SetDestinations(const Aws::Vector<DestinationConfiguration>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
87 inline void SetDestinations(Aws::Vector<DestinationConfiguration>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
90 inline StartCompositionRequest& AddDestinations(const DestinationConfiguration& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
91 inline StartCompositionRequest& AddDestinations(DestinationConfiguration&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
93
95
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 inline StartCompositionRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
109 inline StartCompositionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
110 inline StartCompositionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
111 inline StartCompositionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
112 inline StartCompositionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline StartCompositionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
114 inline StartCompositionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline StartCompositionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116 inline StartCompositionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 private:
119
120 Aws::String m_stageArn;
121 bool m_stageArnHasBeenSet = false;
122
123 Aws::String m_idempotencyToken;
124 bool m_idempotencyTokenHasBeenSet = false;
125
126 LayoutConfiguration m_layout;
127 bool m_layoutHasBeenSet = false;
128
130 bool m_destinationsHasBeenSet = false;
131
133 bool m_tagsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace ivsrealtime
138} // namespace Aws
StartCompositionRequest & WithStageArn(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartCompositionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartCompositionRequest & WithIdempotencyToken(const Aws::String &value)
StartCompositionRequest & WithStageArn(const char *value)
void SetLayout(const LayoutConfiguration &value)
StartCompositionRequest & WithIdempotencyToken(Aws::String &&value)
StartCompositionRequest & WithDestinations(const Aws::Vector< DestinationConfiguration > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartCompositionRequest & AddTags(Aws::String &&key, const char *value)
StartCompositionRequest & WithStageArn(const Aws::String &value)
StartCompositionRequest & AddTags(const char *key, Aws::String &&value)
StartCompositionRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartCompositionRequest & AddDestinations(DestinationConfiguration &&value)
StartCompositionRequest & WithDestinations(Aws::Vector< DestinationConfiguration > &&value)
void SetDestinations(const Aws::Vector< DestinationConfiguration > &value)
void SetDestinations(Aws::Vector< DestinationConfiguration > &&value)
const Aws::Vector< DestinationConfiguration > & GetDestinations() const
StartCompositionRequest & WithLayout(const LayoutConfiguration &value)
StartCompositionRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartCompositionRequest & WithIdempotencyToken(const char *value)
StartCompositionRequest & AddDestinations(const DestinationConfiguration &value)
StartCompositionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartCompositionRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartCompositionRequest & WithLayout(LayoutConfiguration &&value)
StartCompositionRequest & AddTags(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartCompositionRequest & AddTags(const char *key, const char *value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector