AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddonSubscription.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 AddonSubscription();
37 AWS_MAILMANAGER_API AddonSubscription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAddonName() const{ return m_addonName; }
47 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
48 inline void SetAddonName(const Aws::String& value) { m_addonNameHasBeenSet = true; m_addonName = value; }
49 inline void SetAddonName(Aws::String&& value) { m_addonNameHasBeenSet = true; m_addonName = std::move(value); }
50 inline void SetAddonName(const char* value) { m_addonNameHasBeenSet = true; m_addonName.assign(value); }
51 inline AddonSubscription& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;}
52 inline AddonSubscription& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;}
53 inline AddonSubscription& WithAddonName(const char* value) { SetAddonName(value); return *this;}
55
57
60 inline const Aws::String& GetAddonSubscriptionArn() const{ return m_addonSubscriptionArn; }
61 inline bool AddonSubscriptionArnHasBeenSet() const { return m_addonSubscriptionArnHasBeenSet; }
62 inline void SetAddonSubscriptionArn(const Aws::String& value) { m_addonSubscriptionArnHasBeenSet = true; m_addonSubscriptionArn = value; }
63 inline void SetAddonSubscriptionArn(Aws::String&& value) { m_addonSubscriptionArnHasBeenSet = true; m_addonSubscriptionArn = std::move(value); }
64 inline void SetAddonSubscriptionArn(const char* value) { m_addonSubscriptionArnHasBeenSet = true; m_addonSubscriptionArn.assign(value); }
66 inline AddonSubscription& WithAddonSubscriptionArn(Aws::String&& value) { SetAddonSubscriptionArn(std::move(value)); return *this;}
67 inline AddonSubscription& WithAddonSubscriptionArn(const char* value) { SetAddonSubscriptionArn(value); return *this;}
69
71
74 inline const Aws::String& GetAddonSubscriptionId() const{ return m_addonSubscriptionId; }
75 inline bool AddonSubscriptionIdHasBeenSet() const { return m_addonSubscriptionIdHasBeenSet; }
76 inline void SetAddonSubscriptionId(const Aws::String& value) { m_addonSubscriptionIdHasBeenSet = true; m_addonSubscriptionId = value; }
77 inline void SetAddonSubscriptionId(Aws::String&& value) { m_addonSubscriptionIdHasBeenSet = true; m_addonSubscriptionId = std::move(value); }
78 inline void SetAddonSubscriptionId(const char* value) { m_addonSubscriptionIdHasBeenSet = true; m_addonSubscriptionId.assign(value); }
79 inline AddonSubscription& WithAddonSubscriptionId(const Aws::String& value) { SetAddonSubscriptionId(value); return *this;}
80 inline AddonSubscription& WithAddonSubscriptionId(Aws::String&& value) { SetAddonSubscriptionId(std::move(value)); return *this;}
81 inline AddonSubscription& WithAddonSubscriptionId(const char* value) { SetAddonSubscriptionId(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
89 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
90 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
91 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
93 inline AddonSubscription& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_addonName;
98 bool m_addonNameHasBeenSet = false;
99
100 Aws::String m_addonSubscriptionArn;
101 bool m_addonSubscriptionArnHasBeenSet = false;
102
103 Aws::String m_addonSubscriptionId;
104 bool m_addonSubscriptionIdHasBeenSet = false;
105
106 Aws::Utils::DateTime m_createdTimestamp;
107 bool m_createdTimestampHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MailManager
112} // namespace Aws
AddonSubscription & WithAddonSubscriptionId(Aws::String &&value)
AWS_MAILMANAGER_API AddonSubscription(Aws::Utils::Json::JsonView jsonValue)
AddonSubscription & WithAddonName(Aws::String &&value)
AddonSubscription & WithAddonSubscriptionId(const Aws::String &value)
void SetAddonName(const Aws::String &value)
void SetAddonSubscriptionArn(const Aws::String &value)
void SetAddonSubscriptionId(const Aws::String &value)
AddonSubscription & WithAddonSubscriptionArn(Aws::String &&value)
AWS_MAILMANAGER_API AddonSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetAddonSubscriptionArn(Aws::String &&value)
void SetAddonSubscriptionId(Aws::String &&value)
AddonSubscription & WithAddonName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::String & GetAddonSubscriptionId() const
AddonSubscription & WithAddonSubscriptionArn(const Aws::String &value)
AddonSubscription & WithAddonName(const char *value)
AddonSubscription & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetAddonSubscriptionArn() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
AddonSubscription & WithAddonSubscriptionArn(const char *value)
AddonSubscription & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
AddonSubscription & WithAddonSubscriptionId(const char *value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue