AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateCredentialLockerRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
11#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoTManagedIntegrations {
17namespace Model {
18
22 public:
23 AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateCredentialLocker"; }
30
31 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetClientToken() const { return m_clientToken; }
58 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
59 template <typename ClientTokenT = Aws::String>
60 void SetClientToken(ClientTokenT&& value) {
61 m_clientTokenHasBeenSet = true;
62 m_clientToken = std::forward<ClientTokenT>(value);
63 }
64 template <typename ClientTokenT = Aws::String>
66 SetClientToken(std::forward<ClientTokenT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 void SetTags(TagsT&& value) {
79 m_tagsHasBeenSet = true;
80 m_tags = std::forward<TagsT>(value);
81 }
82 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 SetTags(std::forward<TagsT>(value));
85 return *this;
86 }
87 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
88 CreateCredentialLockerRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
89 m_tagsHasBeenSet = true;
90 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
98
100 bool m_nameHasBeenSet = false;
101 bool m_clientTokenHasBeenSet = true;
102 bool m_tagsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace IoTManagedIntegrations
107} // namespace Aws
CreateCredentialLockerRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateCredentialLockerRequest & WithClientToken(ClientTokenT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
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