AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProfileSummary.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/b2bi/model/Logging.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace B2BI
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_B2BI_API ProfileSummary() = default;
41
42
44
47 inline const Aws::String& GetProfileId() const { return m_profileId; }
48 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
49 template<typename ProfileIdT = Aws::String>
50 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
51 template<typename ProfileIdT = Aws::String>
52 ProfileSummary& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 ProfileSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetBusinessName() const { return m_businessName; }
72 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
73 template<typename BusinessNameT = Aws::String>
74 void SetBusinessName(BusinessNameT&& value) { m_businessNameHasBeenSet = true; m_businessName = std::forward<BusinessNameT>(value); }
75 template<typename BusinessNameT = Aws::String>
76 ProfileSummary& WithBusinessName(BusinessNameT&& value) { SetBusinessName(std::forward<BusinessNameT>(value)); return *this;}
78
80
83 inline Logging GetLogging() const { return m_logging; }
84 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
85 inline void SetLogging(Logging value) { m_loggingHasBeenSet = true; m_logging = value; }
86 inline ProfileSummary& WithLogging(Logging value) { SetLogging(value); return *this;}
88
90
93 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
94 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
95 template<typename LogGroupNameT = Aws::String>
96 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
97 template<typename LogGroupNameT = Aws::String>
98 ProfileSummary& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
106 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 ProfileSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
119 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
120 template<typename ModifiedAtT = Aws::Utils::DateTime>
121 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
122 template<typename ModifiedAtT = Aws::Utils::DateTime>
123 ProfileSummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
125 private:
126
127 Aws::String m_profileId;
128 bool m_profileIdHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_businessName;
134 bool m_businessNameHasBeenSet = false;
135
136 Logging m_logging{Logging::NOT_SET};
137 bool m_loggingHasBeenSet = false;
138
139 Aws::String m_logGroupName;
140 bool m_logGroupNameHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAt{};
143 bool m_createdAtHasBeenSet = false;
144
145 Aws::Utils::DateTime m_modifiedAt{};
146 bool m_modifiedAtHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace B2BI
151} // 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