AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAddonInstanceResult.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 GetAddonInstanceResult();
34
35
37
40 inline const Aws::String& GetAddonInstanceArn() const{ return m_addonInstanceArn; }
41 inline void SetAddonInstanceArn(const Aws::String& value) { m_addonInstanceArn = value; }
42 inline void SetAddonInstanceArn(Aws::String&& value) { m_addonInstanceArn = std::move(value); }
43 inline void SetAddonInstanceArn(const char* value) { m_addonInstanceArn.assign(value); }
44 inline GetAddonInstanceResult& WithAddonInstanceArn(const Aws::String& value) { SetAddonInstanceArn(value); return *this;}
45 inline GetAddonInstanceResult& WithAddonInstanceArn(Aws::String&& value) { SetAddonInstanceArn(std::move(value)); return *this;}
46 inline GetAddonInstanceResult& WithAddonInstanceArn(const char* value) { SetAddonInstanceArn(value); return *this;}
48
50
54 inline const Aws::String& GetAddonName() const{ return m_addonName; }
55 inline void SetAddonName(const Aws::String& value) { m_addonName = value; }
56 inline void SetAddonName(Aws::String&& value) { m_addonName = std::move(value); }
57 inline void SetAddonName(const char* value) { m_addonName.assign(value); }
58 inline GetAddonInstanceResult& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;}
59 inline GetAddonInstanceResult& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;}
60 inline GetAddonInstanceResult& WithAddonName(const char* value) { SetAddonName(value); return *this;}
62
64
67 inline const Aws::String& GetAddonSubscriptionId() const{ return m_addonSubscriptionId; }
68 inline void SetAddonSubscriptionId(const Aws::String& value) { m_addonSubscriptionId = value; }
69 inline void SetAddonSubscriptionId(Aws::String&& value) { m_addonSubscriptionId = std::move(value); }
70 inline void SetAddonSubscriptionId(const char* value) { m_addonSubscriptionId.assign(value); }
72 inline GetAddonInstanceResult& WithAddonSubscriptionId(Aws::String&& value) { SetAddonSubscriptionId(std::move(value)); return *this;}
73 inline GetAddonInstanceResult& WithAddonSubscriptionId(const char* value) { SetAddonSubscriptionId(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
81 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
82 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
84 inline GetAddonInstanceResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetAddonInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetAddonInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetAddonInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_addonInstanceArn;
100
101 Aws::String m_addonName;
102
103 Aws::String m_addonSubscriptionId;
104
105 Aws::Utils::DateTime m_createdTimestamp;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace MailManager
112} // namespace Aws
GetAddonInstanceResult & WithAddonName(const Aws::String &value)
GetAddonInstanceResult & WithAddonInstanceArn(Aws::String &&value)
GetAddonInstanceResult & WithRequestId(Aws::String &&value)
GetAddonInstanceResult & WithAddonInstanceArn(const char *value)
GetAddonInstanceResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetAddonInstanceResult & WithAddonName(Aws::String &&value)
GetAddonInstanceResult & WithAddonSubscriptionId(const char *value)
GetAddonInstanceResult & WithAddonSubscriptionId(const Aws::String &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetAddonInstanceResult & WithRequestId(const Aws::String &value)
GetAddonInstanceResult & WithAddonName(const char *value)
GetAddonInstanceResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AWS_MAILMANAGER_API GetAddonInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_MAILMANAGER_API GetAddonInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAddonInstanceResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
GetAddonInstanceResult & WithAddonSubscriptionId(Aws::String &&value)
GetAddonInstanceResult & WithAddonInstanceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue