AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
SystemServiceAssociatedMetadata.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
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 SystemServiceAssociatedMetadata() = default;
33 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetServiceName() const { return m_serviceName; }
40 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
41 template <typename ServiceNameT = Aws::String>
42 void SetServiceName(ServiceNameT&& value) {
43 m_serviceNameHasBeenSet = true;
44 m_serviceName = std::forward<ServiceNameT>(value);
45 }
46 template <typename ServiceNameT = Aws::String>
48 SetServiceName(std::forward<ServiceNameT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
56 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
57 template <typename ServiceArnT = Aws::String>
58 void SetServiceArn(ServiceArnT&& value) {
59 m_serviceArnHasBeenSet = true;
60 m_serviceArn = std::forward<ServiceArnT>(value);
61 }
62 template <typename ServiceArnT = Aws::String>
64 SetServiceArn(std::forward<ServiceArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::Vector<Aws::String>& GetUserJourneys() const { return m_userJourneys; }
74 inline bool UserJourneysHasBeenSet() const { return m_userJourneysHasBeenSet; }
75 template <typename UserJourneysT = Aws::Vector<Aws::String>>
76 void SetUserJourneys(UserJourneysT&& value) {
77 m_userJourneysHasBeenSet = true;
78 m_userJourneys = std::forward<UserJourneysT>(value);
79 }
80 template <typename UserJourneysT = Aws::Vector<Aws::String>>
82 SetUserJourneys(std::forward<UserJourneysT>(value));
83 return *this;
84 }
85 template <typename UserJourneysT = Aws::String>
87 m_userJourneysHasBeenSet = true;
88 m_userJourneys.emplace_back(std::forward<UserJourneysT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_serviceName;
94
95 Aws::String m_serviceArn;
96
97 Aws::Vector<Aws::String> m_userJourneys;
98 bool m_serviceNameHasBeenSet = false;
99 bool m_serviceArnHasBeenSet = false;
100 bool m_userJourneysHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace resiliencehubv2
105} // namespace Aws
SystemServiceAssociatedMetadata & AddUserJourneys(UserJourneysT &&value)
AWS_RESILIENCEHUBV2_API SystemServiceAssociatedMetadata()=default
AWS_RESILIENCEHUBV2_API SystemServiceAssociatedMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
SystemServiceAssociatedMetadata & WithServiceName(ServiceNameT &&value)
AWS_RESILIENCEHUBV2_API SystemServiceAssociatedMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemServiceAssociatedMetadata & WithUserJourneys(UserJourneysT &&value)
SystemServiceAssociatedMetadata & WithServiceArn(ServiceArnT &&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