AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterUsageResult.h
1
6#pragma once
7#include <aws/meteringmarketplace/MarketplaceMetering_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MarketplaceMetering
25{
26namespace Model
27{
29 {
30 public:
31 AWS_MARKETPLACEMETERING_API RegisterUsageResult();
34
35
37
40 inline const Aws::Utils::DateTime& GetPublicKeyRotationTimestamp() const{ return m_publicKeyRotationTimestamp; }
41 inline void SetPublicKeyRotationTimestamp(const Aws::Utils::DateTime& value) { m_publicKeyRotationTimestamp = value; }
42 inline void SetPublicKeyRotationTimestamp(Aws::Utils::DateTime&& value) { m_publicKeyRotationTimestamp = std::move(value); }
46
48
51 inline const Aws::String& GetSignature() const{ return m_signature; }
52 inline void SetSignature(const Aws::String& value) { m_signature = value; }
53 inline void SetSignature(Aws::String&& value) { m_signature = std::move(value); }
54 inline void SetSignature(const char* value) { m_signature.assign(value); }
55 inline RegisterUsageResult& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
56 inline RegisterUsageResult& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;}
57 inline RegisterUsageResult& WithSignature(const char* value) { SetSignature(value); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline RegisterUsageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline RegisterUsageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline RegisterUsageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Aws::Utils::DateTime m_publicKeyRotationTimestamp;
73
74 Aws::String m_signature;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace MarketplaceMetering
81} // namespace Aws
RegisterUsageResult & WithSignature(const Aws::String &value)
const Aws::Utils::DateTime & GetPublicKeyRotationTimestamp() const
RegisterUsageResult & WithRequestId(const char *value)
void SetPublicKeyRotationTimestamp(Aws::Utils::DateTime &&value)
RegisterUsageResult & WithRequestId(Aws::String &&value)
AWS_MARKETPLACEMETERING_API RegisterUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterUsageResult & WithPublicKeyRotationTimestamp(const Aws::Utils::DateTime &value)
RegisterUsageResult & WithPublicKeyRotationTimestamp(Aws::Utils::DateTime &&value)
void SetPublicKeyRotationTimestamp(const Aws::Utils::DateTime &value)
AWS_MARKETPLACEMETERING_API RegisterUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterUsageResult & WithSignature(Aws::String &&value)
RegisterUsageResult & WithRequestId(const Aws::String &value)
AWS_MARKETPLACEMETERING_API RegisterUsageResult()
RegisterUsageResult & WithSignature(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue