AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
UserJourney.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 UserJourney() = default;
32 AWS_RESILIENCEHUBV2_API UserJourney(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API UserJourney& 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 UserJourney& 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 UserJourney& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
80 UserJourney& WithDescription(DescriptionT&& value) {
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
89 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
90 template <typename PolicyArnT = Aws::String>
91 void SetPolicyArn(PolicyArnT&& value) {
92 m_policyArnHasBeenSet = true;
93 m_policyArn = std::forward<PolicyArnT>(value);
94 }
95 template <typename PolicyArnT = Aws::String>
96 UserJourney& WithPolicyArn(PolicyArnT&& value) {
97 SetPolicyArn(std::forward<PolicyArnT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
108 template <typename CreatedAtT = Aws::Utils::DateTime>
109 void SetCreatedAt(CreatedAtT&& value) {
110 m_createdAtHasBeenSet = true;
111 m_createdAt = std::forward<CreatedAtT>(value);
112 }
113 template <typename CreatedAtT = Aws::Utils::DateTime>
114 UserJourney& WithCreatedAt(CreatedAtT&& value) {
115 SetCreatedAt(std::forward<CreatedAtT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
125 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
126 template <typename UpdatedAtT = Aws::Utils::DateTime>
127 void SetUpdatedAt(UpdatedAtT&& value) {
128 m_updatedAtHasBeenSet = true;
129 m_updatedAt = std::forward<UpdatedAtT>(value);
130 }
131 template <typename UpdatedAtT = Aws::Utils::DateTime>
132 UserJourney& WithUpdatedAt(UpdatedAtT&& value) {
133 SetUpdatedAt(std::forward<UpdatedAtT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_userJourneyId;
139
140 Aws::String m_name;
141
142 Aws::String m_description;
143
144 Aws::String m_policyArn;
145
146 Aws::Utils::DateTime m_createdAt{};
147
148 Aws::Utils::DateTime m_updatedAt{};
149 bool m_userJourneyIdHasBeenSet = false;
150 bool m_nameHasBeenSet = false;
151 bool m_descriptionHasBeenSet = false;
152 bool m_policyArnHasBeenSet = false;
153 bool m_createdAtHasBeenSet = false;
154 bool m_updatedAtHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace resiliencehubv2
159} // namespace Aws
void SetCreatedAt(CreatedAtT &&value)
void SetPolicyArn(PolicyArnT &&value)
Definition UserJourney.h:91
UserJourney & WithCreatedAt(CreatedAtT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetUserJourneyId() const
Definition UserJourney.h:40
const Aws::String & GetPolicyArn() const
Definition UserJourney.h:88
AWS_RESILIENCEHUBV2_API UserJourney(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition UserJourney.h:56
UserJourney & WithUpdatedAt(UpdatedAtT &&value)
AWS_RESILIENCEHUBV2_API UserJourney()=default
const Aws::String & GetDescription() const
Definition UserJourney.h:72
UserJourney & WithUserJourneyId(UserJourneyIdT &&value)
Definition UserJourney.h:48
void SetUserJourneyId(UserJourneyIdT &&value)
Definition UserJourney.h:43
UserJourney & WithDescription(DescriptionT &&value)
Definition UserJourney.h:80
void SetUpdatedAt(UpdatedAtT &&value)
AWS_RESILIENCEHUBV2_API UserJourney & operator=(Aws::Utils::Json::JsonView jsonValue)
UserJourney & WithName(NameT &&value)
Definition UserJourney.h:64
void SetDescription(DescriptionT &&value)
Definition UserJourney.h:75
UserJourney & WithPolicyArn(PolicyArnT &&value)
Definition UserJourney.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue