AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
SystemUserJourneyDeletedMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/ServiceReference.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace resiliencehubv2 {
22namespace Model {
23
31 public:
32 AWS_RESILIENCEHUBV2_API SystemUserJourneyDeletedMetadata() = default;
35 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetUserJourneyName() const { return m_userJourneyName; }
42 inline bool UserJourneyNameHasBeenSet() const { return m_userJourneyNameHasBeenSet; }
43 template <typename UserJourneyNameT = Aws::String>
44 void SetUserJourneyName(UserJourneyNameT&& value) {
45 m_userJourneyNameHasBeenSet = true;
46 m_userJourneyName = std::forward<UserJourneyNameT>(value);
47 }
48 template <typename UserJourneyNameT = Aws::String>
50 SetUserJourneyName(std::forward<UserJourneyNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<ServiceReference>& GetAssociatedServicesAtDeletion() const { return m_associatedServicesAtDeletion; }
60 inline bool AssociatedServicesAtDeletionHasBeenSet() const { return m_associatedServicesAtDeletionHasBeenSet; }
61 template <typename AssociatedServicesAtDeletionT = Aws::Vector<ServiceReference>>
62 void SetAssociatedServicesAtDeletion(AssociatedServicesAtDeletionT&& value) {
63 m_associatedServicesAtDeletionHasBeenSet = true;
64 m_associatedServicesAtDeletion = std::forward<AssociatedServicesAtDeletionT>(value);
65 }
66 template <typename AssociatedServicesAtDeletionT = Aws::Vector<ServiceReference>>
68 SetAssociatedServicesAtDeletion(std::forward<AssociatedServicesAtDeletionT>(value));
69 return *this;
70 }
71 template <typename AssociatedServicesAtDeletionT = ServiceReference>
72 SystemUserJourneyDeletedMetadata& AddAssociatedServicesAtDeletion(AssociatedServicesAtDeletionT&& value) {
73 m_associatedServicesAtDeletionHasBeenSet = true;
74 m_associatedServicesAtDeletion.emplace_back(std::forward<AssociatedServicesAtDeletionT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_userJourneyName;
80
81 Aws::Vector<ServiceReference> m_associatedServicesAtDeletion;
82 bool m_userJourneyNameHasBeenSet = false;
83 bool m_associatedServicesAtDeletionHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace resiliencehubv2
88} // namespace Aws
SystemUserJourneyDeletedMetadata & WithUserJourneyName(UserJourneyNameT &&value)
AWS_RESILIENCEHUBV2_API SystemUserJourneyDeletedMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemUserJourneyDeletedMetadata & AddAssociatedServicesAtDeletion(AssociatedServicesAtDeletionT &&value)
SystemUserJourneyDeletedMetadata & WithAssociatedServicesAtDeletion(AssociatedServicesAtDeletionT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ServiceReference > & GetAssociatedServicesAtDeletion() const
AWS_RESILIENCEHUBV2_API SystemUserJourneyDeletedMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API SystemUserJourneyDeletedMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue