AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RoleArnT = Aws::String>
47 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
48 template<typename RoleArnT = Aws::String>
49 AwsRdsDbInstanceAssociatedRole& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetFeatureName() const { return m_featureName; }
57 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
58 template<typename FeatureNameT = Aws::String>
59 void SetFeatureName(FeatureNameT&& value) { m_featureNameHasBeenSet = true; m_featureName = std::forward<FeatureNameT>(value); }
60 template<typename FeatureNameT = Aws::String>
61 AwsRdsDbInstanceAssociatedRole& WithFeatureName(FeatureNameT&& value) { SetFeatureName(std::forward<FeatureNameT>(value)); return *this;}
63
65
76 inline const Aws::String& GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 template<typename StatusT = Aws::String>
79 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
80 template<typename StatusT = Aws::String>
81 AwsRdsDbInstanceAssociatedRole& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
83 private:
84
85 Aws::String m_roleArn;
86 bool m_roleArnHasBeenSet = false;
87
88 Aws::String m_featureName;
89 bool m_featureNameHasBeenSet = false;
90
91 Aws::String m_status;
92 bool m_statusHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SecurityHub
97} // namespace Aws
AwsRdsDbInstanceAssociatedRole & WithRoleArn(RoleArnT &&value)
AwsRdsDbInstanceAssociatedRole & WithFeatureName(FeatureNameT &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceAssociatedRole & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRdsDbInstanceAssociatedRole()=default
AWS_SECURITYHUB_API AwsRdsDbInstanceAssociatedRole(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceAssociatedRole & WithStatus(StatusT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue