AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportPlaybackKeyPairRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IVS
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ImportPlaybackKeyPair"; }
32
33 AWS_IVS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const{ return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
43 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
44 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
45 inline ImportPlaybackKeyPairRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline ImportPlaybackKeyPairRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline ImportPlaybackKeyPairRequest& WithName(const char* value) { SetName(value); return *this;}
49
51
54 inline const Aws::String& GetPublicKeyMaterial() const{ return m_publicKeyMaterial; }
55 inline bool PublicKeyMaterialHasBeenSet() const { return m_publicKeyMaterialHasBeenSet; }
56 inline void SetPublicKeyMaterial(const Aws::String& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = value; }
57 inline void SetPublicKeyMaterial(Aws::String&& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = std::move(value); }
58 inline void SetPublicKeyMaterial(const char* value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial.assign(value); }
60 inline ImportPlaybackKeyPairRequest& WithPublicKeyMaterial(Aws::String&& value) { SetPublicKeyMaterial(std::move(value)); return *this;}
61 inline ImportPlaybackKeyPairRequest& WithPublicKeyMaterial(const char* value) { SetPublicKeyMaterial(value); return *this;}
63
65
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
77 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline ImportPlaybackKeyPairRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 inline ImportPlaybackKeyPairRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
81 inline ImportPlaybackKeyPairRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline ImportPlaybackKeyPairRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline ImportPlaybackKeyPairRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
84 inline ImportPlaybackKeyPairRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline ImportPlaybackKeyPairRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline ImportPlaybackKeyPairRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_publicKeyMaterial;
94 bool m_publicKeyMaterialHasBeenSet = false;
95
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IVS
102} // namespace Aws
ImportPlaybackKeyPairRequest & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportPlaybackKeyPairRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
ImportPlaybackKeyPairRequest & WithPublicKeyMaterial(const char *value)
ImportPlaybackKeyPairRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportPlaybackKeyPairRequest & WithPublicKeyMaterial(Aws::String &&value)
ImportPlaybackKeyPairRequest & WithPublicKeyMaterial(const Aws::String &value)
ImportPlaybackKeyPairRequest & AddTags(const Aws::String &key, Aws::String &&value)
ImportPlaybackKeyPairRequest & AddTags(const char *key, Aws::String &&value)
ImportPlaybackKeyPairRequest & AddTags(const char *key, const char *value)
ImportPlaybackKeyPairRequest & AddTags(const Aws::String &key, const Aws::String &value)
ImportPlaybackKeyPairRequest & WithName(const Aws::String &value)
ImportPlaybackKeyPairRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_IVS_API Aws::String SerializePayload() const override
ImportPlaybackKeyPairRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportPlaybackKeyPairRequest & WithName(const char *value)
ImportPlaybackKeyPairRequest & AddTags(Aws::String &&key, const Aws::String &value)
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