AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ActionInvocation.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppConfig {
20namespace Model {
21
29 public:
30 AWS_APPCONFIG_API ActionInvocation() = default;
31 AWS_APPCONFIG_API ActionInvocation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetExtensionIdentifier() const { return m_extensionIdentifier; }
40 inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; }
41 template <typename ExtensionIdentifierT = Aws::String>
42 void SetExtensionIdentifier(ExtensionIdentifierT&& value) {
43 m_extensionIdentifierHasBeenSet = true;
44 m_extensionIdentifier = std::forward<ExtensionIdentifierT>(value);
45 }
46 template <typename ExtensionIdentifierT = Aws::String>
47 ActionInvocation& WithExtensionIdentifier(ExtensionIdentifierT&& value) {
48 SetExtensionIdentifier(std::forward<ExtensionIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetActionName() const { return m_actionName; }
58 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
59 template <typename ActionNameT = Aws::String>
60 void SetActionName(ActionNameT&& value) {
61 m_actionNameHasBeenSet = true;
62 m_actionName = std::forward<ActionNameT>(value);
63 }
64 template <typename ActionNameT = Aws::String>
65 ActionInvocation& WithActionName(ActionNameT&& value) {
66 SetActionName(std::forward<ActionNameT>(value));
67 return *this;
68 }
70
72
78 inline const Aws::String& GetUri() const { return m_uri; }
79 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
80 template <typename UriT = Aws::String>
81 void SetUri(UriT&& value) {
82 m_uriHasBeenSet = true;
83 m_uri = std::forward<UriT>(value);
84 }
85 template <typename UriT = Aws::String>
86 ActionInvocation& WithUri(UriT&& value) {
87 SetUri(std::forward<UriT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
98 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
99 template <typename RoleArnT = Aws::String>
100 void SetRoleArn(RoleArnT&& value) {
101 m_roleArnHasBeenSet = true;
102 m_roleArn = std::forward<RoleArnT>(value);
103 }
104 template <typename RoleArnT = Aws::String>
105 ActionInvocation& WithRoleArn(RoleArnT&& value) {
106 SetRoleArn(std::forward<RoleArnT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
116 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
117 template <typename ErrorMessageT = Aws::String>
118 void SetErrorMessage(ErrorMessageT&& value) {
119 m_errorMessageHasBeenSet = true;
120 m_errorMessage = std::forward<ErrorMessageT>(value);
121 }
122 template <typename ErrorMessageT = Aws::String>
123 ActionInvocation& WithErrorMessage(ErrorMessageT&& value) {
124 SetErrorMessage(std::forward<ErrorMessageT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
134 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
135 template <typename ErrorCodeT = Aws::String>
136 void SetErrorCode(ErrorCodeT&& value) {
137 m_errorCodeHasBeenSet = true;
138 m_errorCode = std::forward<ErrorCodeT>(value);
139 }
140 template <typename ErrorCodeT = Aws::String>
141 ActionInvocation& WithErrorCode(ErrorCodeT&& value) {
142 SetErrorCode(std::forward<ErrorCodeT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetInvocationId() const { return m_invocationId; }
152 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
153 template <typename InvocationIdT = Aws::String>
154 void SetInvocationId(InvocationIdT&& value) {
155 m_invocationIdHasBeenSet = true;
156 m_invocationId = std::forward<InvocationIdT>(value);
157 }
158 template <typename InvocationIdT = Aws::String>
159 ActionInvocation& WithInvocationId(InvocationIdT&& value) {
160 SetInvocationId(std::forward<InvocationIdT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_extensionIdentifier;
166
167 Aws::String m_actionName;
168
169 Aws::String m_uri;
170
171 Aws::String m_roleArn;
172
173 Aws::String m_errorMessage;
174
175 Aws::String m_errorCode;
176
177 Aws::String m_invocationId;
178 bool m_extensionIdentifierHasBeenSet = false;
179 bool m_actionNameHasBeenSet = false;
180 bool m_uriHasBeenSet = false;
181 bool m_roleArnHasBeenSet = false;
182 bool m_errorMessageHasBeenSet = false;
183 bool m_errorCodeHasBeenSet = false;
184 bool m_invocationIdHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace AppConfig
189} // namespace Aws
AWS_APPCONFIG_API ActionInvocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API ActionInvocation(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetExtensionIdentifier() const
ActionInvocation & WithUri(UriT &&value)
void SetActionName(ActionNameT &&value)
void SetExtensionIdentifier(ExtensionIdentifierT &&value)
ActionInvocation & WithActionName(ActionNameT &&value)
const Aws::String & GetInvocationId() const
ActionInvocation & WithErrorCode(ErrorCodeT &&value)
ActionInvocation & WithErrorMessage(ErrorMessageT &&value)
ActionInvocation & WithInvocationId(InvocationIdT &&value)
const Aws::String & GetErrorMessage() const
ActionInvocation & WithRoleArn(RoleArnT &&value)
const Aws::String & GetActionName() const
AWS_APPCONFIG_API ActionInvocation()=default
const Aws::String & GetErrorCode() const
ActionInvocation & WithExtensionIdentifier(ExtensionIdentifierT &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInvocationId(InvocationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue