AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetCredentialLockerResult.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTManagedIntegrations
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API GetCredentialLockerResult() = default;
35
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 GetCredentialLockerResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template<typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
55 template<typename ArnT = Aws::String>
56 GetCredentialLockerResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 GetCredentialLockerResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
77 template<typename CreatedAtT = Aws::Utils::DateTime>
78 GetCredentialLockerResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
86 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
88 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 GetCredentialLockerResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
90 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
91 GetCredentialLockerResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
92 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template<typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
101 template<typename RequestIdT = Aws::String>
102 GetCredentialLockerResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
104 private:
105
106 Aws::String m_id;
107 bool m_idHasBeenSet = false;
108
109 Aws::String m_arn;
110 bool m_arnHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::Utils::DateTime m_createdAt{};
116 bool m_createdAtHasBeenSet = false;
117
119 bool m_tagsHasBeenSet = false;
120
121 Aws::String m_requestId;
122 bool m_requestIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace IoTManagedIntegrations
127} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IOTMANAGEDINTEGRATIONS_API GetCredentialLockerResult()=default
GetCredentialLockerResult & WithRequestId(RequestIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetCredentialLockerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetCredentialLockerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCredentialLockerResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetCredentialLockerResult & WithCreatedAt(CreatedAtT &&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
Aws::Utils::Json::JsonValue JsonValue