AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
UserJourneyChanges.h
1
6#pragma once
7#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
8#include <aws/resiliencehubv2/model/ServiceReferenceChanges.h>
9#include <aws/resiliencehubv2/model/StringChange.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
29 public:
30 AWS_RESILIENCEHUBV2_API UserJourneyChanges() = default;
31 AWS_RESILIENCEHUBV2_API UserJourneyChanges(Aws::Utils::Json::JsonView jsonValue);
32 AWS_RESILIENCEHUBV2_API UserJourneyChanges& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const StringChange& GetJourneyDescription() const { return m_journeyDescription; }
40 inline bool JourneyDescriptionHasBeenSet() const { return m_journeyDescriptionHasBeenSet; }
41 template <typename JourneyDescriptionT = StringChange>
42 void SetJourneyDescription(JourneyDescriptionT&& value) {
43 m_journeyDescriptionHasBeenSet = true;
44 m_journeyDescription = std::forward<JourneyDescriptionT>(value);
45 }
46 template <typename JourneyDescriptionT = StringChange>
47 UserJourneyChanges& WithJourneyDescription(JourneyDescriptionT&& value) {
48 SetJourneyDescription(std::forward<JourneyDescriptionT>(value));
49 return *this;
50 }
52
54
57 inline const ServiceReferenceChanges& GetAssociatedServices() const { return m_associatedServices; }
58 inline bool AssociatedServicesHasBeenSet() const { return m_associatedServicesHasBeenSet; }
59 template <typename AssociatedServicesT = ServiceReferenceChanges>
60 void SetAssociatedServices(AssociatedServicesT&& value) {
61 m_associatedServicesHasBeenSet = true;
62 m_associatedServices = std::forward<AssociatedServicesT>(value);
63 }
64 template <typename AssociatedServicesT = ServiceReferenceChanges>
65 UserJourneyChanges& WithAssociatedServices(AssociatedServicesT&& value) {
66 SetAssociatedServices(std::forward<AssociatedServicesT>(value));
67 return *this;
68 }
70 private:
71 StringChange m_journeyDescription;
72
73 ServiceReferenceChanges m_associatedServices;
74 bool m_journeyDescriptionHasBeenSet = false;
75 bool m_associatedServicesHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace resiliencehubv2
80} // namespace Aws
void SetJourneyDescription(JourneyDescriptionT &&value)
const ServiceReferenceChanges & GetAssociatedServices() const
UserJourneyChanges & WithJourneyDescription(JourneyDescriptionT &&value)
AWS_RESILIENCEHUBV2_API UserJourneyChanges()=default
UserJourneyChanges & WithAssociatedServices(AssociatedServicesT &&value)
AWS_RESILIENCEHUBV2_API UserJourneyChanges(Aws::Utils::Json::JsonView jsonValue)
void SetAssociatedServices(AssociatedServicesT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API UserJourneyChanges & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue