AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddBridgeSourcesRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediaconnect/model/AddBridgeSourceRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaConnect
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MEDIACONNECT_API AddBridgeSourcesRequest();
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 "AddBridgeSources"; }
36
37 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; }
45 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
46 inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; }
47 inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); }
48 inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); }
49 inline AddBridgeSourcesRequest& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;}
50 inline AddBridgeSourcesRequest& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;}
51 inline AddBridgeSourcesRequest& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;}
53
55
58 inline const Aws::Vector<AddBridgeSourceRequest>& GetSources() const{ return m_sources; }
59 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
60 inline void SetSources(const Aws::Vector<AddBridgeSourceRequest>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
61 inline void SetSources(Aws::Vector<AddBridgeSourceRequest>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
63 inline AddBridgeSourcesRequest& WithSources(Aws::Vector<AddBridgeSourceRequest>&& value) { SetSources(std::move(value)); return *this;}
64 inline AddBridgeSourcesRequest& AddSources(const AddBridgeSourceRequest& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
65 inline AddBridgeSourcesRequest& AddSources(AddBridgeSourceRequest&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
67 private:
68
69 Aws::String m_bridgeArn;
70 bool m_bridgeArnHasBeenSet = false;
71
73 bool m_sourcesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MediaConnect
78} // namespace Aws
void SetSources(const Aws::Vector< AddBridgeSourceRequest > &value)
virtual const char * GetServiceRequestName() const override
AddBridgeSourcesRequest & WithBridgeArn(const Aws::String &value)
const Aws::Vector< AddBridgeSourceRequest > & GetSources() const
void SetSources(Aws::Vector< AddBridgeSourceRequest > &&value)
AddBridgeSourcesRequest & WithSources(Aws::Vector< AddBridgeSourceRequest > &&value)
AddBridgeSourcesRequest & WithBridgeArn(const char *value)
AddBridgeSourcesRequest & WithSources(const Aws::Vector< AddBridgeSourceRequest > &value)
AddBridgeSourcesRequest & AddSources(const AddBridgeSourceRequest &value)
AddBridgeSourcesRequest & WithBridgeArn(Aws::String &&value)
AddBridgeSourcesRequest & AddSources(AddBridgeSourceRequest &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector