AWS SDK for C++

AWS SDK for C++ Version 1.11.786

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
28 public:
29 AWS_SECURITYAGENT_API MembershipConfig() = default;
30 AWS_SECURITYAGENT_API MembershipConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYAGENT_API MembershipConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const UserConfig& GetUser() const { return m_user; }
39 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
40 template <typename UserT = UserConfig>
41 void SetUser(UserT&& value) {
42 m_userHasBeenSet = true;
43 m_user = std::forward<UserT>(value);
44 }
45 template <typename UserT = UserConfig>
46 MembershipConfig& WithUser(UserT&& value) {
47 SetUser(std::forward<UserT>(value));
48 return *this;
49 }
51 private:
52 UserConfig m_user;
53 bool m_userHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace SecurityAgent
58} // 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