AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
AssociatedSystem.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 AssociatedSystem() = default;
31 AWS_RESILIENCEHUBV2_API AssociatedSystem(Aws::Utils::Json::JsonView jsonValue);
32 AWS_RESILIENCEHUBV2_API AssociatedSystem& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetSystemArn() const { return m_systemArn; }
38 inline bool SystemArnHasBeenSet() const { return m_systemArnHasBeenSet; }
39 template <typename SystemArnT = Aws::String>
40 void SetSystemArn(SystemArnT&& value) {
41 m_systemArnHasBeenSet = true;
42 m_systemArn = std::forward<SystemArnT>(value);
43 }
44 template <typename SystemArnT = Aws::String>
45 AssociatedSystem& WithSystemArn(SystemArnT&& value) {
46 SetSystemArn(std::forward<SystemArnT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetSystemName() const { return m_systemName; }
54 inline bool SystemNameHasBeenSet() const { return m_systemNameHasBeenSet; }
55 template <typename SystemNameT = Aws::String>
56 void SetSystemName(SystemNameT&& value) {
57 m_systemNameHasBeenSet = true;
58 m_systemName = std::forward<SystemNameT>(value);
59 }
60 template <typename SystemNameT = Aws::String>
61 AssociatedSystem& WithSystemName(SystemNameT&& value) {
62 SetSystemName(std::forward<SystemNameT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::Vector<Aws::String>& GetUserJourneyIds() const { return m_userJourneyIds; }
73 inline bool UserJourneyIdsHasBeenSet() const { return m_userJourneyIdsHasBeenSet; }
74 template <typename UserJourneyIdsT = Aws::Vector<Aws::String>>
75 void SetUserJourneyIds(UserJourneyIdsT&& value) {
76 m_userJourneyIdsHasBeenSet = true;
77 m_userJourneyIds = std::forward<UserJourneyIdsT>(value);
78 }
79 template <typename UserJourneyIdsT = Aws::Vector<Aws::String>>
80 AssociatedSystem& WithUserJourneyIds(UserJourneyIdsT&& value) {
81 SetUserJourneyIds(std::forward<UserJourneyIdsT>(value));
82 return *this;
83 }
84 template <typename UserJourneyIdsT = Aws::String>
85 AssociatedSystem& AddUserJourneyIds(UserJourneyIdsT&& value) {
86 m_userJourneyIdsHasBeenSet = true;
87 m_userJourneyIds.emplace_back(std::forward<UserJourneyIdsT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_systemArn;
93
94 Aws::String m_systemName;
95
96 Aws::Vector<Aws::String> m_userJourneyIds;
97 bool m_systemArnHasBeenSet = false;
98 bool m_systemNameHasBeenSet = false;
99 bool m_userJourneyIdsHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace resiliencehubv2
104} // namespace Aws
AssociatedSystem & WithSystemName(SystemNameT &&value)
AWS_RESILIENCEHUBV2_API AssociatedSystem()=default
const Aws::Vector< Aws::String > & GetUserJourneyIds() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserJourneyIds(UserJourneyIdsT &&value)
AWS_RESILIENCEHUBV2_API AssociatedSystem & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociatedSystem & AddUserJourneyIds(UserJourneyIdsT &&value)
AssociatedSystem & WithSystemArn(SystemArnT &&value)
AWS_RESILIENCEHUBV2_API AssociatedSystem(Aws::Utils::Json::JsonView jsonValue)
AssociatedSystem & WithUserJourneyIds(UserJourneyIdsT &&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