AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
UserJourneySummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace resiliencehubv2 {
21namespace Model {
22
30 public:
31 AWS_RESILIENCEHUBV2_API UserJourneySummary() = default;
32 AWS_RESILIENCEHUBV2_API UserJourneySummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API UserJourneySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetUserJourneyId() const { return m_userJourneyId; }
41 inline bool UserJourneyIdHasBeenSet() const { return m_userJourneyIdHasBeenSet; }
42 template <typename UserJourneyIdT = Aws::String>
43 void SetUserJourneyId(UserJourneyIdT&& value) {
44 m_userJourneyIdHasBeenSet = true;
45 m_userJourneyId = std::forward<UserJourneyIdT>(value);
46 }
47 template <typename UserJourneyIdT = Aws::String>
48 UserJourneySummary& WithUserJourneyId(UserJourneyIdT&& value) {
49 SetUserJourneyId(std::forward<UserJourneyIdT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
64 UserJourneySummary& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
77 void SetCreatedAt(CreatedAtT&& value) {
78 m_createdAtHasBeenSet = true;
79 m_createdAt = std::forward<CreatedAtT>(value);
80 }
81 template <typename CreatedAtT = Aws::Utils::DateTime>
82 UserJourneySummary& WithCreatedAt(CreatedAtT&& value) {
83 SetCreatedAt(std::forward<CreatedAtT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
93 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
94 template <typename UpdatedAtT = Aws::Utils::DateTime>
95 void SetUpdatedAt(UpdatedAtT&& value) {
96 m_updatedAtHasBeenSet = true;
97 m_updatedAt = std::forward<UpdatedAtT>(value);
98 }
99 template <typename UpdatedAtT = Aws::Utils::DateTime>
100 UserJourneySummary& WithUpdatedAt(UpdatedAtT&& value) {
101 SetUpdatedAt(std::forward<UpdatedAtT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_userJourneyId;
107
108 Aws::String m_name;
109
110 Aws::Utils::DateTime m_createdAt{};
111
112 Aws::Utils::DateTime m_updatedAt{};
113 bool m_userJourneyIdHasBeenSet = false;
114 bool m_nameHasBeenSet = false;
115 bool m_createdAtHasBeenSet = false;
116 bool m_updatedAtHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace resiliencehubv2
121} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UserJourneySummary & WithUserJourneyId(UserJourneyIdT &&value)
AWS_RESILIENCEHUBV2_API UserJourneySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API UserJourneySummary(Aws::Utils::Json::JsonView jsonValue)
UserJourneySummary & WithUpdatedAt(UpdatedAtT &&value)
UserJourneySummary & WithCreatedAt(CreatedAtT &&value)
AWS_RESILIENCEHUBV2_API UserJourneySummary()=default
UserJourneySummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue