AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
AmazonQPropertiesInput.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 AmazonQPropertiesInput() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline bool GetIsEnabled() const { return m_isEnabled; }
39 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
40 inline void SetIsEnabled(bool value) {
41 m_isEnabledHasBeenSet = true;
42 m_isEnabled = value;
43 }
45 SetIsEnabled(value);
46 return *this;
47 }
49
51
54 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
55 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
56 template <typename ProfileArnT = Aws::String>
57 void SetProfileArn(ProfileArnT&& value) {
58 m_profileArnHasBeenSet = true;
59 m_profileArn = std::forward<ProfileArnT>(value);
60 }
61 template <typename ProfileArnT = Aws::String>
62 AmazonQPropertiesInput& WithProfileArn(ProfileArnT&& value) {
63 SetProfileArn(std::forward<ProfileArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetAuthMode() const { return m_authMode; }
73 inline bool AuthModeHasBeenSet() const { return m_authModeHasBeenSet; }
74 template <typename AuthModeT = Aws::String>
75 void SetAuthMode(AuthModeT&& value) {
76 m_authModeHasBeenSet = true;
77 m_authMode = std::forward<AuthModeT>(value);
78 }
79 template <typename AuthModeT = Aws::String>
81 SetAuthMode(std::forward<AuthModeT>(value));
82 return *this;
83 }
85 private:
86 bool m_isEnabled{false};
87
88 Aws::String m_profileArn;
89
90 Aws::String m_authMode;
91 bool m_isEnabledHasBeenSet = false;
92 bool m_profileArnHasBeenSet = false;
93 bool m_authModeHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace DataZone
98} // namespace Aws
AmazonQPropertiesInput & WithIsEnabled(bool value)
AWS_DATAZONE_API AmazonQPropertiesInput()=default
AWS_DATAZONE_API AmazonQPropertiesInput(Aws::Utils::Json::JsonView jsonValue)
AmazonQPropertiesInput & WithAuthMode(AuthModeT &&value)
AmazonQPropertiesInput & WithProfileArn(ProfileArnT &&value)
AWS_DATAZONE_API AmazonQPropertiesInput & 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