AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPCONFIG_API ActionInvocation() = default;
36 AWS_APPCONFIG_API ActionInvocation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetExtensionIdentifier() const { return m_extensionIdentifier; }
46 inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; }
47 template<typename ExtensionIdentifierT = Aws::String>
48 void SetExtensionIdentifier(ExtensionIdentifierT&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::forward<ExtensionIdentifierT>(value); }
49 template<typename ExtensionIdentifierT = Aws::String>
50 ActionInvocation& WithExtensionIdentifier(ExtensionIdentifierT&& value) { SetExtensionIdentifier(std::forward<ExtensionIdentifierT>(value)); return *this;}
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) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
61 template<typename ActionNameT = Aws::String>
62 ActionInvocation& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
64
66
72 inline const Aws::String& GetUri() const { return m_uri; }
73 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
74 template<typename UriT = Aws::String>
75 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
76 template<typename UriT = Aws::String>
77 ActionInvocation& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
79
81
85 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
86 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
87 template<typename RoleArnT = Aws::String>
88 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
89 template<typename RoleArnT = Aws::String>
90 ActionInvocation& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
92
94
97 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
98 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
99 template<typename ErrorMessageT = Aws::String>
100 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
101 template<typename ErrorMessageT = Aws::String>
102 ActionInvocation& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
104
106
109 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
110 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
111 template<typename ErrorCodeT = Aws::String>
112 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
113 template<typename ErrorCodeT = Aws::String>
114 ActionInvocation& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
116
118
121 inline const Aws::String& GetInvocationId() const { return m_invocationId; }
122 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
123 template<typename InvocationIdT = Aws::String>
124 void SetInvocationId(InvocationIdT&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::forward<InvocationIdT>(value); }
125 template<typename InvocationIdT = Aws::String>
126 ActionInvocation& WithInvocationId(InvocationIdT&& value) { SetInvocationId(std::forward<InvocationIdT>(value)); return *this;}
128 private:
129
130 Aws::String m_extensionIdentifier;
131 bool m_extensionIdentifierHasBeenSet = false;
132
133 Aws::String m_actionName;
134 bool m_actionNameHasBeenSet = false;
135
136 Aws::String m_uri;
137 bool m_uriHasBeenSet = false;
138
139 Aws::String m_roleArn;
140 bool m_roleArnHasBeenSet = false;
141
142 Aws::String m_errorMessage;
143 bool m_errorMessageHasBeenSet = false;
144
145 Aws::String m_errorCode;
146 bool m_errorCodeHasBeenSet = false;
147
148 Aws::String m_invocationId;
149 bool m_invocationIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace AppConfig
154} // 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