AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKeyResult.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 CreateKeyResult();
34
35
37
42 inline const Aws::String& GetKey() const{ return m_key; }
43 inline void SetKey(const Aws::String& value) { m_key = value; }
44 inline void SetKey(Aws::String&& value) { m_key = std::move(value); }
45 inline void SetKey(const char* value) { m_key.assign(value); }
46 inline CreateKeyResult& WithKey(const Aws::String& value) { SetKey(value); return *this;}
47 inline CreateKeyResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
48 inline CreateKeyResult& WithKey(const char* value) { SetKey(value); return *this;}
50
52
58 inline const Aws::String& GetKeyArn() const{ return m_keyArn; }
59 inline void SetKeyArn(const Aws::String& value) { m_keyArn = value; }
60 inline void SetKeyArn(Aws::String&& value) { m_keyArn = std::move(value); }
61 inline void SetKeyArn(const char* value) { m_keyArn.assign(value); }
62 inline CreateKeyResult& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
63 inline CreateKeyResult& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
64 inline CreateKeyResult& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
66
68
71 inline const Aws::String& GetKeyName() const{ return m_keyName; }
72 inline void SetKeyName(const Aws::String& value) { m_keyName = value; }
73 inline void SetKeyName(Aws::String&& value) { m_keyName = std::move(value); }
74 inline void SetKeyName(const char* value) { m_keyName.assign(value); }
75 inline CreateKeyResult& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
76 inline CreateKeyResult& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
77 inline CreateKeyResult& WithKeyName(const char* value) { SetKeyName(value); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
87 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
88 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
89 inline CreateKeyResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
90 inline CreateKeyResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline CreateKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline CreateKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline CreateKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_key;
106
107 Aws::String m_keyArn;
108
109 Aws::String m_keyName;
110
111 Aws::Utils::DateTime m_createTime;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace LocationService
118} // namespace Aws
CreateKeyResult & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_LOCATIONSERVICE_API CreateKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreateTime() const
CreateKeyResult & WithKeyArn(const Aws::String &value)
CreateKeyResult & WithKeyName(const char *value)
CreateKeyResult & WithKeyArn(const char *value)
CreateKeyResult & WithKeyName(Aws::String &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
CreateKeyResult & WithRequestId(const Aws::String &value)
void SetKeyName(const Aws::String &value)
CreateKeyResult & WithRequestId(const char *value)
CreateKeyResult & WithRequestId(Aws::String &&value)
AWS_LOCATIONSERVICE_API CreateKeyResult()
void SetRequestId(const Aws::String &value)
void SetKey(const Aws::String &value)
CreateKeyResult & WithKeyName(const Aws::String &value)
AWS_LOCATIONSERVICE_API CreateKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKeyArn(const Aws::String &value)
CreateKeyResult & WithKey(const Aws::String &value)
CreateKeyResult & WithKeyArn(Aws::String &&value)
CreateKeyResult & WithKey(Aws::String &&value)
CreateKeyResult & WithKey(const char *value)
CreateKeyResult & WithCreateTime(const Aws::Utils::DateTime &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue