AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ProfileSummary.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/Logging.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace B2BI {
22namespace Model {
23
31 public:
32 AWS_B2BI_API ProfileSummary() = default;
36
38
41 inline const Aws::String& GetProfileId() const { return m_profileId; }
42 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
43 template <typename ProfileIdT = Aws::String>
44 void SetProfileId(ProfileIdT&& value) {
45 m_profileIdHasBeenSet = true;
46 m_profileId = std::forward<ProfileIdT>(value);
47 }
48 template <typename ProfileIdT = Aws::String>
49 ProfileSummary& WithProfileId(ProfileIdT&& value) {
50 SetProfileId(std::forward<ProfileIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 ProfileSummary& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetBusinessName() const { return m_businessName; }
78 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
79 template <typename BusinessNameT = Aws::String>
80 void SetBusinessName(BusinessNameT&& value) {
81 m_businessNameHasBeenSet = true;
82 m_businessName = std::forward<BusinessNameT>(value);
83 }
84 template <typename BusinessNameT = Aws::String>
85 ProfileSummary& WithBusinessName(BusinessNameT&& value) {
86 SetBusinessName(std::forward<BusinessNameT>(value));
87 return *this;
88 }
90
92
95 inline Logging GetLogging() const { return m_logging; }
96 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
97 inline void SetLogging(Logging value) {
98 m_loggingHasBeenSet = true;
99 m_logging = value;
100 }
102 SetLogging(value);
103 return *this;
104 }
106
108
111 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
112 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
113 template <typename LogGroupNameT = Aws::String>
114 void SetLogGroupName(LogGroupNameT&& value) {
115 m_logGroupNameHasBeenSet = true;
116 m_logGroupName = std::forward<LogGroupNameT>(value);
117 }
118 template <typename LogGroupNameT = Aws::String>
119 ProfileSummary& WithLogGroupName(LogGroupNameT&& value) {
120 SetLogGroupName(std::forward<LogGroupNameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
130 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
131 template <typename CreatedAtT = Aws::Utils::DateTime>
132 void SetCreatedAt(CreatedAtT&& value) {
133 m_createdAtHasBeenSet = true;
134 m_createdAt = std::forward<CreatedAtT>(value);
135 }
136 template <typename CreatedAtT = Aws::Utils::DateTime>
137 ProfileSummary& WithCreatedAt(CreatedAtT&& value) {
138 SetCreatedAt(std::forward<CreatedAtT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
149 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
150 template <typename ModifiedAtT = Aws::Utils::DateTime>
151 void SetModifiedAt(ModifiedAtT&& value) {
152 m_modifiedAtHasBeenSet = true;
153 m_modifiedAt = std::forward<ModifiedAtT>(value);
154 }
155 template <typename ModifiedAtT = Aws::Utils::DateTime>
156 ProfileSummary& WithModifiedAt(ModifiedAtT&& value) {
157 SetModifiedAt(std::forward<ModifiedAtT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_profileId;
163
164 Aws::String m_name;
165
166 Aws::String m_businessName;
167
168 Logging m_logging{Logging::NOT_SET};
169
170 Aws::String m_logGroupName;
171
172 Aws::Utils::DateTime m_createdAt{};
173
174 Aws::Utils::DateTime m_modifiedAt{};
175 bool m_profileIdHasBeenSet = false;
176 bool m_nameHasBeenSet = false;
177 bool m_businessNameHasBeenSet = false;
178 bool m_loggingHasBeenSet = false;
179 bool m_logGroupNameHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_modifiedAtHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace B2BI
186} // namespace Aws
const Aws::String & GetLogGroupName() const
AWS_B2BI_API ProfileSummary()=default
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetModifiedAt() const
void SetCreatedAt(CreatedAtT &&value)
ProfileSummary & WithBusinessName(BusinessNameT &&value)
const Aws::String & GetBusinessName() const
ProfileSummary & WithLogging(Logging value)
ProfileSummary & WithProfileId(ProfileIdT &&value)
void SetProfileId(ProfileIdT &&value)
ProfileSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetProfileId() const
ProfileSummary & WithLogGroupName(LogGroupNameT &&value)
AWS_B2BI_API ProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileSummary & WithModifiedAt(ModifiedAtT &&value)
void SetModifiedAt(ModifiedAtT &&value)
void SetBusinessName(BusinessNameT &&value)
ProfileSummary & WithName(NameT &&value)
AWS_B2BI_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupName(LogGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue