AWS SDK for C++

AWS SDK for C++ Version 1.11.902

Loading...
Searching...
No Matches
IamPropertiesInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API IamPropertiesInput() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline bool GetGlueLineageSyncEnabled() const { return m_glueLineageSyncEnabled; }
40 inline bool GlueLineageSyncEnabledHasBeenSet() const { return m_glueLineageSyncEnabledHasBeenSet; }
41 inline void SetGlueLineageSyncEnabled(bool value) {
42 m_glueLineageSyncEnabledHasBeenSet = true;
43 m_glueLineageSyncEnabled = value;
44 }
47 return *this;
48 }
50
52
57 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
58 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
59 template <typename RoleArnT = Aws::String>
60 void SetRoleArn(RoleArnT&& value) {
61 m_roleArnHasBeenSet = true;
62 m_roleArn = std::forward<RoleArnT>(value);
63 }
64 template <typename RoleArnT = Aws::String>
65 IamPropertiesInput& WithRoleArn(RoleArnT&& value) {
66 SetRoleArn(std::forward<RoleArnT>(value));
67 return *this;
68 }
70 private:
71 bool m_glueLineageSyncEnabled{false};
72
73 Aws::String m_roleArn;
74 bool m_glueLineageSyncEnabledHasBeenSet = false;
75 bool m_roleArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DataZone
80} // namespace Aws
AWS_DATAZONE_API IamPropertiesInput()=default
IamPropertiesInput & WithGlueLineageSyncEnabled(bool value)
AWS_DATAZONE_API IamPropertiesInput(Aws::Utils::Json::JsonView jsonValue)
IamPropertiesInput & WithRoleArn(RoleArnT &&value)
AWS_DATAZONE_API IamPropertiesInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue