AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAddonSubscriptionResult.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_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 MailManager
25{
26namespace Model
27{
29 {
30 public:
31 AWS_MAILMANAGER_API GetAddonSubscriptionResult();
34
35
37
40 inline const Aws::String& GetAddonName() const{ return m_addonName; }
41 inline void SetAddonName(const Aws::String& value) { m_addonName = value; }
42 inline void SetAddonName(Aws::String&& value) { m_addonName = std::move(value); }
43 inline void SetAddonName(const char* value) { m_addonName.assign(value); }
44 inline GetAddonSubscriptionResult& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;}
45 inline GetAddonSubscriptionResult& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;}
46 inline GetAddonSubscriptionResult& WithAddonName(const char* value) { SetAddonName(value); return *this;}
48
50
53 inline const Aws::String& GetAddonSubscriptionArn() const{ return m_addonSubscriptionArn; }
54 inline void SetAddonSubscriptionArn(const Aws::String& value) { m_addonSubscriptionArn = value; }
55 inline void SetAddonSubscriptionArn(Aws::String&& value) { m_addonSubscriptionArn = std::move(value); }
56 inline void SetAddonSubscriptionArn(const char* value) { m_addonSubscriptionArn.assign(value); }
59 inline GetAddonSubscriptionResult& WithAddonSubscriptionArn(const char* value) { SetAddonSubscriptionArn(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
67 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
68 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetAddonSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline GetAddonSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline GetAddonSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_addonName;
86
87 Aws::String m_addonSubscriptionArn;
88
89 Aws::Utils::DateTime m_createdTimestamp;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace MailManager
96} // namespace Aws
GetAddonSubscriptionResult & WithAddonSubscriptionArn(const Aws::String &value)
GetAddonSubscriptionResult & WithAddonSubscriptionArn(const char *value)
GetAddonSubscriptionResult & WithRequestId(const Aws::String &value)
GetAddonSubscriptionResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetAddonSubscriptionResult & WithAddonName(const Aws::String &value)
GetAddonSubscriptionResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API GetAddonSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAddonSubscriptionResult & WithAddonName(const char *value)
GetAddonSubscriptionResult & WithRequestId(const char *value)
GetAddonSubscriptionResult & WithRequestId(Aws::String &&value)
GetAddonSubscriptionResult & WithAddonName(Aws::String &&value)
GetAddonSubscriptionResult & WithAddonSubscriptionArn(Aws::String &&value)
AWS_MAILMANAGER_API GetAddonSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue