AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InviteAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ManagedBlockchain {
20namespace Model {
21
31 public:
32 AWS_MANAGEDBLOCKCHAIN_API InviteAction() = default;
33 AWS_MANAGEDBLOCKCHAIN_API InviteAction(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MANAGEDBLOCKCHAIN_API InviteAction& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetPrincipal() const { return m_principal; }
42 inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; }
43 template <typename PrincipalT = Aws::String>
44 void SetPrincipal(PrincipalT&& value) {
45 m_principalHasBeenSet = true;
46 m_principal = std::forward<PrincipalT>(value);
47 }
48 template <typename PrincipalT = Aws::String>
49 InviteAction& WithPrincipal(PrincipalT&& value) {
50 SetPrincipal(std::forward<PrincipalT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_principal;
56 bool m_principalHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ManagedBlockchain
61} // namespace Aws
const Aws::String & GetPrincipal() const
InviteAction & WithPrincipal(PrincipalT &&value)
AWS_MANAGEDBLOCKCHAIN_API InviteAction(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API InviteAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAIN_API InviteAction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue