AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
SystemUserJourneyCreatedMetadata.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 SystemUserJourneyCreatedMetadata() = 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>& GetAssociatedServices() const { return m_associatedServices; }
60 inline bool AssociatedServicesHasBeenSet() const { return m_associatedServicesHasBeenSet; }
61 template <typename AssociatedServicesT = Aws::Vector<ServiceReference>>
62 void SetAssociatedServices(AssociatedServicesT&& value) {
63 m_associatedServicesHasBeenSet = true;
64 m_associatedServices = std::forward<AssociatedServicesT>(value);
65 }
66 template <typename AssociatedServicesT = Aws::Vector<ServiceReference>>
68 SetAssociatedServices(std::forward<AssociatedServicesT>(value));
69 return *this;
70 }
71 template <typename AssociatedServicesT = ServiceReference>
73 m_associatedServicesHasBeenSet = true;
74 m_associatedServices.emplace_back(std::forward<AssociatedServicesT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_userJourneyName;
80
81 Aws::Vector<ServiceReference> m_associatedServices;
82 bool m_userJourneyNameHasBeenSet = false;
83 bool m_associatedServicesHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace resiliencehubv2
88} // namespace Aws
SystemUserJourneyCreatedMetadata & WithUserJourneyName(UserJourneyNameT &&value)
SystemUserJourneyCreatedMetadata & WithAssociatedServices(AssociatedServicesT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API SystemUserJourneyCreatedMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API SystemUserJourneyCreatedMetadata()=default
AWS_RESILIENCEHUBV2_API SystemUserJourneyCreatedMetadata(Aws::Utils::Json::JsonView jsonValue)
SystemUserJourneyCreatedMetadata & AddAssociatedServices(AssociatedServicesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue