AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutMetadataRequest.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IVS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IVS_API PutMetadataRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "PutMetadata"; }
31
32 AWS_IVS_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
41 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
42 inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
43 inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
44 inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
45 inline PutMetadataRequest& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
46 inline PutMetadataRequest& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
47 inline PutMetadataRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
49
51
54 inline const Aws::String& GetMetadata() const{ return m_metadata; }
55 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
56 inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
57 inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
58 inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
59 inline PutMetadataRequest& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
60 inline PutMetadataRequest& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
61 inline PutMetadataRequest& WithMetadata(const char* value) { SetMetadata(value); return *this;}
63 private:
64
65 Aws::String m_channelArn;
66 bool m_channelArnHasBeenSet = false;
67
68 Aws::String m_metadata;
69 bool m_metadataHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IVS
74} // namespace Aws
PutMetadataRequest & WithMetadata(Aws::String &&value)
PutMetadataRequest & WithChannelArn(Aws::String &&value)
const Aws::String & GetChannelArn() const
PutMetadataRequest & WithChannelArn(const Aws::String &value)
const Aws::String & GetMetadata() const
PutMetadataRequest & WithChannelArn(const char *value)
void SetMetadata(Aws::String &&value)
void SetMetadata(const Aws::String &value)
void SetChannelArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetChannelArn(Aws::String &&value)
PutMetadataRequest & WithMetadata(const Aws::String &value)
PutMetadataRequest & WithMetadata(const char *value)
AWS_IVS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String