AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
CreateUserJourneyRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace resiliencehubv2 {
16namespace Model {
17
21 public:
22 AWS_RESILIENCEHUBV2_API CreateUserJourneyRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateUserJourney"; }
29
30 AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override;
31
33
34 inline const Aws::String& GetSystemArn() const { return m_systemArn; }
35 inline bool SystemArnHasBeenSet() const { return m_systemArnHasBeenSet; }
36 template <typename SystemArnT = Aws::String>
37 void SetSystemArn(SystemArnT&& value) {
38 m_systemArnHasBeenSet = true;
39 m_systemArn = std::forward<SystemArnT>(value);
40 }
41 template <typename SystemArnT = Aws::String>
43 SetSystemArn(std::forward<SystemArnT>(value));
44 return *this;
45 }
47
49
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template <typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) {
70 m_descriptionHasBeenSet = true;
71 m_description = std::forward<DescriptionT>(value);
72 }
73 template <typename DescriptionT = Aws::String>
75 SetDescription(std::forward<DescriptionT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
83 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
84 template <typename PolicyArnT = Aws::String>
85 void SetPolicyArn(PolicyArnT&& value) {
86 m_policyArnHasBeenSet = true;
87 m_policyArn = std::forward<PolicyArnT>(value);
88 }
89 template <typename PolicyArnT = Aws::String>
91 SetPolicyArn(std::forward<PolicyArnT>(value));
92 return *this;
93 }
95
97
98 inline const Aws::String& GetClientToken() const { return m_clientToken; }
99 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
100 template <typename ClientTokenT = Aws::String>
101 void SetClientToken(ClientTokenT&& value) {
102 m_clientTokenHasBeenSet = true;
103 m_clientToken = std::forward<ClientTokenT>(value);
104 }
105 template <typename ClientTokenT = Aws::String>
107 SetClientToken(std::forward<ClientTokenT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_systemArn;
113
114 Aws::String m_name;
115
116 Aws::String m_description;
117
118 Aws::String m_policyArn;
119
121 bool m_systemArnHasBeenSet = false;
122 bool m_nameHasBeenSet = false;
123 bool m_descriptionHasBeenSet = false;
124 bool m_policyArnHasBeenSet = false;
125 bool m_clientTokenHasBeenSet = true;
126};
127
128} // namespace Model
129} // namespace resiliencehubv2
130} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
virtual const char * GetServiceRequestName() const override
CreateUserJourneyRequest & WithPolicyArn(PolicyArnT &&value)
CreateUserJourneyRequest & WithSystemArn(SystemArnT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUBV2_API CreateUserJourneyRequest()=default
CreateUserJourneyRequest & WithClientToken(ClientTokenT &&value)
CreateUserJourneyRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String