AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportPublicKeyRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ivsrealtime
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IVSREALTIME_API ImportPublicKeyRequest();
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 "ImportPublicKey"; }
32
33 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetPublicKeyMaterial() const{ return m_publicKeyMaterial; }
41 inline bool PublicKeyMaterialHasBeenSet() const { return m_publicKeyMaterialHasBeenSet; }
42 inline void SetPublicKeyMaterial(const Aws::String& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = value; }
43 inline void SetPublicKeyMaterial(Aws::String&& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = std::move(value); }
44 inline void SetPublicKeyMaterial(const char* value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial.assign(value); }
46 inline ImportPublicKeyRequest& WithPublicKeyMaterial(Aws::String&& value) { SetPublicKeyMaterial(std::move(value)); return *this;}
47 inline ImportPublicKeyRequest& WithPublicKeyMaterial(const char* value) { SetPublicKeyMaterial(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline ImportPublicKeyRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline ImportPublicKeyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline ImportPublicKeyRequest& WithName(const char* value) { SetName(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); }
78 inline ImportPublicKeyRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
79 inline ImportPublicKeyRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 inline ImportPublicKeyRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
81 inline ImportPublicKeyRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline ImportPublicKeyRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline ImportPublicKeyRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
84 inline ImportPublicKeyRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline ImportPublicKeyRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline ImportPublicKeyRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_publicKeyMaterial;
91 bool m_publicKeyMaterialHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ivsrealtime
102} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
ImportPublicKeyRequest & WithName(const Aws::String &value)
ImportPublicKeyRequest & AddTags(const char *key, const char *value)
ImportPublicKeyRequest & AddTags(Aws::String &&key, const Aws::String &value)
ImportPublicKeyRequest & AddTags(const Aws::String &key, Aws::String &&value)
ImportPublicKeyRequest & AddTags(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ImportPublicKeyRequest & AddTags(const char *key, Aws::String &&value)
ImportPublicKeyRequest & WithPublicKeyMaterial(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportPublicKeyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportPublicKeyRequest & AddTags(Aws::String &&key, const char *value)
ImportPublicKeyRequest & AddTags(Aws::String &&key, Aws::String &&value)
ImportPublicKeyRequest & WithPublicKeyMaterial(const Aws::String &value)
ImportPublicKeyRequest & WithName(Aws::String &&value)
ImportPublicKeyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportPublicKeyRequest & WithPublicKeyMaterial(Aws::String &&value)
ImportPublicKeyRequest & WithName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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