AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
LibraryTemplateBodyInputs.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SocialMessaging {
17namespace Model {
18
26 public:
27 AWS_SOCIALMESSAGING_API LibraryTemplateBodyInputs() = default;
28 AWS_SOCIALMESSAGING_API LibraryTemplateBodyInputs(Aws::Utils::Json::JsonView jsonValue);
30 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetAddContactNumber() const { return m_addContactNumber; }
37 inline bool AddContactNumberHasBeenSet() const { return m_addContactNumberHasBeenSet; }
38 inline void SetAddContactNumber(bool value) {
39 m_addContactNumberHasBeenSet = true;
40 m_addContactNumber = value;
41 }
44 return *this;
45 }
47
49
52 inline bool GetAddLearnMoreLink() const { return m_addLearnMoreLink; }
53 inline bool AddLearnMoreLinkHasBeenSet() const { return m_addLearnMoreLinkHasBeenSet; }
54 inline void SetAddLearnMoreLink(bool value) {
55 m_addLearnMoreLinkHasBeenSet = true;
56 m_addLearnMoreLink = value;
57 }
60 return *this;
61 }
63
65
68 inline bool GetAddSecurityRecommendation() const { return m_addSecurityRecommendation; }
69 inline bool AddSecurityRecommendationHasBeenSet() const { return m_addSecurityRecommendationHasBeenSet; }
70 inline void SetAddSecurityRecommendation(bool value) {
71 m_addSecurityRecommendationHasBeenSet = true;
72 m_addSecurityRecommendation = value;
73 }
76 return *this;
77 }
79
81
84 inline bool GetAddTrackPackageLink() const { return m_addTrackPackageLink; }
85 inline bool AddTrackPackageLinkHasBeenSet() const { return m_addTrackPackageLinkHasBeenSet; }
86 inline void SetAddTrackPackageLink(bool value) {
87 m_addTrackPackageLinkHasBeenSet = true;
88 m_addTrackPackageLink = value;
89 }
92 return *this;
93 }
95
97
100 inline int GetCodeExpirationMinutes() const { return m_codeExpirationMinutes; }
101 inline bool CodeExpirationMinutesHasBeenSet() const { return m_codeExpirationMinutesHasBeenSet; }
102 inline void SetCodeExpirationMinutes(int value) {
103 m_codeExpirationMinutesHasBeenSet = true;
104 m_codeExpirationMinutes = value;
105 }
108 return *this;
109 }
111 private:
112 bool m_addContactNumber{false};
113
114 bool m_addLearnMoreLink{false};
115
116 bool m_addSecurityRecommendation{false};
117
118 bool m_addTrackPackageLink{false};
119
120 int m_codeExpirationMinutes{0};
121 bool m_addContactNumberHasBeenSet = false;
122 bool m_addLearnMoreLinkHasBeenSet = false;
123 bool m_addSecurityRecommendationHasBeenSet = false;
124 bool m_addTrackPackageLinkHasBeenSet = false;
125 bool m_codeExpirationMinutesHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace SocialMessaging
130} // namespace Aws
LibraryTemplateBodyInputs & WithAddLearnMoreLink(bool value)
AWS_SOCIALMESSAGING_API LibraryTemplateBodyInputs()=default
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SOCIALMESSAGING_API LibraryTemplateBodyInputs(Aws::Utils::Json::JsonView jsonValue)
LibraryTemplateBodyInputs & WithAddContactNumber(bool value)
LibraryTemplateBodyInputs & WithAddTrackPackageLink(bool value)
AWS_SOCIALMESSAGING_API LibraryTemplateBodyInputs & operator=(Aws::Utils::Json::JsonView jsonValue)
LibraryTemplateBodyInputs & WithCodeExpirationMinutes(int value)
LibraryTemplateBodyInputs & WithAddSecurityRecommendation(bool value)
Aws::Utils::Json::JsonValue JsonValue