AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
MembershipConfig.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8#include <aws/securityagent/model/UserConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
29 public:
30 AWS_SECURITYAGENT_API MembershipConfig() = default;
31 AWS_SECURITYAGENT_API MembershipConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API MembershipConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const UserConfig& GetUser() const { return m_user; }
40 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
41 template <typename UserT = UserConfig>
42 void SetUser(UserT&& value) {
43 m_userHasBeenSet = true;
44 m_user = std::forward<UserT>(value);
45 }
46 template <typename UserT = UserConfig>
47 MembershipConfig& WithUser(UserT&& value) {
48 SetUser(std::forward<UserT>(value));
49 return *this;
50 }
52 private:
53 UserConfig m_user;
54 bool m_userHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SecurityAgent
59} // namespace Aws
AWS_SECURITYAGENT_API MembershipConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API MembershipConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
MembershipConfig & WithUser(UserT &&value)
AWS_SECURITYAGENT_API MembershipConfig()=default
Aws::Utils::Json::JsonValue JsonValue