AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
ResourceShareConfiguration.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace RAM {
17namespace Model {
18
25 public:
26 AWS_RAM_API ResourceShareConfiguration() = default;
30
32
36 inline bool GetRetainSharingOnAccountLeaveOrganization() const { return m_retainSharingOnAccountLeaveOrganization; }
37 inline bool RetainSharingOnAccountLeaveOrganizationHasBeenSet() const { return m_retainSharingOnAccountLeaveOrganizationHasBeenSet; }
39 m_retainSharingOnAccountLeaveOrganizationHasBeenSet = true;
40 m_retainSharingOnAccountLeaveOrganization = value;
41 }
44 return *this;
45 }
47 private:
48 bool m_retainSharingOnAccountLeaveOrganization{false};
49 bool m_retainSharingOnAccountLeaveOrganizationHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace RAM
54} // namespace Aws
AWS_RAM_API ResourceShareConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceShareConfiguration & WithRetainSharingOnAccountLeaveOrganization(bool value)
AWS_RAM_API ResourceShareConfiguration()=default
AWS_RAM_API ResourceShareConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue