AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsRedshiftClusterIamRole.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsRedshiftClusterIamRole() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetApplyStatus() const { return m_applyStatus; }
41 inline bool ApplyStatusHasBeenSet() const { return m_applyStatusHasBeenSet; }
42 template <typename ApplyStatusT = Aws::String>
43 void SetApplyStatus(ApplyStatusT&& value) {
44 m_applyStatusHasBeenSet = true;
45 m_applyStatus = std::forward<ApplyStatusT>(value);
46 }
47 template <typename ApplyStatusT = Aws::String>
49 SetApplyStatus(std::forward<ApplyStatusT>(value));
50 return *this;
51 }
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) {
62 m_iamRoleArnHasBeenSet = true;
63 m_iamRoleArn = std::forward<IamRoleArnT>(value);
64 }
65 template <typename IamRoleArnT = Aws::String>
67 SetIamRoleArn(std::forward<IamRoleArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_applyStatus;
73
74 Aws::String m_iamRoleArn;
75 bool m_applyStatusHasBeenSet = false;
76 bool m_iamRoleArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SecurityHub
81} // 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