AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRedshiftClusterIamRole.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 AwsRedshiftClusterIamRole() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetApplyStatus() const { return m_applyStatus; }
47 inline bool ApplyStatusHasBeenSet() const { return m_applyStatusHasBeenSet; }
48 template<typename ApplyStatusT = Aws::String>
49 void SetApplyStatus(ApplyStatusT&& value) { m_applyStatusHasBeenSet = true; m_applyStatus = std::forward<ApplyStatusT>(value); }
50 template<typename ApplyStatusT = Aws::String>
51 AwsRedshiftClusterIamRole& WithApplyStatus(ApplyStatusT&& value) { SetApplyStatus(std::forward<ApplyStatusT>(value)); return *this;}
53
55
58 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
59 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
60 template<typename IamRoleArnT = Aws::String>
61 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
62 template<typename IamRoleArnT = Aws::String>
63 AwsRedshiftClusterIamRole& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
65 private:
66
67 Aws::String m_applyStatus;
68 bool m_applyStatusHasBeenSet = false;
69
70 Aws::String m_iamRoleArn;
71 bool m_iamRoleArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SecurityHub
76} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRedshiftClusterIamRole()=default
AwsRedshiftClusterIamRole & WithIamRoleArn(IamRoleArnT &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterIamRole(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterIamRole & WithApplyStatus(ApplyStatusT &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterIamRole & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue