AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsDbInstanceAssociatedRole.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
32 {
33 public:
34 AWS_SECURITYHUB_API AwsRdsDbInstanceAssociatedRole();
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
46 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
47 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
48 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
49 inline AwsRdsDbInstanceAssociatedRole& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
50 inline AwsRdsDbInstanceAssociatedRole& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
51 inline AwsRdsDbInstanceAssociatedRole& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
53
55
58 inline const Aws::String& GetFeatureName() const{ return m_featureName; }
59 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
60 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
61 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
62 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
63 inline AwsRdsDbInstanceAssociatedRole& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
64 inline AwsRdsDbInstanceAssociatedRole& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
65 inline AwsRdsDbInstanceAssociatedRole& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
67
69
80 inline const Aws::String& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
84 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
85 inline AwsRdsDbInstanceAssociatedRole& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
86 inline AwsRdsDbInstanceAssociatedRole& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
87 inline AwsRdsDbInstanceAssociatedRole& WithStatus(const char* value) { SetStatus(value); return *this;}
89 private:
90
91 Aws::String m_roleArn;
92 bool m_roleArnHasBeenSet = false;
93
94 Aws::String m_featureName;
95 bool m_featureNameHasBeenSet = false;
96
97 Aws::String m_status;
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SecurityHub
103} // namespace Aws
AwsRdsDbInstanceAssociatedRole & WithRoleArn(Aws::String &&value)
AwsRdsDbInstanceAssociatedRole & WithFeatureName(Aws::String &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceAssociatedRole & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceAssociatedRole & WithFeatureName(const char *value)
AWS_SECURITYHUB_API AwsRdsDbInstanceAssociatedRole(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceAssociatedRole & WithFeatureName(const Aws::String &value)
AwsRdsDbInstanceAssociatedRole & WithStatus(Aws::String &&value)
AwsRdsDbInstanceAssociatedRole & WithRoleArn(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbInstanceAssociatedRole & WithStatus(const Aws::String &value)
AwsRdsDbInstanceAssociatedRole & WithStatus(const char *value)
AwsRdsDbInstanceAssociatedRole & WithRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue