AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
43 inline const Aws::String& GetKeyArn() const{ return m_keyArn; }
44 inline void SetKeyArn(const Aws::String& value) { m_keyArn = value; }
45 inline void SetKeyArn(Aws::String&& value) { m_keyArn = std::move(value); }
46 inline void SetKeyArn(const char* value) { m_keyArn.assign(value); }
47 inline UpdateKeyResult& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
48 inline UpdateKeyResult& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
49 inline UpdateKeyResult& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
51
53
56 inline const Aws::String& GetKeyName() const{ return m_keyName; }
57 inline void SetKeyName(const Aws::String& value) { m_keyName = value; }
58 inline void SetKeyName(Aws::String&& value) { m_keyName = std::move(value); }
59 inline void SetKeyName(const char* value) { m_keyName.assign(value); }
60 inline UpdateKeyResult& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
61 inline UpdateKeyResult& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
62 inline UpdateKeyResult& WithKeyName(const char* value) { SetKeyName(value); return *this;}
64
66
71 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
72 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
73 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
74 inline UpdateKeyResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
75 inline UpdateKeyResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline UpdateKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline UpdateKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline UpdateKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_keyArn;
91
92 Aws::String m_keyName;
93
94 Aws::Utils::DateTime m_updateTime;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace LocationService
101} // namespace Aws
UpdateKeyResult & WithRequestId(Aws::String &&value)
UpdateKeyResult & WithKeyName(const char *value)
AWS_LOCATIONSERVICE_API UpdateKeyResult()
UpdateKeyResult & WithKeyArn(const Aws::String &value)
AWS_LOCATIONSERVICE_API UpdateKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKeyResult & WithKeyArn(Aws::String &&value)
AWS_LOCATIONSERVICE_API UpdateKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdateTime() const
UpdateKeyResult & WithUpdateTime(Aws::Utils::DateTime &&value)
UpdateKeyResult & WithKeyName(Aws::String &&value)
UpdateKeyResult & WithKeyArn(const char *value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
UpdateKeyResult & WithUpdateTime(const Aws::Utils::DateTime &value)
UpdateKeyResult & WithRequestId(const char *value)
void SetKeyArn(const Aws::String &value)
void SetKeyName(const Aws::String &value)
UpdateKeyResult & WithKeyName(const Aws::String &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
UpdateKeyResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue