AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsAmazonMqBrokerUsersDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsAmazonMqBrokerUsersDetails();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPendingChange() const{ return m_pendingChange; }
46 inline bool PendingChangeHasBeenSet() const { return m_pendingChangeHasBeenSet; }
47 inline void SetPendingChange(const Aws::String& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = value; }
48 inline void SetPendingChange(Aws::String&& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = std::move(value); }
49 inline void SetPendingChange(const char* value) { m_pendingChangeHasBeenSet = true; m_pendingChange.assign(value); }
50 inline AwsAmazonMqBrokerUsersDetails& WithPendingChange(const Aws::String& value) { SetPendingChange(value); return *this;}
51 inline AwsAmazonMqBrokerUsersDetails& WithPendingChange(Aws::String&& value) { SetPendingChange(std::move(value)); return *this;}
52 inline AwsAmazonMqBrokerUsersDetails& WithPendingChange(const char* value) { SetPendingChange(value); return *this;}
54
56
59 inline const Aws::String& GetUsername() const{ return m_username; }
60 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
61 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
62 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
63 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
64 inline AwsAmazonMqBrokerUsersDetails& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
65 inline AwsAmazonMqBrokerUsersDetails& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
66 inline AwsAmazonMqBrokerUsersDetails& WithUsername(const char* value) { SetUsername(value); return *this;}
68 private:
69
70 Aws::String m_pendingChange;
71 bool m_pendingChangeHasBeenSet = false;
72
73 Aws::String m_username;
74 bool m_usernameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
AWS_SECURITYHUB_API AwsAmazonMqBrokerUsersDetails(Aws::Utils::Json::JsonView jsonValue)
AwsAmazonMqBrokerUsersDetails & WithPendingChange(const char *value)
AwsAmazonMqBrokerUsersDetails & WithUsername(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsAmazonMqBrokerUsersDetails & WithPendingChange(Aws::String &&value)
AWS_SECURITYHUB_API AwsAmazonMqBrokerUsersDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsAmazonMqBrokerUsersDetails & WithUsername(const Aws::String &value)
AwsAmazonMqBrokerUsersDetails & WithPendingChange(const Aws::String &value)
AwsAmazonMqBrokerUsersDetails & WithUsername(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue