AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionIdentifier.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_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 VerifiedPermissions
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_VERIFIEDPERMISSIONS_API ActionIdentifier();
43 AWS_VERIFIEDPERMISSIONS_API ActionIdentifier(Aws::Utils::Json::JsonView jsonValue);
44 AWS_VERIFIEDPERMISSIONS_API ActionIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetActionType() const{ return m_actionType; }
53 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
54 inline void SetActionType(const Aws::String& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
55 inline void SetActionType(Aws::String&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
56 inline void SetActionType(const char* value) { m_actionTypeHasBeenSet = true; m_actionType.assign(value); }
57 inline ActionIdentifier& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
58 inline ActionIdentifier& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
59 inline ActionIdentifier& WithActionType(const char* value) { SetActionType(value); return *this;}
61
63
66 inline const Aws::String& GetActionId() const{ return m_actionId; }
67 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
68 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
69 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
70 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
71 inline ActionIdentifier& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
72 inline ActionIdentifier& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
73 inline ActionIdentifier& WithActionId(const char* value) { SetActionId(value); return *this;}
75 private:
76
77 Aws::String m_actionType;
78 bool m_actionTypeHasBeenSet = false;
79
80 Aws::String m_actionId;
81 bool m_actionIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace VerifiedPermissions
86} // namespace Aws
ActionIdentifier & WithActionId(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionIdentifier & WithActionId(const char *value)
ActionIdentifier & WithActionId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API ActionIdentifier()
ActionIdentifier & WithActionType(const char *value)
AWS_VERIFIEDPERMISSIONS_API ActionIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionIdentifier & WithActionType(const Aws::String &value)
ActionIdentifier & WithActionType(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API ActionIdentifier(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue