AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
UpdateUserJourneyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace resiliencehubv2 {
15namespace Model {
16
20 public:
21 AWS_RESILIENCEHUBV2_API UpdateUserJourneyRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserJourney"; }
28
29 AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetSystemArn() const { return m_systemArn; }
34 inline bool SystemArnHasBeenSet() const { return m_systemArnHasBeenSet; }
35 template <typename SystemArnT = Aws::String>
36 void SetSystemArn(SystemArnT&& value) {
37 m_systemArnHasBeenSet = true;
38 m_systemArn = std::forward<SystemArnT>(value);
39 }
40 template <typename SystemArnT = Aws::String>
42 SetSystemArn(std::forward<SystemArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetUserJourneyId() const { return m_userJourneyId; }
52 inline bool UserJourneyIdHasBeenSet() const { return m_userJourneyIdHasBeenSet; }
53 template <typename UserJourneyIdT = Aws::String>
54 void SetUserJourneyId(UserJourneyIdT&& value) {
55 m_userJourneyIdHasBeenSet = true;
56 m_userJourneyId = std::forward<UserJourneyIdT>(value);
57 }
58 template <typename UserJourneyIdT = Aws::String>
60 SetUserJourneyId(std::forward<UserJourneyIdT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetName() const { return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 template <typename NameT = Aws::String>
70 void SetName(NameT&& value) {
71 m_nameHasBeenSet = true;
72 m_name = std::forward<NameT>(value);
73 }
74 template <typename NameT = Aws::String>
76 SetName(std::forward<NameT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template <typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) {
87 m_descriptionHasBeenSet = true;
88 m_description = std::forward<DescriptionT>(value);
89 }
90 template <typename DescriptionT = Aws::String>
92 SetDescription(std::forward<DescriptionT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
100 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
101 template <typename PolicyArnT = Aws::String>
102 void SetPolicyArn(PolicyArnT&& value) {
103 m_policyArnHasBeenSet = true;
104 m_policyArn = std::forward<PolicyArnT>(value);
105 }
106 template <typename PolicyArnT = Aws::String>
108 SetPolicyArn(std::forward<PolicyArnT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_systemArn;
114
115 Aws::String m_userJourneyId;
116
117 Aws::String m_name;
118
119 Aws::String m_description;
120
121 Aws::String m_policyArn;
122 bool m_systemArnHasBeenSet = false;
123 bool m_userJourneyIdHasBeenSet = false;
124 bool m_nameHasBeenSet = false;
125 bool m_descriptionHasBeenSet = false;
126 bool m_policyArnHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace resiliencehubv2
131} // namespace Aws
AWS_RESILIENCEHUBV2_API UpdateUserJourneyRequest()=default
UpdateUserJourneyRequest & WithPolicyArn(PolicyArnT &&value)
UpdateUserJourneyRequest & WithUserJourneyId(UserJourneyIdT &&value)
UpdateUserJourneyRequest & WithSystemArn(SystemArnT &&value)
UpdateUserJourneyRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String