AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExtensionIdentifier(const Aws::String& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = value; }
48 inline void SetExtensionIdentifier(Aws::String&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::move(value); }
49 inline void SetExtensionIdentifier(const char* value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier.assign(value); }
50 inline ActionInvocation& WithExtensionIdentifier(const Aws::String& value) { SetExtensionIdentifier(value); return *this;}
51 inline ActionInvocation& WithExtensionIdentifier(Aws::String&& value) { SetExtensionIdentifier(std::move(value)); return *this;}
52 inline ActionInvocation& WithExtensionIdentifier(const char* value) { SetExtensionIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetActionName() const{ return m_actionName; }
60 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
61 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
62 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
63 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
64 inline ActionInvocation& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
65 inline ActionInvocation& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
66 inline ActionInvocation& WithActionName(const char* value) { SetActionName(value); return *this;}
68
70
76 inline const Aws::String& GetUri() const{ return m_uri; }
77 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
78 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
79 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
80 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
81 inline ActionInvocation& WithUri(const Aws::String& value) { SetUri(value); return *this;}
82 inline ActionInvocation& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
83 inline ActionInvocation& WithUri(const char* value) { SetUri(value); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
94 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
95 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
96 inline ActionInvocation& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
97 inline ActionInvocation& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
98 inline ActionInvocation& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
100
102
105 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
106 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
107 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
108 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
109 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
110 inline ActionInvocation& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
111 inline ActionInvocation& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
112 inline ActionInvocation& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
114
116
119 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
120 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
121 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
122 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
123 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
124 inline ActionInvocation& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
125 inline ActionInvocation& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
126 inline ActionInvocation& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
128
130
133 inline const Aws::String& GetInvocationId() const{ return m_invocationId; }
134 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
135 inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; }
136 inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); }
137 inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); }
138 inline ActionInvocation& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;}
139 inline ActionInvocation& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;}
140 inline ActionInvocation& WithInvocationId(const char* value) { SetInvocationId(value); return *this;}
142 private:
143
144 Aws::String m_extensionIdentifier;
145 bool m_extensionIdentifierHasBeenSet = false;
146
147 Aws::String m_actionName;
148 bool m_actionNameHasBeenSet = false;
149
150 Aws::String m_uri;
151 bool m_uriHasBeenSet = false;
152
153 Aws::String m_roleArn;
154 bool m_roleArnHasBeenSet = false;
155
156 Aws::String m_errorMessage;
157 bool m_errorMessageHasBeenSet = false;
158
159 Aws::String m_errorCode;
160 bool m_errorCodeHasBeenSet = false;
161
162 Aws::String m_invocationId;
163 bool m_invocationIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace AppConfig
168} // namespace Aws
ActionInvocation & WithUri(const char *value)
ActionInvocation & WithInvocationId(const Aws::String &value)
AWS_APPCONFIG_API ActionInvocation & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionInvocation & WithRoleArn(const Aws::String &value)
ActionInvocation & WithErrorCode(Aws::String &&value)
ActionInvocation & WithActionName(const Aws::String &value)
ActionInvocation & WithUri(Aws::String &&value)
AWS_APPCONFIG_API ActionInvocation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetExtensionIdentifier() const
void SetExtensionIdentifier(const Aws::String &value)
void SetExtensionIdentifier(const char *value)
void SetInvocationId(const Aws::String &value)
void SetInvocationId(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
ActionInvocation & WithExtensionIdentifier(Aws::String &&value)
ActionInvocation & WithActionName(Aws::String &&value)
void SetErrorCode(const Aws::String &value)
ActionInvocation & WithInvocationId(Aws::String &&value)
ActionInvocation & WithExtensionIdentifier(const char *value)
ActionInvocation & WithRoleArn(const char *value)
ActionInvocation & WithErrorCode(const Aws::String &value)
ActionInvocation & WithRoleArn(Aws::String &&value)
ActionInvocation & WithActionName(const char *value)
ActionInvocation & WithUri(const Aws::String &value)
ActionInvocation & WithErrorCode(const char *value)
const Aws::String & GetInvocationId() const
void SetUri(const Aws::String &value)
void SetExtensionIdentifier(Aws::String &&value)
ActionInvocation & WithExtensionIdentifier(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
void SetActionName(const Aws::String &value)
ActionInvocation & WithInvocationId(const char *value)
ActionInvocation & WithErrorMessage(const Aws::String &value)
ActionInvocation & WithErrorMessage(Aws::String &&value)
const Aws::String & GetActionName() const
void SetActionName(Aws::String &&value)
ActionInvocation & WithErrorMessage(const char *value)
const Aws::String & GetErrorCode() const
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue