AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateKeyResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LOCATIONSERVICE_API UpdateKeyResult() = default;
34
35
37
43 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
44 template<typename KeyArnT = Aws::String>
45 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
46 template<typename KeyArnT = Aws::String>
47 UpdateKeyResult& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetKeyName() const { return m_keyName; }
55 template<typename KeyNameT = Aws::String>
56 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet = true; m_keyName = std::forward<KeyNameT>(value); }
57 template<typename KeyNameT = Aws::String>
58 UpdateKeyResult& WithKeyName(KeyNameT&& value) { SetKeyName(std::forward<KeyNameT>(value)); return *this;}
60
62
67 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
68 template<typename UpdateTimeT = Aws::Utils::DateTime>
69 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
70 template<typename UpdateTimeT = Aws::Utils::DateTime>
71 UpdateKeyResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template<typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
79 template<typename RequestIdT = Aws::String>
80 UpdateKeyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
82 private:
83
84 Aws::String m_keyArn;
85 bool m_keyArnHasBeenSet = false;
86
87 Aws::String m_keyName;
88 bool m_keyNameHasBeenSet = false;
89
90 Aws::Utils::DateTime m_updateTime{};
91 bool m_updateTimeHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LocationService
99} // namespace Aws
UpdateKeyResult & WithRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API UpdateKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKeyResult & WithKeyName(KeyNameT &&value)
AWS_LOCATIONSERVICE_API UpdateKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API UpdateKeyResult()=default
const Aws::Utils::DateTime & GetUpdateTime() const
UpdateKeyResult & WithUpdateTime(UpdateTimeT &&value)
UpdateKeyResult & WithKeyArn(KeyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue