AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddonInstance.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MailManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAILMANAGER_API AddonInstance();
37 AWS_MAILMANAGER_API AddonInstance(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API AddonInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAddonInstanceArn() const{ return m_addonInstanceArn; }
47 inline bool AddonInstanceArnHasBeenSet() const { return m_addonInstanceArnHasBeenSet; }
48 inline void SetAddonInstanceArn(const Aws::String& value) { m_addonInstanceArnHasBeenSet = true; m_addonInstanceArn = value; }
49 inline void SetAddonInstanceArn(Aws::String&& value) { m_addonInstanceArnHasBeenSet = true; m_addonInstanceArn = std::move(value); }
50 inline void SetAddonInstanceArn(const char* value) { m_addonInstanceArnHasBeenSet = true; m_addonInstanceArn.assign(value); }
51 inline AddonInstance& WithAddonInstanceArn(const Aws::String& value) { SetAddonInstanceArn(value); return *this;}
52 inline AddonInstance& WithAddonInstanceArn(Aws::String&& value) { SetAddonInstanceArn(std::move(value)); return *this;}
53 inline AddonInstance& WithAddonInstanceArn(const char* value) { SetAddonInstanceArn(value); return *this;}
55
57
60 inline const Aws::String& GetAddonInstanceId() const{ return m_addonInstanceId; }
61 inline bool AddonInstanceIdHasBeenSet() const { return m_addonInstanceIdHasBeenSet; }
62 inline void SetAddonInstanceId(const Aws::String& value) { m_addonInstanceIdHasBeenSet = true; m_addonInstanceId = value; }
63 inline void SetAddonInstanceId(Aws::String&& value) { m_addonInstanceIdHasBeenSet = true; m_addonInstanceId = std::move(value); }
64 inline void SetAddonInstanceId(const char* value) { m_addonInstanceIdHasBeenSet = true; m_addonInstanceId.assign(value); }
65 inline AddonInstance& WithAddonInstanceId(const Aws::String& value) { SetAddonInstanceId(value); return *this;}
66 inline AddonInstance& WithAddonInstanceId(Aws::String&& value) { SetAddonInstanceId(std::move(value)); return *this;}
67 inline AddonInstance& WithAddonInstanceId(const char* value) { SetAddonInstanceId(value); return *this;}
69
71
74 inline const Aws::String& GetAddonName() const{ return m_addonName; }
75 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
76 inline void SetAddonName(const Aws::String& value) { m_addonNameHasBeenSet = true; m_addonName = value; }
77 inline void SetAddonName(Aws::String&& value) { m_addonNameHasBeenSet = true; m_addonName = std::move(value); }
78 inline void SetAddonName(const char* value) { m_addonNameHasBeenSet = true; m_addonName.assign(value); }
79 inline AddonInstance& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;}
80 inline AddonInstance& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;}
81 inline AddonInstance& WithAddonName(const char* value) { SetAddonName(value); return *this;}
83
85
88 inline const Aws::String& GetAddonSubscriptionId() const{ return m_addonSubscriptionId; }
89 inline bool AddonSubscriptionIdHasBeenSet() const { return m_addonSubscriptionIdHasBeenSet; }
90 inline void SetAddonSubscriptionId(const Aws::String& value) { m_addonSubscriptionIdHasBeenSet = true; m_addonSubscriptionId = value; }
91 inline void SetAddonSubscriptionId(Aws::String&& value) { m_addonSubscriptionIdHasBeenSet = true; m_addonSubscriptionId = std::move(value); }
92 inline void SetAddonSubscriptionId(const char* value) { m_addonSubscriptionIdHasBeenSet = true; m_addonSubscriptionId.assign(value); }
93 inline AddonInstance& WithAddonSubscriptionId(const Aws::String& value) { SetAddonSubscriptionId(value); return *this;}
94 inline AddonInstance& WithAddonSubscriptionId(Aws::String&& value) { SetAddonSubscriptionId(std::move(value)); return *this;}
95 inline AddonInstance& WithAddonSubscriptionId(const char* value) { SetAddonSubscriptionId(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
103 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
104 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
105 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
106 inline AddonInstance& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
107 inline AddonInstance& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_addonInstanceArn;
112 bool m_addonInstanceArnHasBeenSet = false;
113
114 Aws::String m_addonInstanceId;
115 bool m_addonInstanceIdHasBeenSet = false;
116
117 Aws::String m_addonName;
118 bool m_addonNameHasBeenSet = false;
119
120 Aws::String m_addonSubscriptionId;
121 bool m_addonSubscriptionIdHasBeenSet = false;
122
123 Aws::Utils::DateTime m_createdTimestamp;
124 bool m_createdTimestampHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace MailManager
129} // namespace Aws
AWS_MAILMANAGER_API AddonInstance(Aws::Utils::Json::JsonView jsonValue)
void SetAddonInstanceArn(Aws::String &&value)
const Aws::String & GetAddonInstanceArn() const
void SetAddonInstanceId(const Aws::String &value)
const Aws::String & GetAddonSubscriptionId() const
AddonInstance & WithAddonSubscriptionId(const Aws::String &value)
AddonInstance & WithAddonInstanceArn(const char *value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddonInstanceArn(const char *value)
AddonInstance & WithAddonInstanceId(const Aws::String &value)
void SetAddonInstanceArn(const Aws::String &value)
AddonInstance & WithAddonSubscriptionId(Aws::String &&value)
void SetAddonInstanceId(Aws::String &&value)
void SetAddonName(const Aws::String &value)
AddonInstance & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetAddonSubscriptionId(Aws::String &&value)
const Aws::String & GetAddonInstanceId() const
void SetAddonName(Aws::String &&value)
AddonInstance & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
AddonInstance & WithAddonInstanceId(const char *value)
void SetAddonInstanceId(const char *value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
AddonInstance & WithAddonInstanceId(Aws::String &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
AddonInstance & WithAddonName(const char *value)
void SetAddonSubscriptionId(const char *value)
void SetAddonName(const char *value)
AddonInstance & WithAddonSubscriptionId(const char *value)
AWS_MAILMANAGER_API AddonInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AddonInstance & WithAddonName(const Aws::String &value)
void SetAddonSubscriptionId(const Aws::String &value)
AddonInstance & WithAddonName(Aws::String &&value)
AddonInstance & WithAddonInstanceArn(const Aws::String &value)
const Aws::String & GetAddonName() const
AddonInstance & WithAddonInstanceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue